|
Once mobs and objects has been created, they must be set as resets in a room, so the mud
knows where to load them. To set any resets, the builder must be in redit mode.
Resetting MobilesSyntax: mreset [vnum] [max]This command will set ONE reset of the given mob to the room, the argument given after the vnum is the maximum amount of mobs of that vnum that can exists in this area at any given time. You should always set the same maximum value each time you reset the same mob (all mobs with vnum 4001 should have the same max argument). So if you have 10 resets with the mob of vnum 4001, and you have set the max to 8, then the mud will pop the 8 first resets at boot, and only start popping the other resets when some of the mobs have died. |
This command will add the object with the given vnum to the list of resets in the room being edited. Depending on the addition arguments given, the item will either pop on a mob, in the room or in a container.
Syntax: oreset [vnum] [name of mob] [wear location]
To set an object reset on a mob, the mob must actually be in the room when you set the reset (because the object will also be loaded an put on the mob to test the reset when you set it). Also, you must make sure that the mob you want the item to pop on, is the previous reset in the room (anoying, but I'm sure you'll learn to live with it).
To get a list of valid wear locations, simple type '? wear-loc'. An example of popping an item would be 'oreset 4001 troll none' which would set object 4001 as a reset on a troll, going to the inventory.
Syntax: oreset [vnum]
This is the simplest form of object popping, and doesn't require any additional work, simple type 'oreset 4001' to set object 4001 as a reset in the room currently being edited.
Syntax: oreset [vnum] [name of container]
Again you must make sure the container is actually already loaded into the room before setting this reset, and you must also make sure that the container is the previous reset in this room, or the reset will fail.
Resets: M = mobile, R = room, O = object, P = pet, S = shopkeeper No. Loads Description Location Vnum Max Description ==== ======== ============= =================== ======== ===== =========== [ 1] M[ 6001] Jennifer in room R[ 6001] [ 1] Brescoach's Roo [ 2] O[ 6020] a dark-blue p in the inventory M[ 6001] Jennifer |
To delete a reset, simple use 'resets [no] delete'. where no is the number found on the left side of the resets list.