27 lines
710 B
C
27 lines
710 B
C
#include <lib.h>
|
|
|
|
inherit LIB_DOOR;
|
|
|
|
static void create() {
|
|
door::create();
|
|
|
|
SetSide("out", ([ "id" : ({"airlock", "door leading out", "door", "out 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("DIR_Y", ([ "id" : ({"door leading DIR_Y", "door", "DIR_Y door"}),
|
|
"short" : "a door leading DIR_Y",
|
|
"long" : "This is the out side of a door leading DIR_Y.",
|
|
"lockable" : 1 ]) );
|
|
|
|
SetClosed(1);
|
|
SetLocked(0);
|
|
SetKeys("out", ({ "out key" }));
|
|
SetKeys("DIR_Y", ({ "DIR_Y key" }));
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|