hut.c

tmi2_fluffos_v2/lib/d/Fooland/hut.c · 446 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

#include <mudlib.h>

inherit ROOM ;

void create() {

	object obj ;

	::create();
	set ("light", 1) ;
	set ("long", 
"This is a small and pathetically dirty hut. The entire population of\n"+
"Smallville lives here.\n") ;
	set ("short", "Hut in Smallville") ;
	set ("exits", ([ "south" : "/d/grid/rooms/11,3.grid" ]) ) ;
	seteuid(getuid()) ;
	obj = clone_object("/obj/magic_scroll") ;
	obj -> set_spell("vision") ;
	obj -> move(this_object()) ;
}

Site Stats

Snippets: 1791
Codebases: 571