GOD.C
LIB3/STD/RACES/GOD.C · 851 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( "god" );
set_main_plural( "gods" );
set_long( "The gods are those who have always existed, and " +
"shall always be so. They are omniescent, omnipotent, " +
"and generally nice people.\n" );
reset_get();
} /* setup() */
string query_desc( object ob )
{
switch( (int)ob->query_gender() )
{
case GENDER_NEUTER:
return "A god type creature.\n";
case GENDER_MALE:
return "A god.\n";
case GENDER_FEMALE:
return "A godess.\n";
}
} /* query_desc() */
void set_stats( object ob )
{
ob->set_bonus_str( 25 );
ob->set_bonus_dex( 25 );
ob->set_bonus_con( 25 );
ob->set_bonus_int( 25 );
ob->set_bonus_wiz( 25 );
set_max_light( 1000 );
set_min_light( -1000 );
} /* set_stats() */