From the NannyMUD documentation
2002-08-19
raced - A race daemon.
query_races query_standard_races query_bad_races is_standard_race is_bad_race query_all_standard_races
This daemon keeps track of race information for monsters. Whenever set_race() in the basic monster object is called, the daemon is called with the same data. The daemon maintains three lists of data: + standard races, + bad races, and + other races. The first is a list with reasonable races compiled from the MUD. Here you will find races like 'pig', 'human' and 'dragon', as well as 'none', which marks the monster as not having a consistent race at all. The second list contains known bad races, such as '---', 'thing' and 'vampire'. The third list contains races that have not been processed into the other two; this processing is done manually from time to time by some admin, usually right before rebooting the game.
NAME
query_races -SYNTAX
varargs mixed query_races(string race)DESCRIPTION
This function returns data on races that has not yet been classified as bad or standard. With an argument, it returns the data antry for the race. Without an argument, a copy of the whole data structure is returned.
FUNCTION
NAME
query_standard_races -SYNTAX
varargs mixed query_races(string race)DESCRIPTION
This function returns data on races that has been classified as standard (i.e. recommended for use). With an argument, it returns the data entry for the race. Without an argument, a copy of the whole data structure is returned.
FUNCTION
NAME
query_bad_races -SYNTAX
varargs mixed query_bad_races(string race)DESCRIPTION
This function returns data on races that has been classified as bad races (i.e. shouldn't be used). With an argument, it returns the data entry for the race. Without an argument, a copy of the whole data structure is returned.
FUNCTION
NAME
is_standard_race -SYNTAX
int is_standard_race(string race)DESCRIPTION
FUNCTION
NAME
is_bad_race -SYNTAX
int is_bad_race(string race)DESCRIPTION
FUNCTION
NAME
query_all_standard_races -SYNTAX
string *query_all_standard_races()DESCRIPTION
This function returns an array with all standard races specified in the raced.c file.