mud/lib/domains/voluntaria/doors/commanddoor.c
2020-09-06 05:43:07 -07:00

27 lines
644 B
C

#include <lib.h>
inherit LIB_DOOR;
static void create() {
door::create();
SetSide("up", ([ "id" : ({"door leading up", "door", "up door"}),
"short" : "a door leading up",
"long" : "This is the down side of a door leading up.",
"lockable" : 1 ]) );
SetSide("down", ([ "id" : ({"door leading down", "door", "down door"}),
"short" : "a door leading down",
"long" : "This is the up side of a door leading down.",
"lockable" : 1 ]) );
SetClosed(1);
SetLocked(1);
SetKeys("up", ({ "captain key" }));
SetKeys("down", ({ "capain key" }));
}
void init(){
::init();
}