27 lines
653 B
C
27 lines
653 B
C
#include <lib.h>
|
|
|
|
inherit LIB_DOOR;
|
|
|
|
static void create() {
|
|
door::create();
|
|
|
|
SetSide("west", ([ "id" : ({"door leading west", "door", "west door"}),
|
|
"short" : "a door leading west",
|
|
"long" : "This is the east side of a door leading west.",
|
|
"lockable" : 1 ]) );
|
|
|
|
SetSide("east", ([ "id" : ({"door leading east", "door", "east door"}),
|
|
"short" : "a door leading east",
|
|
"long" : "This is the west side of a door leading east.",
|
|
"lockable" : 1 ]) );
|
|
|
|
SetClosed(1);
|
|
SetLocked(0);
|
|
SetKeys("west", ({ "west key" }));
|
|
SetKeys("east", ({ "east key" }));
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|