/
lib/banish/
lib/d/
lib/doc/
lib/doc/domains/
lib/doc/efun/
lib/doc/examples/
lib/doc/examples/armour/
lib/doc/examples/contain/
lib/doc/examples/food/
lib/doc/examples/magic/
lib/doc/examples/monster/
lib/doc/examples/room/
lib/doc/examples/weapons/
lib/function/
lib/include/
lib/include/fn_specs/
lib/include/skills/
lib/info/
lib/inherit/base/
lib/log/
lib/manuals/312/
lib/news/
lib/obj/party/
lib/objects/components/
lib/open/
lib/open/library/
lib/open/party/
lib/players/
lib/players/zilanthius/
lib/room/
lib/room/city/arena/
lib/room/city/creator/
lib/room/city/garden/monst/
lib/room/city/obj/
lib/room/city/shop/
lib/room/death/
lib/room/registry/
lib/secure/
lib/secure/UDP_CMD_DIR/
lib/skills/
lib/skills/fighter/
lib/skills/thief/
lib/usr/
lib/usr/creators/
lib/usr/players/
#include <mudlib.h>
inherit ROOM;

#define ELF 4 /* Number of elves */

object *elves;

void reset(status arg) {
  int i;
  object ring, sly;
  
  if(!arg) {
      set_short("the elfin forest");
      set_long(
"You are moving closer toward the elven thieves hideout.  It is said\n"+
"that only a special race of people can get inside the hideout.  If\n"+
"you aren't of that special race, perhaps you could sneak in.  If you\n"+
"were to try it, and failed, the punishment would be severe.\n");
      set_exits(({
         "/room/newbie/new13",  "south",
         "/room/newbie/new15",  "north",
       }));
      set_weather(1,3,4);
  }

  if(!elves) elves = allocate(ELF);
  for(i = 0; i < ELF; i++) {
    if(!elves[i]) {
      sly = clone_object(MONSTER);
      sly->set_name("elf");
      sly->set_short("a sly elf");
      sly->set_long(
"A small little thieving elf.  He is capable of moving in and out of\n"+
"places quickly without being caught.\n");
      sly->set_level(2);
      sly->set_ac(3);
      sly->set_wc(6);
      sly->set_gender(1);
      sly->set_race("elf");
      sly->set_al(-50);
      move_object(sly, this_object());
      elves[i] = sly;
    }
  }
}