[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>Inherits</h2>
This class inherits the following classes <a href="std.basic.wearable.c.shtml">/std/basic/wearable.c</a>, <a href="std.armour_logic.c.shtml">/std/armour_logic.c</a> and <a href="std.object.c.shtml">/std/object.c</a><h2>Includes</h2>
This class includes the following files <a href="include.move_failures.h.shtml">/include/move_failures.h</a> and <a href="include.virtual.h.shtml">/include/virtual.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#player_wear">player_wear</a>()<br/>
This function is called on an object and causes it to be worn
if it can be by it's environment(), i.
<li><a href="#query_ac">query_ac</a>(string, int, string)<br/>
This method is called when the armour is hit.
<li><a href="#query_armour">query_armour</a>()<br/>
Return true to indicate that this is a piece of armour.
<li><a href="#query_construction">query_construction</a>()<br/>
Query the construction type of the armour.
<li><a href="#query_full_value">query_full_value</a>()<br/>
Return the full value of the armour as if it were in perfect condition.
<li><a href="#query_value">query_value</a>()<br/>
Return the value of the item modified by its current condition.
<li><a href="#replace_me">replace_me</a>()<li><a href="#set_construction">set_construction</a>(string)<br/>
Set the construction type of the armour.
<li><a href="#setup_armour">setup_armour</a>(int)<br/>
Set the initial condition of the armour.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="player_wear">
player_wear</a><pre>
void player_wear()
</pre></br>
This function is called on an object and causes it to be worn
if it can be by it's environment(), i.e the player carrying it.


<ul><a name="query_ac">
query_ac</a><pre>
varargs int query_ac(string type,
                     int amount,
                     string zone)
</pre></br>
This method is called when the armour is hit.  It returns the amount of
damage that is stopped by the armour. This method basically calls
query_ac in /std/armour_logic and then performs adjustments for
enchantment etc.<br>
NOTE: Calling this function actually does damage to the armour!

<br/><ul>
<li><b>Parameters:</b>
<br/>type - The type of damage
<br/>damage - the amount of damage
<br/>zone - the locaton of the damage
<li><b>Returns:</b>
<br/>the amount of damage stopped

<li><b>See also:</b>
<br/>/std/armour_logic.c
</dl>

<ul><a name="query_armour">
query_armour</a><pre>
int query_armour()
</pre></br>
Return true to indicate that this is a piece of armour.
<br/><ul>
<li><b>Returns:</b>
<br/>1

</dl>

<ul><a name="query_construction">
query_construction</a><pre>
string query_construction()
</pre></br>
Query the construction type of the armour.
<br/><ul>
<li><b>Returns:</b>
<br/>the construction type.
<li><b>See also:</b>
<br/>set_construction
.c</dl>

<ul><a name="query_full_value">
query_full_value</a><pre>
int query_full_value()
</pre></br>
Return the full value of the armour as if it were in perfect condition.
<br/><ul>
<li><b>Returns:</b>
<br/>the full value.

</dl>

<ul><a name="query_value">
query_value</a><pre>
int query_value()
</pre></br>
Return the value of the item modified by its current condition.
<br/><ul>
<li><b>Returns:</b>
<br/>the modified value.

</dl>

<ul><a name="replace_me">
replace_me</a><pre>
void replace_me()
</pre>
<ul><a name="set_construction">
set_construction</a><pre>
void set_construction(string type)
</pre></br>
Set the construction type of the armour.
scale, lamellar, chain, plate etc.
<br/><ul>
<li><b>Parameters:</b>
<br/>type - the construction type

</dl>

<ul><a name="setup_armour">
setup_armour</a><pre>
void setup_armour(int number)
</pre></br>
Set the initial condition of the armour.
<br/><ul>
<li><b>Parameters:</b>
<br/>number - The condition of the armour.

</dl>


[an error occurred while processing this directive]

