mhelmet.c

ds2.10/lib/domains/town/armor/mhelmet.c · 607 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("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();
}

Site Stats

Snippets: 1791
Codebases: 571