rat.c

gurba-0.40/lib/domains/gurba/monsters/rat.c · 456 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

inherit MONSTER;
inherit M_ACTIONS;
inherit M_TRIGGERS;
inherit M_BLOCKEXITS;

void setup()
{
  set_name("rat");
  /*  set_gender(0); */ /* Leave out the gender specification, get a random one. */
  add_adj( "filthy" );
  set_in_room_desc("A small filthy rat.");
  set_long("The rat smells awful.");
  set_race( "rodent" );
  set_max_hp( 7 );
  set_hit_skill("combat/unarmed");
  set_skill( "combat/unarmed", 50 );
  set_skill( "combat/defense", 100 );
}

Site Stats

Snippets: 1791
Codebases: 571