Area Building

· Home
· Overview
· Helps
· Mobiles
· Objects
· Rooms
· Resets

· Shops
· Specials
· Time
· Weather
· Scripts


This file is a short manual on how to write the RESETS section for Mirkwood (ROM 2.3). There is an EXAMPLE at the very end of this document.

-Tomasin


The RESETS section of your area is quite importantly, and luckily, quite straightforward. Basically, it is a series of single line commands. The commands are a single letter, followed by several numbers. There is a way to COMMENT your reset section. use it!!!

The following commands are available in the RESETS:

M	load a mobile
O	load an object
P	load an object into a container (put)
G	load an object into the inventory of a mobile (give)
E	load an object onto a mobile (equip)
D	THIS RESET HAS BEEN REPLACED by < default_pos >
			in the DOOR section of ROOMS
R	THIS RESET HAS BEEN REPLACED by the 'G' flag in
			< exit_info > in the DOOR section of ROOMS

The '*' symbol is the comment symbol, and causes the mud to ignore anything on that line
after the '*'.

The RESETS section begins with

#RESETS

and ends with

S

(no comments allowed after the 'S')

The following is the format for the various commands (using a 0 (zero) for < unused >):


M 0 < mobile-vnum > < limit-number > < room-vnum >

This loads the mobile with the vnum < mobile-vnum > into the room < room-vnum >. The
< limit-number > dictates how many mobiles of that vnum exist in the world.

NOTE: if you load multiple mobs of the same vnum, all limit-numbers must be the same!

NOTE: -1 means unlimited (actually 999)


O 0 < object-vnum > < limit-number > < room-vnum >

This loads the object with the vnum < object-vnum > into the room < room-vnum >. The
< limit-number > dictates how many objects of that vnum exist in the world.

NOTE: if you load multiple objects of the same vnum (load either with O, G, or E), all limit-numbers must be the same!

NOTE: -1 means unlimited (actually 999)


P < number > < object-vnum > < limit-number > < in_object-vnum >

This loads the object with the vnum < object-vnum > into a container with vnum < in_object-vnum >. The < number > indicates how many objects are put into the container, and the
< limit-number > indicates both how many objects exist in the world OR how many times this object gets 'put' into the container. For example, if you have the One Ring put into a container, the < limit-number > should be 1. One ring will therefore be loaded for any particular reboot. The container is the most RECENTLY loaded container with that vnum. Thus we suggest you only create 1 container with that vnum, and the container must be loaded (reset) before the 'P' command. The object is not loaded if someone is carrying the container, or if the object is already in the container.

NOTE: if you load multiple objects of the same vnum (load either with O, G, or E), all limit-numbers must be the same!

NOTE: -1 means unlimited (actually 999)


G < number > < object-vnum > < limit-number >

This command is used on conjunction with an M command. It gives whatever mob was just loaded the object. The < number > is how many are given, the < limit-number > is the number of such objects in the world, and the < object-vnum > identifies the object to be loaded.

NOTE: if you load multiple objects of the same vnum (load either with O, G, or E), all limit-numbers must be the same!

NOTE: -1 means unlimited (actually 999)


E < number > < object-vnum > < limit-number > < wear_loc-number >

This command functions much like the G command, in that it must follow an M command
(or a M command followed by a series of G and/or E commands) The < wear_loc-number > can be the following.

 WEAR_NONE		     -1
 WEAR_LIGHT		      0
 WEAR_FINGER_L		      1
 WEAR_FINGER_R		      2
 WEAR_NECK_1		      3
 WEAR_NECK_2		      4
 WEAR_BODY		      5
 WEAR_HEAD		      6
 WEAR_LEGS		      7
 WEAR_FEET		      8
 WEAR_HANDS		      9
 WEAR_ARMS		     10
 WEAR_SHIELD		     11
 WEAR_ABOUT		     12
 WEAR_WAIST		     13
 WEAR_WRIST_L		     14
 WEAR_WRIST_R		     15
 WEAR_WIELD		     16
 WEAR_HOLD		     17


D are no longer used. See ROOMS.


R are no longer used. See ROOMS.


--- EXAMPLES ---

#RESETS
M 0 8101 20 8119   orc soldier
E 1 8103 -1 11
E 1 8104 -1 5
E 1 8105 -1 14
E 1 8105 -1 15
E 1 8106 -1 6
E 1 8123 -1 16
M 0 8101 20 8122   orc soldier
E 1 8103 -1 11
E 1 8104 -1 5
E 1 8105 -1 14
E 1 8105 -1 15
E 1 8106 -1 6
E 1 8124 -1 16
M 0 8101 20 8130   orc soldier
E 1 8103 -1 11
E 1 8104 -1 5
E 1 8105 -1 14
E 1 8105 -1 15
E 1 8106 -1 6
E 1 8123 -1 16
M 0 8102 1 8111      treebeard
M 0 8103 1 8194      saruman
E 1 8107 1 5        cloak
G 2 8117 4          wand
M 0 8112 1 8182     wormtongue
E 1 8108 5 16
M 0 8113 1 8196     nazgul
E 1 8101 4 17      palantire
E 1 8109 8 14      bracer
E 1 8109 8 15      bracer
M 0 8114 1 8189   desk (alive)
G 2 8114 4        red scroll
G 2 8116 4        silver scroll
*
* stuff lying around
*
O 2 8120 0 8190   bed
P 2 8119 0 8120   ebony wand
O 2 8121 0 8193   chest
P 2 8122 0 8121   gold
O 2 8126 0 8171   rotted
O 2 8127 0 8128   bent scimitar
O 2 8128 0 8136   broken shield
O 2 8130 0 8150   dead slave

S