MUL.C
LIB3/STD/RACES/MUL.C · 883 B
From the archive nm4dos.zip
Download the archive « Back to the archive contents
inherit "/std/races/standard";
#include "living.h"
void setup()
{
set_name( "mul" );
set_main_plural( "muls" );
set_long( "A dwarf/human crossbreed. He has the height of a man " +
"and the stockiness of a dwarf. He also has the muscularity " +
"of a bodybuilder, and the deft of an elf.\n" );
reset_get();
} /* setup() */
string query_desc( object ob )
{
switch( (int)ob->query_gender() )
{
case GENDER_NEUTER:
return "A mulish creature.\n";
case GENDER_MALE:
return "A mulish man.\n";
case GENDER_FEMALE:
return "A mulish woman.\n";
}
} /* query_desc() */
void set_stats( object ob )
{
ob->set_bonus_str( 3 );
ob->set_bonus_dex( 1 );
ob->set_bonus_con( 4 );
ob->set_bonus_int( -2 );
ob->set_bonus_wis( -3 );
set_max_light( 250 );
set_min_light( 30 );
} /* set_stats() */