axe.c

ds2.1.1/lib/domains/town/weap/axe.c · 482 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>
#include <damage_types.h>
#include <vendor_types.h>

inherit LIB_ITEM;

static void create() {
    item::create();
    SetKeyName("sharp axe");
    SetId( ({ "axe"}));
    SetAdjectives( ({ "sharp","small","hand"}));
    SetShort("a hand axe");
    SetLong("A small, sharp hand axe, suitable for close combat.");
    SetMass(150);
    SetBaseCost("silver",50);
    SetVendorType(VT_WEAPON);
    SetClass(15);
    SetDamageType(BLADE);
    SetWeaponType("blade");
}

Site Stats

Snippets: 1791
Codebases: 571