blob: 15bad307046b5322804d94ada992ddc76c81ca38 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001****************************************************************************
2************************* VERALTETE LFUN ***********************************
3************************* DO NOT USE! ***********************************
4****************************************************************************
5
6BITTE STATT DER FUNKTION Door() IMMER NewDoor() BENUTZEN.
7
8 AddDoor(string command, string roomfile, string doorname,
9 string doordesc, string keyname, int status)
10 Creates a door which leads in direction <command> to the
11 room <roomfile>. The door has the short description
12 <doorname> and the long description <doordesc>, when you
13 look at it. If a door with the same <doorname> exists in
14 the other room, the open/close/locked status will be
15 the same in both rooms at all time. Doors are locked on
16 reset() if keyname is not 0. If <keyname> is given, the
17 door is locked and can be opened only with a key which
18 matches <keyname> with its id(). <status> can be set
19 to an initial value of DOOR_STATUS_OPEN, DOOR_STATUS_CLOSED
20 or DOOR_STATUS_LOCKED. These status codes are defined in
21 <doors.h>.
22