MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | **************************************************************************** |
| 2 | ************************* VERALTETE LFUN *********************************** |
| 3 | ************************* DO NOT USE! *********************************** |
| 4 | **************************************************************************** |
| 5 | |
| 6 | BITTE 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 | |