chainmail_collar.c

ds2.9a12/lib/domains/cave/armor/chainmail_collar.c · 549 B

From the archive ds2.9a12.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("collar");
    SetId(({"neck guard","guard"}));
    SetAdjectives( ({"neck","collar","chainmail"}) );
    SetShort("a chainmail collar");
    SetLong("This is a simple collar made of chainmail "+
      "to protect the neck from weapons.");
    SetMass(50);
    SetArmorType(A_COLLAR);
    SetProtection(BLUNT,4);
    SetProtection(BLADE,25);
    SetProtection(KNIFE,25);
}

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

Site Stats

Snippets: 1791
Codebases: 571