overalls.c

ds2.4.1/lib/domains/town/armor/overalls.c · 687 B

From the archive ds2.4.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <armor_types.h>
#include <damage_types.h>
inherit LIB_WORN_STORAGE;
static void create(){
    ::create();
    SetKeyName("overalls");
    SetId(({"overalls","pants", "trousers"}));
    SetAdjectives(({"worn","abused","pair of","set of"}));
    SetShort("a pair of overalls");
    SetLong("This is a set of worn and abused overall trousers with large pockets "
      "for carrying stuff.");
    SetMass(200);
    SetMaxCarry(300);
    SetBaseCost("silver",1);
    SetDamagePoints(100);
    SetProtection(BLUNT,1);
    SetProtection(BLADE,1);
    SetProtection(KNIFE,1);
    SetArmorType(A_CUSTOM);
    SetRestrictLimbs( ({ "right leg","left leg","torso" }) );
}

Site Stats

Snippets: 1791
Codebases: 571