simple.c
foundation2_fluffos_v1/lib/domains/Examples/room/simple.c · 1.0 KB
From the archive foundation2_fluffos_v1.zip
Download the archive « Back to the archive contents
/* /domains/Examples/room/simple.c
* from the Foundation II LPC Library
* a simple example room, bare minimum stuff
* created by Descartes of Borg 950402
*/
#include <lib.h>
inherit LIB_ROOM;
static void create() {
room::create();
SetProperties( ([ "light" : 4 ]) );
SetClimate("arid");
SetShort("a desolate veldt");
SetLong("Endless miles of veldt stretch out underneath an oppressive "
"sky. Lurking in the brush are certainly countless carnivores "
"who are waiting for an unsuspecting stranger to stumble upon "
"them. And the thirst...\nThe only landmark around is "
"a dying tree to the east.");
SetListen("default", "Rustling sounds can be heard in all directions.");
SetItems( ([ "brush" : "Across the veldt is a high brush which can "
"conceal about anything.",
"carnivores" : "You do not see them, but you know they are "
"here.",
"sky" : "A vast sky hanging over the endless veldt." ]) );
SetExits( ([ "east" : "/domains/Examples/room/enters" ]) );
}