HUMAN.C
LIB3/STD/RACES/HUMAN.C · 662 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( "human" );
set_main_plural( "humans" );
set_long( "The humans are the 'normal' race by which all others " +
"are judged. They have no special abilities or skills.\n" );
reset_get();
} /* setup() */
string query_desc( object ob )
{
switch( (int)ob->query_gender() )
{
case GENDER_NEUTER:
return "A human.\n";
case GENDER_MALE:
return "A man.\n";
case GENDER_FEMALE:
return "A woman.\n";
}
} /* query_desc() */
void set_stats( object ob )
{
set_max_light( 200 );
set_min_light( 20 );
} /* set_stats() */