Skip to main content

How to Use Resets for Mobs and Objects

Keywords: RESETS, PURGEAREA, RESETAREA
The resets command is used to view/add/delete the resets in a room. Resets are like a little set of scripting commands that tell the mud how and where to load objects and mobiles into rooms. If an area had no resets the whole area would be just a set of empty rooms, regardless of how many mobs or objects were defined in the areas vnum range. Using resets you can load objects and mobs from any area file that is part of the mud, (assuming you have sufficient security) Syntax: RESET - will show you all the resets in the current room. To add a mob into the current room at the bottom of the reset list, type RESET 99 mob <mob vnum> <max number of mobs in the area> <max number of mobs in room when reset goes off> examples: reset 99 mob 1000 1 1 This will allow only 1 mob of this vnum to ever show in the area. reset 99 mob 1000 10 1 This will allow 10 mobs to be reset into the area, though if one is in the room then the reset in this room will not go off.It is possible to have a mob of the same vnum reset in 10 times (or whatever amount is specified in the reset) as long as each reset is put into the the individual rooms in the same manner. The number 99 is the rooms reset number... putting it at 99 makes it appear at the bottom of the room reset list (assuming you have less than 99 resets). To add an object into the current room (on the floor) RESET 99 obj <object vnum> room To place an object into a mobs inventory RESET <mob_reset_number+1> obj <obj vnum number> none To equip an object onto a mob RESET <mob_reset_number+1> obj <obj vnum number> <wear_location> type ? wear-loc for a list of wear locations. examples: In this example, the mobs reset number that you wish to place an object on or into the inventory of is 1. reset 2 obj 1000 none reset 2 obj 1000 chest The obj reset # is always going to be +1 of the mobs that you are placing it on. RESET <reset number> DELETE - delete a reset NOTE: These resets dont instantly take affect, if you want to see the affects of your resets type purge followed by resetroom. You can also use purgearea - to purge the area of all mobs and object. Resetroom - resets the room. Resetarea - resets the area. Resets can also be placed into a room with the Autoreset command. Load what mob and objects are desired in the room, and type autoreset confirm This will only work on mobs that will be loaded/reset into the area once.