sword.c
ds2.1.1/lib/realms/template/area/weap/sword.c · 469 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("short sword");
SetId( ({ "sword", "short sword" }) );
SetAdjectives( ({ "short" }) );
SetShort("a short sword");
SetLong("A cheap and rather dull short sword.");
SetMass(300);
SetBaseCost(50);
SetVendorType(VT_WEAPON);
SetClass(20);
SetDamageType(BLADE);
SetWeaponType("blade");
}