sword.c

gurba-0.40/lib/domains/gurba/objects/weapons/sword.c · 501 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

inherit WEAPON;
inherit M_VALUABLE;

void setup( void ) {
  set_id( "sword" );
  set_adj( "small" );
  set_long( "Your standard small sword." );
  set_in_room_desc( "A small sword." );
  set_gettable( 1 );

  set_min_damage( 1 );
  set_max_damage( 5 );
  set_hit_bonus( 10 );

  set_wield_type( "single" );
  set_wield_message( "$N $vgrab $p $o. Ready!" );
  set_unwield_message( "$N $vloosen $p $vgrip on $o, and $vput it away." );
  set_weapon_action("slash");
  set_value( 1 );
  set_size( 10 );
}

Site Stats

Snippets: 1791
Codebases: 571