[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 /obj/clothing.c</h2>
This is the clothing file.  COntains everything you need to
make some nice clothing.
<h2>Inherits</h2>
This class inherits the following classes <a href="std.basic.wearable.c.shtml">/std/basic/wearable.c</a>, <a href="std.container.c.shtml">/std/container.c</a> and <a href="std.basic.close_lock.c.shtml">/std/basic/close_lock.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="#add_pocket">add_pocket</a>(string, int)<br/>
This method adds a pocket onto the clothing.
<li><a href="#break_me">break_me</a>()<br/>
This method causes the object to be broken.
<li><a href="#query_clothing">query_clothing</a>()<br/>
This method will return true if the item is an item of clothing.
<li><a href="#query_is_pair">query_is_pair</a>()<li><a href="#query_objective">query_objective</a>()<li><a href="#query_pocket_mess">query_pocket_mess</a>()<br/>
This method returns the message associated with the pocket.
<li><a href="#query_pockets">query_pockets</a>()<br/>
This method returns all the pockets on the object.
<li><a href="#query_pronoun">query_pronoun</a>()<li><a href="#remove_pockets">remove_pockets</a>()<br/>
This method removes all pockets from the clothing.
<li><a href="#replace_me">replace_me</a>()<li><a href="#set_is_pair">set_is_pair</a>(int)<li><a href="#set_pocket_mess">set_pocket_mess</a>(string)<br/>
This method sets the message associated with the pocket.
<li><a href="#setup_clothing">setup_clothing</a>(int)<br/>
This method sets up the condition for the clothing.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="add_pocket">
add_pocket</a><pre>
void add_pocket(string type,
                int amount)
</pre></br>
This method adds a pocket onto the clothing.
<p>
When setting the amount a pocket can hold
use the following guide:
<pre>
o==================o==============o========o
| Type of Clothing | example type | amount |
o==================o==============o========o
|   Aprons         |    front     |  8-10  |
|------------------+--------------+--------|
|   Coats          |     side     |  6-7   |
|                  |    inside    |   5    |
|------------------+--------------+--------|
|   Corsets        |   cleavage   |   2    |
|------------------+--------------+--------|
|   Dresses        |     side     |  2-3   |
|------------------+--------------+--------|
|   Hats           |    inside    |  2-6   |
|------------------+--------------+--------|
|   Jackets        |     side     |  2-3   |
|                  |    inside    |  2-3   |
|------------------+--------------+--------|
|   Robes          |     side     |   5    |
|                  |    sleeve    |   2    |
|------------------+--------------+--------|
|   Shirts         |    breast    |  2-3   |
|------------------+--------------+--------|
|   Skirts         |     side     |   4    |
|------------------+--------------+--------|
|   Trousers       |     side     |   4    |
|                  |     back     |   2    |
|------------------+--------------+--------|
|   Underwear      |    front     |  1-2   |
|                  |    breast    |  1-2   |
|                  |   cleavage   |   2    |
o==================o==============o========o
</pre>
<br/><ul>
<li><b>Parameters:</b>
<br/>type - the type of pocket
<br/>amount - the amount the pocket can hold
<li><b>See also:</b>
<br/><a href="#query_pockets">query_pockets()</a>, <a href="#remove_pockets">remove_pockets()</a>, <a href="#set_pocket_mess">set_pocket_mess()</a> and <a href="#query_pocket_mess">query_pocket_mess()
</a></dl>

<ul><a name="break_me">
break_me</a><pre>
void break_me()
</pre></br>
This method causes the object to be broken.


<ul><a name="query_clothing">
query_clothing</a><pre>
int query_clothing()
</pre></br>
This method will return true if the item is an item of clothing.
<br/><ul>
<li><b>Returns:</b>
<br/>always returns true

</dl>

<ul><a name="query_is_pair">
query_is_pair</a><pre>
int query_is_pair()
</pre>
<ul><a name="query_objective">
query_objective</a><pre>
string query_objective()
</pre>
<ul><a name="query_pocket_mess">
query_pocket_mess</a><pre>
string query_pocket_mess()
</pre></br>
This method returns the message associated with the pocket.
<br/><ul>
<li><b>Returns:</b>
<br/>the message associated with the pocket
<li><b>See also:</b>
<br/><a href="#set_pocket_mess">set_pocket_mess()</a>, <a href="#query_pockets">query_pockets()</a>, <a href="#add_pocket">add_pocket()</a> and <a href="#remove_pockets">remove_pockets()
</a></dl>

<ul><a name="query_pockets">
query_pockets</a><pre>
mixed * query_pockets()
</pre></br>
This method returns all the pockets on the object.
<br/><ul>
<li><b>Returns:</b>
<br/>all the pockets on the object
<li><b>See also:</b>
<br/><a href="#add_pocket">add_pocket()</a> and <a href="#remove_pockets">remove_pockets()
</a></dl>

<ul><a name="query_pronoun">
query_pronoun</a><pre>
string query_pronoun()
</pre>
<ul><a name="remove_pockets">
remove_pockets</a><pre>
void remove_pockets()
</pre></br>
This method removes all pockets from the clothing.
<br/><ul>
<li><b>See also:</b>
<br/><a href="#add_pocket">add_pocket()</a> and <a href="#query_pockets">query_pockets()
</a></dl>

<ul><a name="replace_me">
replace_me</a><pre>
void replace_me()
</pre>
<ul><a name="set_is_pair">
set_is_pair</a><pre>
void set_is_pair(int comes_in_pairs)
</pre>
<ul><a name="set_pocket_mess">
set_pocket_mess</a><pre>
void set_pocket_mess(string words)
</pre></br>
This method sets the message associated with the pocket.
<br/><ul>
<li><b>Parameters:</b>
<br/>words - the message associated with the pocket
<li><b>See also:</b>
<br/><a href="#query_pocket_mess">query_pocket_mess()</a>, <a href="#add_pocket">add_pocket()</a> and <a href="#remove_pockets">remove_pockets()
</a></dl>

<ul><a name="setup_clothing">
setup_clothing</a><pre>
void setup_clothing(int number)
</pre></br>
This method sets up the condition for the clothing.
<br/><ul>
<li><b>Parameters:</b>
<br/>number - the maximum condition for the clothing

</dl>


[an error occurred while processing this directive]

