[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/inherit/furniture_base.c</h2>
This is a furniture item for making all kinds of furniture.<p>Written by Ceres<h2>Includes</h2>
This class includes the following files <a href="include.housing.h.shtml">/include/housing.h</a>, <a href="include.move_failures.h.shtml">/include/move_failures.h</a>, /include/room/placement.h and <a href="include.position.h.shtml">/include/position.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#is_allowed_to_mess">is_allowed_to_mess</a>(object)<br/>
This method checks to see if the specified person can mess with this
furniture.
<li><a href="#is_placed">is_placed</a>()<br/>
This method checks to see if the furniture is placed or not.
<li><a href="#move_check">move_check</a>(object)<br/>
This makes a move check to see if the person is allowed to move
the item or not.
<li><a href="#query_allowed_positions">query_allowed_positions</a>()<br/>
Returns the set of allowed positions for the furniture object.
<li><a href="#query_allowed_room_verbs">query_allowed_room_verbs</a>()<br/>
This method returns the location verbs for this object.
<li><a href="#query_bonded">query_bonded</a>()<br/>
This method returns the person who the furniture is currently
bonded to.
<li><a href="#query_furniture">query_furniture</a>()<br/>
This method will return true if the item is an item of furniture.
<li><a href="#query_owner">query_owner</a>()<br/>
Returns the person who this item is bonded to.
<li><a href="#query_placement_immovable">query_placement_immovable</a>()<br/>
This method returns if the furniture object can be moved or not.
<li><a href="#query_placement_other">query_placement_other</a>()<br/>
This method returns the current other the furniture object is using.
<li><a href="#query_placement_position">query_placement_position</a>()<br/>
This method returns the current position the furniture object is using.
<li><a href="#query_placement_verb">query_placement_verb</a>()<br/>
This method returns the current verb the furniture object is using.
<li><a href="#remove_allowed_positions">remove_allowed_positions</a>(string *)<br/>
Removes the positions given to this function as the argument,
from the list of allowed positions for this piece of furniture

<li><a href="#set_allowed_positions">set_allowed_positions</a>(string *)<br/>
Used to define what positions (sitting, lying etc.
<li><a href="#set_allowed_room_verbs">set_allowed_room_verbs</a>(mapping)<br/>
Set the allowed location verbs for this object.
<li><a href="#set_bonded">set_bonded</a>(string)<br/>
This method sets the furniture as bonded to a specified person.
<li><a href="#set_placement_immovable">set_placement_immovable</a>()<br/>
This method returns if the furniture object can be moved or not.
<li><a href="#set_placement_other">set_placement_other</a>(string)<br/>
This method sets the current other the furniture object is using.
<li><a href="#set_placement_position">set_placement_position</a>(string)<br/>
This method sets the current position the furniture object is using.
<li><a href="#set_placement_verb">set_placement_verb</a>(string)<br/>
This method sets the current verb the furniture object is using.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="is_allowed_to_mess">
is_allowed_to_mess</a><pre>
int is_allowed_to_mess(object player)
</pre></br>
This method checks to see if the specified person can mess with this
furniture.
<br/><ul>
<li><b>Parameters:</b>
<br/>person - the person to check

</dl>

<ul><a name="is_placed">
is_placed</a><pre>
int is_placed()
</pre></br>
This method checks to see if the furniture is placed or not.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if placed, 0 if not

</dl>

<ul><a name="move_check">
move_check</a><pre>
int move_check(object dest)
</pre></br>
This makes a move check to see if the person is allowed to move
the item or not.
<br/><ul>
<li><b>Parameters:</b>
<br/>dest - where we are going to
<li><b>Returns:</b>
<br/>1 if can be moved, 0 otherwise

</dl>

<ul><a name="query_allowed_positions">
query_allowed_positions</a><pre>
string * query_allowed_positions()
</pre></br>
Returns the set of allowed positions for the furniture object.
<br/><ul>
<li><b>Returns:</b>
<br/>the set of allowed positions

</dl>

<ul><a name="query_allowed_room_verbs">
query_allowed_room_verbs</a><pre>
mapping query_allowed_room_verbs()
</pre></br>
This method returns the location verbs for this object.
<br/><ul>
<li><b>Returns:</b>
<br/>the allowed mapping

</dl>

<ul><a name="query_bonded">
query_bonded</a><pre>
string query_bonded()
</pre></br>
This method returns the person who the furniture is currently
bonded to.
<br/><ul>
<li><b>Returns:</b>
<br/>the person the furniture is bonded to

</dl>

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

</dl>

<ul><a name="query_owner">
query_owner</a><pre>
string query_owner()
</pre></br>
Returns the person who this item is bonded to.
<br/><ul>
<li><b>Returns:</b>
<br/>the person the furniture is bonded to

</dl>

<ul><a name="query_placement_immovable">
query_placement_immovable</a><pre>
int query_placement_immovable()
</pre></br>
This method returns if the furniture object can be moved or not.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if it is immovable

</dl>

<ul><a name="query_placement_other">
query_placement_other</a><pre>
string query_placement_other()
</pre></br>
This method returns the current other the furniture object is using.  The
other is somethign like 'against', 'beside'.
<br/><ul>
<li><b>Returns:</b>
<br/>the current other

</dl>

<ul><a name="query_placement_position">
query_placement_position</a><pre>
string query_placement_position()
</pre></br>
This method returns the current position the furniture object is using.
The position is something like 'wall', 'ceiling' etc.
<br/><ul>
<li><b>Returns:</b>
<br/>the current position

</dl>

<ul><a name="query_placement_verb">
query_placement_verb</a><pre>
string query_placement_verb()
</pre></br>
This method returns the current verb the furniture object is using.  The
verb is something like 'sitting' or 'standing'.
<br/><ul>
<li><b>Returns:</b>
<br/>the current verb

</dl>

<ul><a name="remove_allowed_positions">
remove_allowed_positions</a><pre>
void remove_allowed_positions(string * positions)
</pre></br>
Removes the positions given to this function as the argument,
from the list of allowed positions for this piece of furniture


<ul><a name="set_allowed_positions">
set_allowed_positions</a><pre>
void set_allowed_positions(string * positions)
</pre></br>
Used to define what positions (sitting, lying etc.) are allowed for this
piece of furniture.
<br/><ul>
<li><b>Parameters:</b>
<br/>positions - an array of strings.

<li><b>See also:</b>
<br/>position.h
</dl>

<ul><a name="set_allowed_room_verbs">
set_allowed_room_verbs</a><pre>
void set_allowed_room_verbs(mapping allowed)
</pre></br>
Set the allowed location verbs for this object.
<br/><ul>
<li><b>Parameters:</b>
<br/>allowed - the allow mapping

</dl>

<ul><a name="set_bonded">
set_bonded</a><pre>
void set_bonded(string person)
</pre></br>
This method sets the furniture as bonded to a specified person.
<br/><ul>
<li><b>Parameters:</b>
<br/>person - the person to bond the furniture to

</dl>

<ul><a name="set_placement_immovable">
set_placement_immovable</a><pre>
int set_placement_immovable()
</pre></br>
This method returns if the furniture object can be moved or not.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if it is immovable

</dl>

<ul><a name="set_placement_other">
set_placement_other</a><pre>
void set_placement_other(string other)
</pre></br>
This method sets the current other the furniture object is using.  The
other is somethign like 'against', 'beside'.
<br/><ul>
<li><b>Parameters:</b>
<br/>other - the new other

</dl>

<ul><a name="set_placement_position">
set_placement_position</a><pre>
void set_placement_position(string position)
</pre></br>
This method sets the current position the furniture object is using.
The position is something like 'wall', 'ceiling' etc.
<br/><ul>
<li><b>Parameters:</b>
<br/>position - the new position

</dl>

<ul><a name="set_placement_verb">
set_placement_verb</a><pre>
void set_placement_verb(string verb)
</pre></br>
This method sets the current verb the furniture object is using.  The
verb is something like 'sitting' or 'standing'.
<br/><ul>
<li><b>Parameters:</b>
<br/>verb - the new verb

</dl>


[an error occurred while processing this directive]

