toga.c

ds2.1.1/lib/domains/town/armor/toga.c · 611 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("healer's toga");
    SetId(({"toga"}));
    SetAdjectives(({"long","white","comfotable"}));
    SetShort("a long, white toga");
    SetLong("This is a comfortable, full-length toga. It is the sort of "
      "elegant garment that ancient politicians and healers once wore.");
    SetMass(75);
    SetBaseCost("silver",100);
    SetDamagePoints(100);
    SetProtection(BLUNT,1);
    SetProtection(BLADE,10);
    SetProtection(KNIFE,10);
    SetArmorType(A_CLOAK);
}

Site Stats

Snippets: 1791
Codebases: 571