[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/room/furniture/storage.c</h2>
This is a furniture item for making all kinds of furniture that store
things.

If you want to make a chest just use set_max_weight() to set how much
weight it can store.

If you want it to have drawers or shelves use the add_drawer() and
set_drawer_mess() functions to set them up.

<h2>Inherits</h2>
This class inherits the following classes <a href="std.basic.trap.c.shtml">/std/basic/trap.c</a>, <a href="obj.cont_save.c.shtml">/obj/cont_save.c</a> and <a href="std.room.furniture.inherit.furniture_base.c.shtml">/std/room/furniture/inherit/furniture_base.c</a><h2>Includes</h2>
This class includes the following files <a href="include.tasks.h.shtml">/include/tasks.h</a>, <a href="include.position.h.shtml">/include/position.h</a> and <a href="include.move_failures.h.shtml">/include/move_failures.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#add_drawer">add_drawer</a>(string, int)<br/>
This method adds a drawer onto the furniture.
<li><a href="#move">move</a>(mixed, string, string)<li><a href="#query_drawer_mess">query_drawer_mess</a>()<br/>
This method returns the message associated with the drawer.
<li><a href="#query_drawers">query_drawers</a>()<br/>
This method returns all the drawers on the object.
<li><a href="#query_drawers_inside">query_drawers_inside</a>()<br/>
Set the drawers to be on the inside, and hence not visible when the
door is closed.
<li><a href="#query_help_file_directory">query_help_file_directory</a>()<li><a href="#set_drawer_mess">set_drawer_mess</a>(string)<br/>
This method sets the message associated with the drawer.
<li><a href="#set_drawers_inside">set_drawers_inside</a>(int)<br/>
Set the drawers to be on the inside, and hence not visible when the
door is closed.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="add_drawer">
add_drawer</a><pre>
void add_drawer(string type,
                int amount)
</pre></br>
This method adds a drawer onto the furniture.

<br/><ul>
<li><b>Parameters:</b>
<br/>type - the type of drawer
<br/>amount - the amount the drawer can hold
<li><b>See also:</b>
<br/><a href="#query_drawers">query_drawers()</a>, <a href="#set_drawer_mess">set_drawer_mess()</a> and <a href="#query_drawer_mess">query_drawer_mess()
</a></dl>

<ul><a name="move">
move</a><pre>
varargs int move(mixed dest,
                 string messin,
                 string messout)
</pre>
<ul><a name="query_drawer_mess">
query_drawer_mess</a><pre>
string query_drawer_mess()
</pre></br>
This method returns the message associated with the drawer.
<br/><ul>
<li><b>Returns:</b>
<br/>the message associated with the drawer
<li><b>See also:</b>
<br/><a href="#set_drawer_mess">set_drawer_mess()</a>, <a href="#query_drawers">query_drawers()</a> and <a href="#add_drawer">add_drawer()
</a></dl>

<ul><a name="query_drawers">
query_drawers</a><pre>
mixed * query_drawers()
</pre></br>
This method returns all the drawers on the object.
<br/><ul>
<li><b>Returns:</b>
<br/>all the drawers on the object
<li><b>See also:</b>
<br/><a href="#add_drawer">add_drawer()
</a></dl>

<ul><a name="query_drawers_inside">
query_drawers_inside</a><pre>
int query_drawers_inside()
</pre></br>
Set the drawers to be on the inside, and hence not visible when the
door is closed.


<ul><a name="query_help_file_directory">
query_help_file_directory</a><pre>
string query_help_file_directory()
</pre>
<ul><a name="set_drawer_mess">
set_drawer_mess</a><pre>
void set_drawer_mess(string words)
</pre></br>
This method sets the message associated with the drawer.
<br/><ul>
<li><b>Parameters:</b>
<br/>words - the message associated with the drawer
<li><b>See also:</b>
<br/><a href="#query_drawer_mess">query_drawer_mess()</a> and <a href="#add_drawer">add_drawer()
</a></dl>

<ul><a name="set_drawers_inside">
set_drawers_inside</a><pre>
void set_drawers_inside(int i)
</pre></br>
Set the drawers to be on the inside, and hence not visible when the
door is closed.



[an error occurred while processing this directive]

