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

void make_items();
void reset(status arg) {
  ::reset(arg);
  if(arg) make_items();

  else {
    set_name("tenser");
    set_race("human");
    add_class("mage");
    set_gender(1);
    set_short("Magus Tenser");
    set_level(28);
    set_ac(28);
    set_wc(30);
    set_long(
     "Contrary to most magic-users, Tenser has always been a lover of \n"+
     "battle. Occasionally he will seemingly forget his spells and charge\n"+
     "into melee with his staff, depending on his magical protections to \n"+
     "preserve him. In many ways, it is felt that his temperament was    \n"+
     "better suited to be a fighter.\n");
    add_spell_immunity("fire");
    add_spell_immunity("lightning");
    set_magic_resist(20);

    load_spells(20, ({ "fire ball", "fire shield", 
          "lightning bolt", "chain lightning",
          "stone skin", "ice storm", "mks", "death spell", "disintegrate",
          "burning hands", "chill touch", "energy drain", "monster summon 3", 
    }));
    make_items();
  }
}

void make_items() {
  object staff;

  staff = clone_object(MAGIC_WEAPON);
  staff -> set_name("staff");
  staff -> set_length(80);
  staff -> set_protection("lightning");
  staff -> set_type("crush");
  staff -> set_short("A hardwood staff");
  staff -> set_long(
    "This staff has seen many battles. Its tough hardwood keeping it \n"+
    "sturdy and unbroken. Along its length are also many runes of power.\n"+
    "Perhaps this staff is quite magical?\n");
  staff -> set_read("The runes mean nothing to you.\n");
  staff -> set_wc(15);  /* +3 staff */  
  staff -> set_weight(6);
  staff -> set_info("Tenser's staff. It protects the wielder from lightning");
  staff -> set_value(3000); /* because of enchantment */
  staff -> set_enchanted(1);
  move_object(staff, this_object());
  command("wield staff",this_object());
  this_object()->set_wc(30);
}