/
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/
/* Robes from a Fire Mage */
/* Read armour.doc for armour guidelines */

#include <mudlib.h>
inherit MAGIC_ARMOUR;

void reset(status arg) {
  if(arg) return;
  /* normal armour */
  
  set_name("robes");  
  set_short("Robes");
  set_long("The robes look old and dusty.\n");
  set_ac(2);
  set_weight(3);
  set_value(500); /* value + charge modifier */
  set_type("armour");
  set_armour_material("cloth");
  set_listen("The cloth robes rustles as you move.\n");
  set_smell("The robes smell like they were worn by an orc that\n"+
            "has been dead for two weeks.\n");

  /* magic_armour additions */

  set_protection("fire");   /* immunity given when worn */

  /* spells castable when worn */

  add_spells(({ "fire ball", "fire shield", }));
  set_max_charges(50);               /* maximum charges */
  set_charges(50);                   /* charge robe */
  set_cast_level(14);                /* level spells cast at */
  set_class(({ "mage", "thief", })); /* class(es) able to use spells */ 

  /* use wands own info strings - dynamic information */
  set_info(query_wand_info());
}