diff --git a/docs/help.txt b/docs/help.txt index 6a117403..3bbc7994 100644 --- a/docs/help.txt +++ b/docs/help.txt @@ -1,4 +1,4 @@ - MUCK Reference Manual for Muck2.2fb7.10 + MUCK Reference Manual for Muck2.2fb7.21 by Revar Desmera You may get a listing of topics that you can get help on, either sorted diff --git a/docs/man.txt b/docs/man.txt index e1af13fd..fd81eb90 100644 --- a/docs/man.txt +++ b/docs/man.txt @@ -1,4 +1,4 @@ - MUF Reference Manual for Muck2.2fb7.10 + MUF Reference Manual for Muck2.2fb7.21 by Revar Desmera You may get a listing of topics that you can get help on, either sorted @@ -5015,7 +5015,10 @@ NEWROOM NEWROOM (d s -- d) Takes the dbref of the parent and the name of the room. It returns the -dbref of the created room. Owner is the person running the program. +dbref of the created room. Owner is the person running the program. If d is +#-1, then it becomes the first ABODE room down the environment tree from +the current room, or the default room parent. + Can only create one object per program run, if under Mucker Level 3. ~ ~ diff --git a/docs/mpihelp.txt b/docs/mpihelp.txt index 110e6bc9..db19da95 100644 --- a/docs/mpihelp.txt +++ b/docs/mpihelp.txt @@ -1,4 +1,4 @@ - MPI Reference Manual for Muck2.2fb7.10 + MPI Reference Manual for Muck2.2fb7.21 by Revar Desmera You may get a listing of topics that you can get help on, either sorted diff --git a/docs/mufman.html b/docs/mufman.html index 92c8e1f2..9416f54e 100644 --- a/docs/mufman.html +++ b/docs/mufman.html @@ -7950,7 +7950,10 @@

NEWROOM (d s -- d)

Takes the dbref of the parent and the name of the room. It returns the -dbref of the created room. Owner is the person running the program. +dbref of the created room. Owner is the person running the program. If d is +#-1, then it becomes the first ABODE room down the environment tree from +the current room, or the default room parent. + Can only create one object per program run, if under Mucker Level 3. diff --git a/src/p_db.c b/src/p_db.c index f230d535..a7864210 100644 --- a/src/p_db.c +++ b/src/p_db.c @@ -2525,8 +2525,8 @@ prim_findnext(PRIM_PROTOTYPE) abort_interp("Expected string argument. (3)"); } - if (!valid_player(oper2)) { - abort_interp("Expected player argument. (2)"); + if (oper2->data.objref != NOTHING && !valid_player(oper2)) { + abort_interp("Expected player argument or #-1. (2)"); } if (!valid_object(oper1) && oper1->data.objref != NOTHING) {