baseroom2.c

final_realms_fluffos_v1/lib/d/newbie/dwarf/newrooms/baseroom2.c · 235 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

#include "path.h"
inherit "/std/room";
string * npcs = ({"cave_rat","bat","spider","snake","lizard"});
#define MAXNPC 4

void my_setup()
{
   add_property("no_undead",1);
   add_clone(CHAR+npcs[random(sizeof(npcs))],random(MAXNPC));
}

Site Stats

Snippets: 1791
Codebases: 571