25 lines
509 B
C
25 lines
509 B
C
#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("silver",800);
|
|
SetVendorType(VT_WEAPON);
|
|
SetClass(30);
|
|
SetDamageType(BLADE);
|
|
SetWeaponType("blade");
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|