knife.c

skylib_mudos_v1/mudlib/obj/dwweapons/knives/knife.c · 634 B

From the archive skylib_mudos_v1.tar.gz

Download the archive   « Back to the archive contents

// 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() */

Site Stats

Snippets: 1791
Codebases: 571