24 lines
670 B
C
24 lines
670 B
C
#include <lib.h>
|
|
#include <armor_types.h>
|
|
#include <damage_types.h>
|
|
inherit LIB_ARMOR;
|
|
|
|
static void create(){
|
|
armor::create();
|
|
SetKeyName("chainmail shirt");
|
|
SetId(({"armor","chainmail","mail","shirt","chain mail"}));
|
|
SetAdjectives(({"chainmail","sturdy","sturdy-looking","chain mail"}));
|
|
SetShort("a sturdy-looking chainmail shirt");
|
|
SetLong("This is a shirt made of small, thin metal rings fashioned together as armor. ");
|
|
SetMass(600);
|
|
SetBaseCost("silver",1000);
|
|
SetDamagePoints(1000);
|
|
SetProtection(BLUNT,4);
|
|
SetProtection(BLADE,25);
|
|
SetProtection(KNIFE,25);
|
|
SetArmorType(A_ARMOR);
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|