[Package Index | Mudlib Index | Effect Index]

File /std/living/nationality.c

The details for handling nationality.

Written by Pinkfish

Started Wed Jun 26 13:22:26 PDT 2002

Includes

This class includes the following files /include/config.h and /include/living.h

Method index

Public Functions

These are functions that everyone can access.

query_nationality
string query_nationality()

This method returns the nationality of the living.

Returns:
the nationality of the living object


query_nationality_accent_ob
string query_nationality_accent_ob()

This method returns the accent to use for this nationality/region setup on the player.

Returns:
the accent object to use


query_nationality_data
mixed query_nationality_data()

This method returns the nationality data of the living. The data is any free form data needed by the nationality.

Returns:
the nationality data of the living object


query_nationality_description
string query_nationality_description(object looker)

This method returns the description of the nationality.

Parameters:
looker - the person looking at the them

Returns:
the name of the nationality


query_nationality_name
string query_nationality_name()

This method returns the name of the nationality.

Returns:
the name of the nationality


query_nationality_region
string query_nationality_region()

This method returns the nationality region of the living.

Returns:
the nationality region of the living object


query_nationality_start_location
string query_nationality_start_location()

This method returns the start location for this player/npc.

Returns:
the start location


set_nationality
void set_nationality(string nationality)

This method sets the nationality of the living.

Parameters:
nationaltiy - the new nationality

See also:
setup_nationality .c


set_nationality_data
void set_nationality_data(mixed data)

This method sets the nationality data of the person. The data is any extre free form data needed by the nationality.

Parameters:
data - the new data for the living


set_nationality_region
void set_nationality_region(string region)

This method sets the nationality region of the person.

Parameters:
region - the new region of the person

See also:
setup_nationality .c