They are reset to locked in the #RESETS part of the .are file:

===============================================
6. #RESETS

This is the section that installs all the mobiles in their various
locations, equips the mobiles, locks and closes any necessary doors,
randomizes any random room exits, and generally sets up the area and
populates it.

To reset an area, the server executes each command in the list of reset
commands once.  Each area is reset once when the server loads, and again
periodically as it ages.  An area is reset if it is at least 3 area-
minutes old and is empty of players, or if it is 15 area-minutes old and
has players in it.

An 'area-minute' varies between 30 and 90 seconds of real time, with an
average of 60 seconds.  The variation defeats area time-keepers.

The #RESETS section contains a series of single lines.

The reset commands are:

...
VI.   D    set state of door
...


VI.  Door resets

D 0 1000 1 2

D denotes that a door reset is being generated.  0 is the if check as before...
The third slot is the vnum of the room that the door re
set is being generated in.  The fourth slot is the direction of the door
reset is being generated in (since any room may have up to six doors) and
the fifth is the condition that the door is being placed in.  The above
example shows the eastern door of room 1000 being set in a closed and
locked position.  The following list shows the correlating numbers for the
door directions:

0  North   1 East  2 South
3 West     4 Up    5 Down

The following is a list of door flags that may be used:

0 -- Normal exit, no door
1 -- Door that is reset to closed (can be locked if there is a key)
2 -- Door that resets to LOCKED. (If in the #ROOMS there is no key for the door,
no one can get by!!!)

Note!  If you have a door going north from room 1001 to room 1002, you must
also have a door going south from room 1002 to room 1001, unless you wish
the door in 1001 to be ONE WAY ONLY.
===============================================

Hope this helps.  If you require the full offline building docs, they are
somewhere on the web, or I have several copies.


  • locked doors Alexander Nicholas Thaler
    • Re: locked doors Jeremy Hill

Reply via email to