pants.c

ds2.1.1/lib/domains/default/armor/pants.c · 561 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("leather pants");
    SetId(({"pants"}));
    SetAdjectives(({"strong","leather","black","tough"}));
    SetShort("leather pants");
    SetLong("These are trousers made of strong, tough leather. ");
    SetMass(150);
    SetBaseCost("silver",110);
    SetDamagePoints(10);
    SetProtection(BLUNT,1);
    SetProtection(BLADE,5);
    SetProtection(KNIFE,5);
    SetArmorType(A_PANTS);
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571