[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/surface.c</h2>
This is a furniture item for making all kinds of furniture.
<h2>Inherits</h2>
This class inherits the following classes <a href="std.basic.item_chat.c.shtml">/std/basic/item_chat.c</a>, <a href="std.object.c.shtml">/std/object.c</a>, <a href="std.room.furniture.inherit.furniture_base.c.shtml">/std/room/furniture/inherit/furniture_base.c</a> and <a href="std.basic.cute_look.c.shtml">/std/basic/cute_look.c</a><h2>Includes</h2>
This class includes the following files <a href="include.playtesters.h.shtml">/include/playtesters.h</a>, <a href="include.player.h.shtml">/include/player.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_weight">add_weight</a>(int)<li><a href="#can_find_match_recurse_into">can_find_match_recurse_into</a>(object)<li><a href="#can_find_match_reference_inside_object">can_find_match_reference_inside_object</a>(object, object)<li><a href="#find_inv_match">find_inv_match</a>(string, object)<li><a href="#handle_restore_inventory">handle_restore_inventory</a>(object)<br/>
This method handles moving objects into the inventory from an auto
load.
<li><a href="#int_query_static_auto_load">int_query_static_auto_load</a>()<li><a href="#long">long</a>(string, int)<li><a href="#move">move</a>(mixed, string, string)<li><a href="#query_allow_use_internals">query_allow_use_internals</a>()<br/>
This method returns the flag to say if the object will allow things on it
to be used.
<li><a href="#query_complete_weight">query_complete_weight</a>()<li><a href="#query_has_surface">query_has_surface</a>()<li><a href="#query_help_file_directory">query_help_file_directory</a>()<li><a href="#query_loc_weight">query_loc_weight</a>()<li><a href="#query_max_weight">query_max_weight</a>()<li><a href="#query_player">query_player</a>()<li><a href="#set_allow_use_internals">set_allow_use_internals</a>(int)<br/>
This sets the flag to say if the object will allow things on it to be
used.
<li><a href="#set_max_weight">set_max_weight</a>(int)<li><a href="#set_player">set_player</a>(object)<li><a href="#set_put_aliases">set_put_aliases</a>(string *)<br/>
Set aliases for 'put' for this object.
<li><a href="#transfer_all_to">transfer_all_to</a>(object)</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="add_weight">
add_weight</a><pre>
int add_weight(int n)
</pre>
<ul><a name="can_find_match_recurse_into">
can_find_match_recurse_into</a><pre>
int can_find_match_recurse_into(object player)
</pre>
<ul><a name="can_find_match_reference_inside_object">
can_find_match_reference_inside_object</a><pre>
int can_find_match_reference_inside_object(object thing,
                                           object looker)
</pre>
<ul><a name="find_inv_match">
find_inv_match</a><pre>
object * find_inv_match(string words,
                        object looker)
</pre>
<ul><a name="handle_restore_inventory">
handle_restore_inventory</a><pre>
int handle_restore_inventory(object ob)
</pre></br>
This method handles moving objects into the inventory from an auto
load.  This should be over ridden by things inheriting us to
make sure that the objects can be moved into the inventory.  It
should handle the bypassing of open/close/locked etc flags.
<br/><ul>
<li><b>Parameters:</b>
<br/>ob - the object to move into ourselves

</dl>

<ul><a name="int_query_static_auto_load">
int_query_static_auto_load</a><pre>
mapping int_query_static_auto_load()
</pre>
<ul><a name="long">
long</a><pre>
string long(string word,
            int dark)
</pre>
<ul><a name="move">
move</a><pre>
varargs int move(mixed dest,
                 string messin,
                 string messout)
</pre>
<ul><a name="query_allow_use_internals">
query_allow_use_internals</a><pre>
int query_allow_use_internals()
</pre></br>
This method returns the flag to say if the object will allow things on it
to be used.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if it is allowed, 0 if not

</dl>

<ul><a name="query_complete_weight">
query_complete_weight</a><pre>
int query_complete_weight()
</pre>
<ul><a name="query_has_surface">
query_has_surface</a><pre>
int query_has_surface()
</pre>
<ul><a name="query_help_file_directory">
query_help_file_directory</a><pre>
string query_help_file_directory()
</pre>
<ul><a name="query_loc_weight">
query_loc_weight</a><pre>
int query_loc_weight()
</pre>
<ul><a name="query_max_weight">
query_max_weight</a><pre>
int query_max_weight()
</pre>
<ul><a name="query_player">
query_player</a><pre>
object query_player()
</pre>
<ul><a name="set_allow_use_internals">
set_allow_use_internals</a><pre>
void set_allow_use_internals(int allow)
</pre></br>
This sets the flag to say if the object will allow things on it to be
used.  This is useful for tables and so on.
<br/><ul>
<li><b>Parameters:</b>
<br/>allow - 1 if they are allowed to be used, 0- if not

</dl>

<ul><a name="set_max_weight">
set_max_weight</a><pre>
void set_max_weight(int arg)
</pre>
<ul><a name="set_player">
set_player</a><pre>
void set_player(object thing)
</pre>
<ul><a name="set_put_aliases">
set_put_aliases</a><pre>
void set_put_aliases(string * aliases)
</pre></br>
Set aliases for 'put' for this object.  This allows you to setup an item
so that things can be hung from it, or stood on it or somesuch.

<br/><ul>
<li><b>Parameters:</b>
<br/>aliases - aliases for the verb 'put'.

</dl>

<ul><a name="transfer_all_to">
transfer_all_to</a><pre>
int transfer_all_to(object dest)
</pre>

[an error occurred while processing this directive]

