door.c

foundation2_fluffos_v1/lib/domains/Examples/etc/door.c · 603 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /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);
}

Site Stats

Snippets: 1791
Codebases: 571