/
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;

object monster, wand;
void reset(status arg) {

  if(!find_living("otiluke")) {
    monster = clone_object(MONSTER);
    monster -> set_name("otiluke");
    monster -> set_wander(50, 360);
    monster -> set_race("human");
    monster -> add_class("mage");
    monster -> set_gender(1);
    monster -> set_short("Magus Otiluke");
    monster -> set_al(10);
    monster -> set_long(
     "Young, short and puny, Otiluke has overcompensated for his    \n"+
     "drawbacks by being overly aggressive and abrasive. Unlike the \n"+
     "older more contemplative members of the Council, Otiluke      \n"+
     "believes in the use of offensive fire power.\n");
    monster -> set_level(25);
    monster -> set_ac(28);
    monster -> set_wc(30);
    monster -> load_chat(6, ({ "Otiluke says: What?\n",
     "Otiluke glares at you.\n",
     "Otiluke says: 'ere...get lost you.\n",
     "Otiluke pounds his fist into his palm menacingly.\n",
    }));
    monster -> load_a_chat(10,({ "Otiluke says: I'll get you for this.\n",
     "Otiluke exclaims: I'll rip you to shreds!\n",
     "Otiluke exclaims: No one does this to me and gets away with it!\n",
     "Otiluke says: Get lost!\n",
    }));

    monster -> add_spell_immunity("fire");
    monster -> add_spell_immunity("lightning");
    monster -> set_magic_resist(25);
    monster -> load_spells(30, ({ "fire ball", "fire shield", 
          "lightning bolt", "chain lightning",
          "monster summon 2", 
          "cone of cold", "ice storm", "  monster summon 3",
    }));
    move_object(monster,this_object());
  }

  if(!present("wand", find_living("otiluke"))) {
    wand = clone_object(WAND);
    wand -> set_cast_level(20);
    wand -> set_class(({ "mage", "cleric", }));
    wand -> set_name("wand");
    wand -> set_short("A long white wand");
    wand -> set_long(
          "Covering the length of the wand are silvery runes of magic \n"+
          "which define the wands powers, enchanted inside this shaft \n"+
          "of white steel.\n");
    wand -> set_info("A Wand of Frost.\n"+
          "@@query_charges_string:$wand$@@"+
          "@@query_classes:$wand$@@"+
          "@@query_level_string:$wand$@@"+
          "@@query_spell_triggers:$wand$@@");
    wand -> add_spell("ice storm");
    wand -> set_max_charges(50);
    wand -> set_charges(50);
    move_object(wand, find_living("otiluke"));
  }


  if(arg) return;
  set_short("the tower of high magic");
  set_long(
     "This is a large spacious room; the great hall of the council of   \n"+
     "high magic. All around you are paintings of great and famous      \n"+
     "wizards, who have devoted their lives to the study of magic, and  \n"+
     "the furthering of the power of wizards in the community of Tempus.\n"+
     "An iron stair case winds its way upward into the darkness of the  \n"+
     "tower above, and down into the basement below.\n");
  set_items(({
     "painting#paintings",
          "There is one of Bigby, Modenkainen, Tenser, and others",
     "stairs#staircase",
          "A stairwell of cold black iron, descending downward",
  }));
  set_weather(2,4,0);
  set_exits(({
     "room/city/mage/tower3", "up",
     "room/city/mage/bfloor1", "down",
     "room/city/mage/gfloor2", "north",
  }));
}