jacket.c

ds2.10/lib/domains/town/armor/jacket.c · 520 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("leather jacket");
    SetId(({"jacket"}));
    SetAdjectives(({"black","leather"}));
    SetShort("a black leather jacket");
    SetLong("This is a black jacket made of leather. ");
    SetMass(50);
    SetBaseCost("silver",100);
    SetProtection(BLUNT,1);
    SetProtection(BLADE,2);
    SetProtection(KNIFE,5);
    SetArmorType(A_ARMOR);
}

void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571