[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/living/nationality.c</h2>
The details for handling nationality.<p>Written by Pinkfish<p>Started Wed Jun 26 13:22:26 PDT 2002
<h2>Includes</h2>
This class includes the following files /include/config.h and /include/living.h<h2>Method index</h2>
<ul>
<li><a href="#query_nationality">query_nationality</a>()<br/>
This method returns the nationality of the living.
<li><a href="#query_nationality_accent_ob">query_nationality_accent_ob</a>()<br/>
This method returns the accent to use for this nationality/region
setup on the player.
<li><a href="#query_nationality_data">query_nationality_data</a>()<br/>
This method returns the nationality data of the living.
<li><a href="#query_nationality_description">query_nationality_description</a>(object)<br/>
This method returns the description of the nationality.
<li><a href="#query_nationality_name">query_nationality_name</a>()<br/>
This method returns the name of the nationality.
<li><a href="#query_nationality_region">query_nationality_region</a>()<br/>
This method returns the nationality region of the living.
<li><a href="#query_nationality_start_location">query_nationality_start_location</a>()<br/>
This method returns the start location for this player/npc.
<li><a href="#set_nationality">set_nationality</a>(string)<br/>
This method sets the nationality of the living.
<li><a href="#set_nationality_data">set_nationality_data</a>(mixed)<br/>
This method sets the nationality data of the person.
<li><a href="#set_nationality_region">set_nationality_region</a>(string)<br/>
This method sets the nationality region of the person.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="query_nationality">
query_nationality</a><pre class="autodocfuncdef">
string query_nationality()
</pre><dd><br />
This method returns the nationality of the living.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the nationality of the living object
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_nationality_accent_ob">
query_nationality_accent_ob</a><pre class="autodocfuncdef">
string query_nationality_accent_ob()
</pre><dd><br />
This method returns the accent to use for this nationality/region
setup on the player.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the accent object to use
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_nationality_data">
query_nationality_data</a><pre class="autodocfuncdef">
mixed query_nationality_data()
</pre><dd><br />
This method returns the nationality data of the living.  The
data is any free form data needed by the nationality.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the nationality data of the living object
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_nationality_description">
query_nationality_description</a><pre class="autodocfuncdef">
string query_nationality_description(object looker)
</pre><dd><br />
This method returns the description of the nationality.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
looker - the person looking at the them<br />
<br />
<dd><b>Returns:</b>
<br />the name of the nationality
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_nationality_name">
query_nationality_name</a><pre class="autodocfuncdef">
string query_nationality_name()
</pre><dd><br />
This method returns the name of the nationality.
<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the name of the nationality
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_nationality_region">
query_nationality_region</a><pre class="autodocfuncdef">
string query_nationality_region()
</pre><dd><br />
This method returns the nationality region of the living.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the nationality region of the living object
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_nationality_start_location">
query_nationality_start_location</a><pre class="autodocfuncdef">
string query_nationality_start_location()
</pre><dd><br />
This method returns the start location for this player/npc.<br />
<br /><dl>
<dd><b>Returns:</b>
<br />the start location
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="set_nationality">
set_nationality</a><pre class="autodocfuncdef">
void set_nationality(string nationality)
</pre><dd><br />
This method sets the nationality of the living.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
nationaltiy - the new nationality
<br />
<br />
<dd><b>See also:</b>
<br />setup_nationality
.c<br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="set_nationality_data">
set_nationality_data</a><pre class="autodocfuncdef">
void set_nationality_data(mixed data)
</pre><dd><br />
This method sets the nationality data of the person.  The
data is any extre free form data needed by the nationality.
<br />
<br /><dl>
<dd><b>Parameters:</b><br />
data - the new data for the living
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="set_nationality_region">
set_nationality_region</a><pre class="autodocfuncdef">
void set_nationality_region(string region)
</pre><dd><br />
This method sets the nationality region of the person.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
region - the new region of the person
<br />
<br />
<dd><b>See also:</b>
<br />setup_nationality
.c<br /><br /><br /></dl>

</dl>
[an error occurred while processing this directive]

