wizard_hat.c

ds2.9a10/lib/domains/town/armor/wizard_hat.c · 695 B

From the archive ds2.9a10.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <armor_types.h>
#include <damage_types.h>
inherit LIB_ARMOR;

static void create(){
    armor::create();
    SetKeyName("wizard hat");
    SetId(({"hat","headgear"}));
    SetAdjectives(({"wizard","wizard's"}));
    SetShort("a wizard's hat");
    SetLong("This is a large, floppy hat with a wide brim all "+
      "around it, and a conical center. It is dark blue in color, "+
      "and is decorated with pictures of yellow moons and stars.");
    SetMass(50);
    SetBaseCost("silver",500);
    SetDamagePoints(100);
    SetArmorType(A_HELMET);
    SetProtection(BLUNT, 20);
    SetProtection(BLADE, 20);
    SetProtection(KNIFE, 20);
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571