small_knife.c

skylib_fluffos_v3/mudlib/obj/weapons/knives/small_knife.c · 624 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

// Autogenned file

inherit WEAPON_OBJ;

void setup(){

  set_name("knife" );
  set_short("small knife" );
  add_adjective(({ "small" }) );
  add_alias("utensil" );
  add_plural("utensils" );
  set_long("This small knife might be the sort of thing "
   "you'd use to peel an apple, slice carrots or "
    "stab in someone's kidney.  You could say "
     "that it's a multi-purpose utensil.\n" );
  set_weight(6 );
  set_value(50 );
  new_weapon(500 );
  set_damage_chance(3 );
  add_attack("slash", 70, ({ 5, 2, 20 }), "sharp", "sharp", 0 );
  add_attack("stab", 40, ({ 10, 2, 30 }), "pierce", "pierce", 0);
} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571