23 lines
590 B
Plaintext
23 lines
590 B
Plaintext
/* /domains/Examples/etc/door.c
|
|
* from the Dead Souls 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" : "south door",
|
|
"short" : "a door leading north",
|
|
"long" : "This is a plain wooden door.",
|
|
"lockable" : 0 ]) );
|
|
SetSide("south", ([ "id" : "north door",
|
|
"short" : "a door leading south",
|
|
"long" : "This is a plain wooden door.",
|
|
"lockable" : 0 ]) );
|
|
SetClosed(1);
|
|
}
|