// Autogenned file inherit WEAPON_OBJ; void setup(){ set_name("sword" ); set_short("long sword" ); set_main_plural("long swords" ); add_adjective(({ "long" }) ); add_alias(({ }) ); add_plural(({ }) ); set_long( "A nice long sword. It is made of steel and has sharp edges. " "Be careful how you handle it, you don't want to lose a finger.\n" ); set_weight(24 ); set_value( 1200 ); new_weapon( 1280 ); set_damage_chance(2 ); set_material("steel"); add_attack( "slice", 50, ({ 40, 4, 20 }), "sharp", "sharp" ); add_attack( "pierce", 50, ({ 50, 3, 30 }), "pierce", "pierce"); } /* setup() */