32 lines
749 B
C
32 lines
749 B
C
#include <lib.h>
|
|
#include <armor_types.h>
|
|
#include <damage_types.h>
|
|
#include <vendor_types.h>
|
|
|
|
inherit LIB_ARMOR;
|
|
|
|
|
|
static void create() {
|
|
armor::create();
|
|
SetKeyName("leather glove");
|
|
SetId( ({ "glove" }) );
|
|
SetAdjectives( ({ "black","leather","right" }) );
|
|
SetShort("a black leather glove");
|
|
SetLong("A black glove with five fingers designed for a right hand.");
|
|
SetDamagePoints(75);
|
|
SetVendorType(VT_ARMOR);
|
|
SetMass(10);
|
|
SetBaseCost("silver",7);
|
|
SetArmorType(A_GLOVE);
|
|
SetProtection(BLUNT, 1);
|
|
SetProtection(BLADE, 1);
|
|
SetProtection(KNIFE, 2);
|
|
SetProtection(HEAT, 3);
|
|
SetProtection(COLD, 7);
|
|
SetFingers(5);
|
|
SetRestrictLimbs(({"right hand"}));
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|