[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /std/race.c</h2>
This is called off of the monster to set up a race and
profession...   Race should be first then profession..<p>Written by Pinkfish<p>Started Sometime in 1991
<h2>Inherits</h2>
This class inherits the following classes <a href="std.basic.print_object.c.shtml">/std/basic/print_object.c</a><h2>Includes</h2>
This class includes the following files <a href="include.race.h.shtml">/include/race.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#monster_heart_beat">monster_heart_beat</a>(string, string, mixed, mixed)<br/>
This method is called from inside the npc to do the heartbeat on the
guild and race objects.
<li><a href="#query_guild_path">query_guild_path</a>(string)<br/>
This method returns the path associated with the specified guild.
<li><a href="#query_guilds">query_guilds</a>()<br/>
This method returns all the current guilds in the race object.
<li><a href="#query_race_path">query_race_path</a>(string)<br/>
This method returns the path associated with the specified race.
<li><a href="#query_races">query_races</a>()<br/>
This method returns all the current races in the race object.
<li><a href="#query_valid_race">query_valid_race</a>(string)<br/>
This method checks to see if the specified race is valid or not.
<li><a href="#set_level">set_level</a>(int, string, string, string)<br/>
This method sets the level of the npc with the specified attributes.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="monster_heart_beat">
monster_heart_beat</a><pre>
void monster_heart_beat(string race,
                        string guild,
                        mixed race_ob,
                        mixed guild_ob)
</pre></br>
This method is called from inside the npc to do the heartbeat on the
guild and race objects.
<br/><ul>
<li><b>Parameters:</b>
<br/>race - the race to do a heart beat on
<br/>guild - the guild to do a heart beat on
<br/>race_ob - the object to use for the race
<br/>guild_ob - the object to use for the guild

</dl>

<ul><a name="query_guild_path">
query_guild_path</a><pre>
string query_guild_path(string guild_name)
</pre></br>
This method returns the path associated with the specified guild.
<br/><ul>
<li><b>Parameters:</b>
<br/>guild_name - the name of the guild
<li><b>Returns:</b>
<br/>the path of the guild

</dl>

<ul><a name="query_guilds">
query_guilds</a><pre>
mapping query_guilds()
</pre></br>
This method returns all the current guilds in the race object.  It is a
mapping with matches between the name of the guild and guild object.
<br/><ul>
<li><b>Returns:</b>
<br/>the race mapping

</dl>

<ul><a name="query_race_path">
query_race_path</a><pre>
string query_race_path(string race_name)
</pre></br>
This method returns the path associated with the specified race.
<br/><ul>
<li><b>Parameters:</b>
<br/>race_name - the name of the race
<li><b>Returns:</b>
<br/>the path of the race

</dl>

<ul><a name="query_races">
query_races</a><pre>
mapping query_races()
</pre></br>
This method returns all the current races in the race object.  It is a
mapping with matches between the name of the race and race object.
<br/><ul>
<li><b>Returns:</b>
<br/>the race mapping

</dl>

<ul><a name="query_valid_race">
query_valid_race</a><pre>
int query_valid_race(string race)
</pre></br>
This method checks to see if the specified race is valid or not.
<br/><ul>
<li><b>Parameters:</b>
<br/>race - the race to check for validity
<li><b>Returns:</b>
<br/>1 if it exists, 0 if it does not

</dl>

<ul><a name="set_level">
set_level</a><pre>
void set_level(int lvl,
               string race,
               string guild,
               string spec)
</pre></br>
This method sets the level of the npc with the specified attributes.
<br/><ul>
<li><b>Parameters:</b>
<br/>lvl - the level to set the npc at
<br/>race - the race to set the npc with
<br/>guild - the guild to set the npc with
<br/>spec - the guild specialisation

</dl>


[an error occurred while processing this directive]

