mallet.c

skylib_mudos_v1/mudlib/obj/dwweapons/maces/mallet.c · 637 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("mallet" );
  set_short("wooden mallet" );
  add_adjective(({ "wooden" }) );
  set_long("This is the sort of mallet that is used for general purposes."
           "  It's a large squared off lump of wood on the end of a solid "
	   "length of wood about a foot long.\n" );
  set_weight(30 );
  set_value(300 );
  new_weapon(1920 );
  set_damage_chance(5 );
  add_attack("smash", 30, ({ 10, 3, 10 }), "blunt", "blunt", 0 );
  add_attack("swing", 30, ({ 10, 3, 10 }), "blunt", "blunt", 0 );
  add_attack("crush", 30, ({ 10, 3, 10 }), "blunt", "blunt", 0);
} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571