/
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 SPRITE 3

object *sprites;


void reset(status arg) {
  int i;
  object spr;
  
  if(!arg) {
    set_short("the elfin forest");
    set_long(
"You are on the path leading through the forest. The path divides hear, \n"+
"and leads in many directions.  The trees stand magnificently all around\n"+
"you. You almost forget the reason you came here..to kick some elven butt.\n");

    set_exits(({
        "room/newbie/new1",  "south",
        "room/newbie/new3",  "northeast",
        "room/newbie/new13", "northwest",
        "room/newbie/new8",  "west",
    }));
    set_items(({
        "trees",  "large healthy oak trees",
    }));
    set_weather(2,4,3);
  }
  if(!sprites) sprites = allocate(SPRITE);
  for(i = 0; i < SPRITE; i++) {
    if(!sprites[i]) {
      spr = clone_object(MONSTER);
      spr->set_name("sprite");
      spr->set_short("a tree sprite");
      spr->set_long(
"A small little tree sprite.  It looks almost like an elf, but smaller.\n");
      spr->set_level(1);
      spr->set_ac(3);
      spr->set_wc(5);
      spr->set_gender(2);
      spr->add_mone(30);
      spr->set_al(100);
      spr->set_race("sprite");
      spr->load_chat(10,({ "Sprite bounces around.\n",
          "Sprite dances around.\n",
      }));
      spr->load_a_chat(10,({ "Sprite bursts out in tears.\n",
          "Sprite cries out for help!\n",
      }));
      move_object(spr, this_object());
      sprites[i] = spr;
    }
  }
}