// Autogenned file inherit WEAPON_OBJ; void setup(){ set_name("knife" ); set_short("knife" ); add_adjective(({ "medium-sized", "medium" }) ); set_main_plural("knives" ); set_long("This is a medium-sized knife, the sort of thing someone " "might keep in a boot to ward off a would-be attacker. You " "just have to hope that it's not then used to prepare your dinner.\n" ); set_weight(8 ); set_value(100 ); new_weapon(2000 ); set_damage_chance(5 ); add_attack( "slash", 70, ({ 10, 3, 20 }), "sharp", "sharp", 0 ); add_attack( "stab", 40, ({ 15, 3, 30 }), "pierce", "pierce", 0); } /* setup() */