[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 /d/klatch/ephebe/inherit/ephebe_description_inherit.c</h2>
This function may be called from a room chat to drop a bird poo on
a random individual in the room.
<h2>Inherits</h2>
This class inherits the following classes /d/klatch/utils/scent_inherit.c<h2>Includes</h2>
This class includes the following files <a href="include.tasks.h.shtml">/include/tasks.h</a>, <a href="include.weather.h.shtml">/include/weather.h</a>, /d/klatch/ephebe/inherit/path.h, <a href="include.armoury.h.shtml">/include/armoury.h</a> and /d/klatch/ephebe/path.h<h2>Method index</h2>
<ul>
<li><a href="#add_ephebe_item">add_ephebe_item</a>(string)<br/>
This function is the local add_item function for adding the same add_item
or groups of add_items in several rooms.
<li><a href="#add_leaf_type">add_leaf_type</a>(string)<br/>
This function adds a leaf type to an array of leaf types that might 
appear in the room.
<li><a href="#cover_someone_in_crap">cover_someone_in_crap</a>()<li><a href="#distance_citadel_day_chats">distance_citadel_day_chats</a>()<br/>
The day chats for rooms greater than 4 or so rooms from the citadel.
<li><a href="#distance_citadel_night_chats">distance_citadel_night_chats</a>()<br/>
The night chats for rooms greater than 4 or so rooms from the citadel.
<li><a href="#distance_lighthouse_day_chats">distance_lighthouse_day_chats</a>()<br/>
The day chats for rooms greter than 6 or so rooms from the lighthouse.
<li><a href="#distance_lighthouse_night_chats">distance_lighthouse_night_chats</a>()<br/>
The night chats for rooms greter than 6 or so rooms from the lighthouse.
<li><a href="#distance_monastery_day_chats">distance_monastery_day_chats</a>()<br/>
The day chats for rooms greater than 4 or so rooms from the monastery.
<li><a href="#distance_monastery_night_chats">distance_monastery_night_chats</a>()<br/>
The night chats for rooms greater than 4 or so rooms from the monastery.
<li><a href="#do_get_leaf">do_get_leaf</a>(string, object *)<br/>
This function creates a leaf and moves it to the players inventory.
<li><a href="#extra_look">extra_look</a>()<li><a href="#leaf_chat">leaf_chat</a>(string)<br/>
This returns a string for a roomchat about leaves that varies with
the windspeed.
<li><a href="#near_citadel_day_chats">near_citadel_day_chats</a>()<br/>
The day chats for rooms within 4 or so rooms of the citadel.
<li><a href="#near_citadel_night_chats">near_citadel_night_chats</a>()<br/>
The night chats for rooms within 4 or so rooms of the citadel.
<li><a href="#near_lighthouse_day_chats">near_lighthouse_day_chats</a>()<br/>
The day chats for rooms within 6 or so rooms from the lighthouse.
<li><a href="#near_lighthouse_night_chats">near_lighthouse_night_chats</a>()<br/>
The night chats for rooms gwithin 6 or so rooms of the lighthouse.
<li><a href="#near_monastery_day_chats">near_monastery_day_chats</a>()<br/>
The day chats for rooms within 4 or so rooms of the monastery.
<li><a href="#near_monastery_night_chats">near_monastery_night_chats</a>()<br/>
The night chats for within 4 or so rooms of the monastery.
<li><a href="#outside_day_chats">outside_day_chats</a>()<br/>
The roomchats for outside rooms by day.
<li><a href="#outside_night_chats">outside_night_chats</a>()<br/>
The roomchats for outside rooms by night.
<li><a href="#query_leaf_types">query_leaf_types</a>()<br/>
This function returns an array of types of leaf that may be collected
in the room.
<li><a href="#skill_desc">skill_desc</a>(string, int)<br/>
This function stores the descriptions for skill checking.
<li><a href="#skill_desc_check">skill_desc_check</a>(string, string, string, int)<br/>
The function takes the skill and difficulty specified in add_ephebe_item
and uses the tasker to do the skill check.
<li><a href="#tree_day_chats">tree_day_chats</a>(string)<br/>
The roomchats for the rooms with a tree in them, a species needs to be
specified for it to work.
<li><a href="#tree_night_chats">tree_night_chats</a>(string)<br/>
The roomchats for the rooms with a tree in them, a species needs to be
specified for it to work.
<li><a href="#wet_exit">wet_exit</a>()<br/>
This makes someone damp from walking through an exit if added as the
function for modify_exit.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="add_ephebe_item">
add_ephebe_item</a><pre class="autodocfuncdef">
void add_ephebe_item(string ephebe_item)
</pre><dd><br />
This function is the local add_item function for adding the same add_item
or groups of add_items in several rooms.  
You can get a list of the possible items by using "grep case" on the file.  
Many of the items are added automatically if you add room chats from
this file.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
ephebe_item - The add_item or group of add_items to add<br />
<br />
<dd><b>See also:</b>
<br /><a href="#skill_desc">skill_desc()</a>, <a href="#skill_desc_check">skill_desc_check()</a>, <a href="#outside_day_chats">outside_day_chats()</a>, <a href="#tree_day_chats">tree_day_chats()</a>, <a href="#tree_night_chats">tree_night_chats()</a>, <a href="#outside_night_chats">outside_night_chats()</a>, <a href="#near_citadel_day_chats">near_citadel_day_chats()</a>, <a href="#near_citadel_night_chats">near_citadel_night_chats()</a>, <a href="#distance_citadel_day_chats">distance_citadel_day_chats()</a>, <a href="#distance_citadel_night_chats">distance_citadel_night_chats()</a>, <a href="#distance_lighthouse_day_chats">distance_lighthouse_day_chats()</a> and <a href="#distance_lighthouse_night_chats">distance_lighthouse_night_chats()
 </a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="add_leaf_type">
add_leaf_type</a><pre class="autodocfuncdef">
void add_leaf_type(string leaf)
</pre><dd><br />
This function adds a leaf type to an array of leaf types that might 
appear in the room.
<br />

<dt class="autodocfuncname"><a name="cover_someone_in_crap">
cover_someone_in_crap</a><pre class="autodocfuncdef">
void cover_someone_in_crap()
</pre>
<dt class="autodocfuncname"><a name="distance_citadel_day_chats">
distance_citadel_day_chats</a><pre class="autodocfuncdef">
string * distance_citadel_day_chats()
</pre><dd><br />
The day chats for rooms greater than 4 or so rooms from the citadel.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        distance_citadel_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="distance_citadel_night_chats">
distance_citadel_night_chats</a><pre class="autodocfuncdef">
string * distance_citadel_night_chats()
</pre><dd><br />
The night chats for rooms greater than 4 or so rooms from the citadel.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        distance_citadel_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="distance_lighthouse_day_chats">
distance_lighthouse_day_chats</a><pre class="autodocfuncdef">
string * distance_lighthouse_day_chats()
</pre><dd><br />
The day chats for rooms greter than 6 or so rooms from the lighthouse.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        distance_lighthouse_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="distance_lighthouse_night_chats">
distance_lighthouse_night_chats</a><pre class="autodocfuncdef">
string * distance_lighthouse_night_chats()
</pre><dd><br />
The night chats for rooms greter than 6 or so rooms from the lighthouse.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        distance_lighthouse_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="distance_monastery_day_chats">
distance_monastery_day_chats</a><pre class="autodocfuncdef">
string * distance_monastery_day_chats()
</pre><dd><br />
The day chats for rooms greater than 4 or so rooms from the monastery.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        distance_monastery_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="distance_monastery_night_chats">
distance_monastery_night_chats</a><pre class="autodocfuncdef">
string * distance_monastery_night_chats()
</pre><dd><br />
The night chats for rooms greater than 4 or so rooms from the monastery.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        distance_monastery_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="do_get_leaf">
do_get_leaf</a><pre class="autodocfuncdef">
mixed do_get_leaf(string verb,
                  object * dest)
</pre><dd><br />
This function creates a leaf and moves it to the players inventory.
It picks a random leaf from the array of leaf types that are 
collectable in the room.
<br />

<dt class="autodocfuncname"><a name="extra_look">
extra_look</a><pre class="autodocfuncdef">
string extra_look()
</pre>
<dt class="autodocfuncname"><a name="leaf_chat">
leaf_chat</a><pre class="autodocfuncdef">
string leaf_chat(string species)
</pre><dd><br />
This returns a string for a roomchat about leaves that varies with
the windspeed.  These shouldn't be used directly, as they are called
by tree_chats.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
species - The species of the tree present
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="near_citadel_day_chats">
near_citadel_day_chats</a><pre class="autodocfuncdef">
string * near_citadel_day_chats()
</pre><dd><br />
The day chats for rooms within 4 or so rooms of the citadel.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        near_citadel_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="near_citadel_night_chats">
near_citadel_night_chats</a><pre class="autodocfuncdef">
string * near_citadel_night_chats()
</pre><dd><br />
The night chats for rooms within 4 or so rooms of the citadel.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        near_citadel_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="near_lighthouse_day_chats">
near_lighthouse_day_chats</a><pre class="autodocfuncdef">
string * near_lighthouse_day_chats()
</pre><dd><br />
The day chats for rooms within 6 or so rooms from the lighthouse.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        near_lighthouse_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="near_lighthouse_night_chats">
near_lighthouse_night_chats</a><pre class="autodocfuncdef">
string * near_lighthouse_night_chats()
</pre><dd><br />
The night chats for rooms gwithin 6 or so rooms of the lighthouse.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        near_lighthouse_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="near_monastery_day_chats">
near_monastery_day_chats</a><pre class="autodocfuncdef">
string * near_monastery_day_chats()
</pre><dd><br />
The day chats for rooms within 4 or so rooms of the monastery.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        near_monastery_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="near_monastery_night_chats">
near_monastery_night_chats</a><pre class="autodocfuncdef">
string * near_monastery_night_chats()
</pre><dd><br />
The night chats for within 4 or so rooms of the monastery..
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        near_monastery_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="outside_day_chats">
outside_day_chats</a><pre class="autodocfuncdef">
string * outside_day_chats()
</pre><dd><br />
The roomchats for outside rooms by day.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        outside_day_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="outside_night_chats">
outside_night_chats</a><pre class="autodocfuncdef">
string * outside_night_chats()
</pre><dd><br />
The roomchats for outside rooms by night.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        outside_night_chats() |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre>
<br />

<dt class="autodocfuncname"><a name="query_leaf_types">
query_leaf_types</a><pre class="autodocfuncdef">
varargs string * query_leaf_types()
</pre><dd><br />
This function returns an array of types of leaf that may be collected
in the room.
<br />

<dt class="autodocfuncname"><a name="skill_desc">
skill_desc</a><pre class="autodocfuncdef">
string skill_desc(string subject,
                  int type)
</pre><dd><br />
This function stores the descriptions for skill checking.  For each item 
in the switch statement there are four possible strings that can be 
returned, the first is the long description if the skill check is passed,
the second is the short description if the skill check is passed, the 
third and forth are the long and short descriptions respectively for 
when the skillcheck fails.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
subject - The subject of the add_item being looked at<br />
type - Which description in the array to return
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="skill_desc_check">
skill_desc_check</a><pre class="autodocfuncdef">
mixed skill_desc_check(string subject,
                       string type,
                       string skill,
                       int difficulty)
</pre><dd><br />
The function takes the skill and difficulty specified in add_ephebe_item
and uses the tasker to do the skill check.  It then gets the 
description based on whether the check is passed or failed from the 
skill_desc function.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
subject - The subject of the add_item<br />
type - Whether the description is the long or short desc<br />
skill - Which skill to do the skill-check against<br />
difficulty - the bonus at which the skill check should pass
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="tree_day_chats">
tree_day_chats</a><pre class="autodocfuncdef">
string * tree_day_chats(string species)
</pre><dd><br />
The roomchats for the rooms with a tree in them, a species needs to be
specified for it to work.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_day_chat( ({50,80,
        tree_day_chats("great scots pine") |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre><br />
<br /><dl>
<dd><b>Parameters:</b><br />
species - The species of the tree present
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="tree_night_chats">
tree_night_chats</a><pre class="autodocfuncdef">
string * tree_night_chats(string species)
</pre><dd><br />
The roomchats for the rooms with a tree in them, a species needs to be
specified for it to work.
It automatically adds add_items to match the roomchats that it adds. 
The chats can be used by adding them to the room_chats of the room
inheriting ephebe_inherit like this:<br>
<pre>
    room_night_chat( ({50,80,
        tree_night_chats("great scots pine") |
        ({
            "An insect buzzes around.",
            "A seagull swoops right past your nose."
        }) }) );
</pre><br />
<br /><dl>
<dd><b>Parameters:</b><br />
species - The species of the tree present
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="wet_exit">
wet_exit</a><pre class="autodocfuncdef">
int wet_exit()
</pre><dd><br />
This makes someone damp from walking through an exit if added as the
function for modify_exit.  For example:<br>
<pre>
   modify_exit( "east",
       ({
           "move mess",
           "You step through the curtain of water and out onto the "
           *Street of Enlightenment.\n",
           "function",
           (: wet_exit :)
       }) );
</pre>
<br />

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

