[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/uwater.c</h2>
The underwater inherit.<p>Written by Pinkfish<h2>Inherits</h2>
This class inherits the following classes <a href="std.room.c.shtml">/std/room.c</a><h2>Includes</h2>
This class includes the following files <a href="include.position.h.shtml">/include/position.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#check_breath">check_breath</a>(object)<br/>
This checks to see if the object can breath and decreases their
life span slowly.
<li><a href="#check_init_breath">check_init_breath</a>(object)<br/>
This method initialises the objects breathing length.
<li><a href="#check_living">check_living</a>(object)<br/>
This method checks to see if the object is living.
<li><a href="#entering_living">entering_living</a>(object, object)<br/>
This method checks the object to see if it should be allowed to
breathe or not.
<li><a href="#player_drowning">player_drowning</a>(object)<br/>
This method forces the player up if they start to drown.
<li><a href="#query_decrease">query_decrease</a>()<br/>
This method returns the array of things we ate doing the exciting
water breathing stuff on.
<li><a href="#query_underwater">query_underwater</a>()<br/>
This method checks to see if we are underwater here.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="check_breath">
check_breath</a><pre>
int check_breath(object ob)
</pre></br>
This checks to see if the object can breath and decreases their
life span slowly.
Ok, two sorts of breathing thingys.  Ones that are infinite and ones
that last for definite periods of time.  Will turn on heart_beat and
decrease the ones that need decreasing every heart_beat.
<br/><ul>
<li><b>Parameters:</b>
<br/>ob - the object to check the breath of

</dl>

<ul><a name="check_init_breath">
check_init_breath</a><pre>
int check_init_breath(object ob)
</pre></br>
This method initialises the objects breathing length.
<br/><ul>
<li><b>Parameters:</b>
<br/>ob - the object to check

</dl>

<ul><a name="check_living">
check_living</a><pre>
int check_living(object ob)
</pre></br>
This method checks to see if the object is living.
<br/><ul>
<li><b>Parameters:</b>
<br/>ob - the object to check
<li><b>Returns:</b>
<br/>1 if living, 0 if not

</dl>

<ul><a name="entering_living">
entering_living</a><pre>
void entering_living(object ob,
                     object from)
</pre></br>
This method checks the object to see if it should be allowed to
breathe or not.
<br/><ul>
<li><b>Parameters:</b>
<br/>ob - the object to check

</dl>

<ul><a name="player_drowning">
player_drowning</a><pre>
void player_drowning(object ob)
</pre></br>
This method forces the player up if they start to drown.
<br/><ul>
<li><b>Parameters:</b>
<br/>ob - the player trying to drown

</dl>

<ul><a name="query_decrease">
query_decrease</a><pre>
object * query_decrease()
</pre></br>
This method returns the array of things we ate doing the exciting
water breathing stuff on.
<br/><ul>
<li><b>Returns:</b>
<br/>the people drowning

</dl>

<ul><a name="query_underwater">
query_underwater</a><pre>
int query_underwater()
</pre></br>
This method checks to see if we are underwater here.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if underwater, 0 if on the surface

</dl>


[an error occurred while processing this directive]

