/* /domains/Examples/armour/glove.c * from the Foundation II LPC Library * an example glove * created by Descartes of Borg 950408 */ #include <lib.h> #include <armour_types.h> #include <damage_types.h> #include <vendor_types.h> inherit LIB_ARMOUR; static void create() { armour::create(); SetKeyName("red glove"); SetId( ({ "glove", "red glove" }) ); SetAdjectives( ({ "red" }) ); SetShort("a red glove"); SetLong("A red glove with five fingers."); SetDamagePoints(75); SetVendorType(VT_ARMOUR); SetMass(50); SetValue(20); SetArmourType(A_GLOVE); SetProtection(BLUNT, 1); SetProtection(BLADE, 1); SetProtection(KNIFE, 2); SetProtection(HEAT, 3); SetProtection(COLD, 7); SetFingers(5); }