/* /domains/Examples/etc/door.c * from the Foundation II LPC Library * an example door object connecting doorroom1.c and doorroom2.c * created by Descartes of Borg 950411 */ #include <lib.h> inherit LIB_DOOR; static void create() { door::create(); SetSide("north", ([ "id" : "door", "short" : "a wooden door", "long" : "A dusty oak door covered with cobwebs.", "lockable" : 0 ]) ); SetSide("south", ([ "id" : "door", "short" : "the library door", "long" : "An oak door leading to the library.", "lockable" : 0 ]) ); SetClosed(1); }