#include #include #include inherit LIB_ARMOR; static void create(){ armor::create(); SetKeyName("wizard's hat"); SetAdjectives( ({"wizard","wizards", "floppy", "large", "conical", "blue"}) ); SetId( ({"hat"}) ); 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."); SetProperties(([ "beta" : 2, ])); SetMass(50); SetBaseCost("silver",500); SetDamagePoints(100); SetArmorType(A_HELMET); SetProtection(BLUNT, 20); SetProtection(BLADE, 20); SetProtection(KNIFE, 20); } void init(){ ::init(); }