Door Reset

From The Final Challenge Wiki
Revision as of 09:51, 12 July 2011 by Natilena (talk | contribs) (Created page with "This reset sets the state of a door. You cannot use this command on doors set with the randomize doors reset. A: This must be a D. <BR> B: This is a 1 or a 0. 1 signifies th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This reset sets the state of a door. You cannot use this command on doors set with the randomize doors reset.

A: This must be a D.
B: This is a 1 or a 0. 1 signifies that the MUD should run this reset every reset cycle, a 0 signifies that the MUD should run this reset only if the area is deserted. In theory anyhow. Merc tends to ignore the setting and resets according to its own built in methods. Use the specs, though, when writing the resets, it makes them easier to debug.
C: This is the vnum of the room the door is located in.
D: This is the location of the door in the room. A 0 means north, a 1 means east, a 2 means south, a 3 means west, a 4 means up, and a 5 means down.
E: A 0 means reset the door open, a 1 means reset the door closed, and a 2 means reset the door locked.
F: Commonly, this comment would say the room's name


D 0 80045 2 1 * a room with a door