visor.c
ds2.10/lib/domains/town/armor/visor.c · 565 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("goggles");
SetId(({"goggles"}));
SetAdjectives(({"clear","plastic","protective","lab","laboratory"}));
SetShort("clear plastic goggles");
SetLong("A set of protective laboratory goggles.");
SetMass(5);
SetBaseCost("silver",9);
SetDamagePoints(1);
SetProtection(BLUNT,1);
SetProtection(BLADE,1);
SetProtection(KNIFE,1);
SetArmorType(A_VISOR);
}
void init(){
::init();
}