doorroom2.c

foundation2_fluffos_v1/lib/domains/Examples/room/doorroom2.c · 966 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

/*    /domains/Examples/room/doorroom2.c
 *    from the Foundation II LPC Library
 *    an example room connected to doorroom1 through the example door
 *    created by Descartes of Borg 950411
 */

#include <lib.h>

inherit LIB_ROOM;

static void create() {
    room::create();
    SetProperties( ([ "light" : 2 ]) );
    SetClimate("indoors");
    SetShort("a hallway in the shadowy mansion");
    SetLong("This long, dark, creepy hallway stretches through the heart "
	    "of the shadowy mansion.  There is no doubt what gave the mansion "
	    "its freakish name...  the shadows are everywhere, and they are "
	    "following you.  The library door is on the south wall.");
    SetItems( ([ "hallway" : "It is too dark to see anything other than "
		"shadows.",
		"shadow" : "Is it following you?",
		"shadows" : "Are they alive???" ]) );
    SetExits( ([ "south" : "/domains/Examples/room/doorroom1" ]) );
    SetDoor("south", "/domains/Examples/etc/door");
}

Site Stats

Snippets: 1791
Codebases: 571