steel_door3.c
ds3.0/lib/domains/campus/doors/steel_door3.c · 667 B
From the archive ds3.0.zip
Download the archive « Back to the archive contents
#include <lib.h>
inherit LIB_DOOR;
static void create() {
door::create();
SetSide("east", (["id" : ({ "door", "steel door", "steely door" }),
"short" : "a steel door leading east",
"long" : "This is a steel door.",
"lockable" : 1 ]) );
SetSide("west", (["id" : ({ "door", "steel door", "steely door" }),
"short" : "a steel door leading west",
"long" : "This is a steel door.",
"lockable" : 1 ]) );
SetKeys("north", ({"shaft_door_key"}) );
SetKeys("north", ({"shaft_door_key"}) );
SetClosed(1);
SetLocked(1);
}
void init(){
::init();
}