short_sword.c

skylib_mudos_v1/mudlib/obj/dwweapons/swords/short_sword.c · 582 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("sword" );
  set_short("short sword" );
  set_main_plural("short swords" );
  add_adjective(({ "short" }) );
  set_long("This nice sharp piece of steel is a couple of feet long.  "
           "It won't give you the reach or heft of a long sword, but "
	   "it'll be easier to use.\n" );
  set_weight(12 );
  set_value(800 );
  new_weapon(6400 );
  set_damage_chance(12 );
  add_attack("slice", 100, ({ 10, 5, 10 }), "sharp", "sharp" );
  add_attack("stab", 50, ({ 50, 3, 20 }), "pierce", "pierce");
} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571