chainmail.c
ds2.10/lib/domains/cave/armor/chainmail.c · 670 B
From the archive ds2.10.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("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();
}