belt.c

ds2.1.1/lib/domains/town/armor/belt.c · 495 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("belt");
    SetId(({"belt"}));
    SetAdjectives(({"leather"}));
    SetShort("a leather belt");
    SetLong("A belt made of leather.");
    SetMass(5);
    SetBaseCost("silver",10);
    SetDamagePoints(1);
    SetProtection(BLUNT,1);
    SetProtection(BLADE,1);
    SetProtection(KNIFE,1);
    SetArmorType(A_BELT);
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571