24 lines
561 B
C
24 lines
561 B
C
#include <lib.h>
|
|
#include <armor_types.h>
|
|
#include <damage_types.h>
|
|
inherit LIB_ARMOR;
|
|
|
|
static void create(){
|
|
armor::create();
|
|
SetKeyName("leather pants");
|
|
SetId(({"pants"}));
|
|
SetAdjectives(({"strong","leather","black","tough"}));
|
|
SetShort("leather pants");
|
|
SetLong("These are trousers made of strong, tough leather. ");
|
|
SetMass(150);
|
|
SetBaseCost("silver",110);
|
|
SetDamagePoints(10);
|
|
SetProtection(BLUNT,1);
|
|
SetProtection(BLADE,5);
|
|
SetProtection(KNIFE,5);
|
|
SetArmorType(A_PANTS);
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|