armor.c
ds2.1.1/lib/obj/armor.c · 448 B
From the archive ds2.1.1.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("armor");
SetId(({"armor"}));
SetAdjectives(({"generic"}));
SetShort("generic armor");
SetLong("A generic piece of armor of indeterminate proportions.");
SetMass(50);
SetArmorType(A_SHIRT);
SetProtection(KNIFE, 5);
SetProtection(COLD, 5);
}
void init(){
::init();
}