27 lines
722 B
C
27 lines
722 B
C
#include <lib.h>
|
|
|
|
inherit LIB_DOOR;
|
|
|
|
static void create() {
|
|
door::create();
|
|
|
|
SetSide("south", ([ "id" : ({"airlock", "door leading south", "door", "south door"}),
|
|
"short" : "the airlock",
|
|
"long" : "This is the inside of an airlock leading out. Make sure you know what is outside before you exit.",
|
|
"lockable" : 1 ]) );
|
|
|
|
SetSide("north", ([ "id" : ({"door leading north", "door", "north door"}),
|
|
"short" : "a door leading north",
|
|
"long" : "This is the south side of a door leading north.",
|
|
"lockable" : 1 ]) );
|
|
|
|
SetClosed(1);
|
|
SetLocked(0);
|
|
SetKeys("south", ({ "south key" }));
|
|
SetKeys("north", ({ "north key" }));
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|