25 lines
607 B
C
25 lines
607 B
C
#include <lib.h>
|
|
#include <armor_types.h>
|
|
#include <damage_types.h>
|
|
inherit LIB_ARMOR;
|
|
|
|
static void create(){
|
|
armor::create();
|
|
SetKeyName("motorcycle helmet");
|
|
SetId(({"helmet","cover","motorcycle"}));
|
|
SetAdjectives(({"motorcycle","battle","hard"}));
|
|
SetShort("a black motorcycle helmet");
|
|
SetLong("This is a helmet made of tough composite materials.");
|
|
SetMass(50);
|
|
SetBaseCost("silver",200);
|
|
SetArmorType(A_HELMET);
|
|
SetProtection(BLUNT, 20);
|
|
SetProtection(BLADE, 20);
|
|
SetProtection(KNIFE, 20);
|
|
SetProtection(PIERCE, 20);
|
|
}
|
|
|
|
void init(){
|
|
::init();
|
|
}
|