[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.container.c.shtml">/std/container.c</a> and <a href="std.basic.wearable.c.shtml">/std/basic/wearable.c</a><h2>Includes</h2>
This class includes the following files <a href="include.virtual.h.shtml">/include/virtual.h</a> and <a href="include.move_failures.h.shtml">/include/move_failures.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#no_types_in_long">no_types_in_long</a>()<li><a href="#query_capacity">query_capacity</a>()<br/>This method returns the number of weapons it can hold as a maximum.
<li><a href="#query_dynamic">query_dynamic</a>()<br/>
This method returns whether or not its dimensions adjust dynamically if a
larger weapon is placed inside.
<li><a href="#query_dynamic_length">query_dynamic_length</a>()<br/>This method returns the default length a scabbard would be if it was 
 * dynamically adjusted 
 * @return The base length of the scabbard 
<li><a href="#query_dynamic_width">query_dynamic_width</a>()<br/>This method returns the default width a scabbard would be if it was 
 * dynamically adjusted 
 * @return The base width of the scabbard 
<li><a href="#query_loop_short">query_loop_short</a>()<br/>This method returns the description for what each of the pockets are 
 * called for a scabbard that can hold multiple pockets.
<li><a href="#query_scabbard">query_scabbard</a>()<br/>
This method determines if the object is a scabbard or not.
<li><a href="#query_types">query_types</a>()<br/>
This method returns the types of weapons that can be sheathed in the
scabbard.
<li><a href="#set_capacity">set_capacity</a>(int, string)<br/>This method allows a scabbard to hold multiple weapons.
<li><a href="#set_dynamic_dimensions">set_dynamic_dimensions</a>(int, int)<br/>
This method sets the scabbard as one which would adjust length and width
depending if the weapon sheathed inside is larger than the scabbard itself.
<li><a href="#set_no_types_in_long">set_no_types_in_long</a>(int)<li><a href="#set_types">set_types</a>(string *)<br/>
This method sets the types of weapons that can be sheathed in the
scabbard.
<li><a href="#setup_scabbard">setup_scabbard</a>(int)<br/>
This method sets up the scabbards current condition.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="no_types_in_long">
no_types_in_long</a><pre>
int no_types_in_long()
</pre>
<ul><a name="query_capacity">
query_capacity</a><pre>
int query_capacity()
</pre></br>This method returns the number of weapons it can hold as a maximum.  The
 * default is 1, but can be adjusted via using set_capacity().
 * @return The number of weapons the scabbard can hold
 * @see set_capacity 
 

<ul><a name="query_dynamic">
query_dynamic</a><pre>
int query_dynamic()
</pre></br>
This method returns whether or not its dimensions adjust dynamically if a
larger weapon is placed inside.
<br/><ul>
<li><b>Returns:</b>
<br/>1 if dynamic, 0 if static

</dl>

<ul><a name="query_dynamic_length">
query_dynamic_length</a><pre>
int query_dynamic_length()
</pre></br>This method returns the default length a scabbard would be if it was 
 * dynamically adjusted 
 * @return The base length of the scabbard 

<ul><a name="query_dynamic_width">
query_dynamic_width</a><pre>
int query_dynamic_width()
</pre></br>This method returns the default width a scabbard would be if it was 
 * dynamically adjusted 
 * @return The base width of the scabbard 

<ul><a name="query_loop_short">
query_loop_short</a><pre>
string query_loop_short()
</pre></br>This method returns the description for what each of the pockets are 
 * called for a scabbard that can hold multiple pockets. If undefined the
 * default value is 'loop'. See set_capacity to change the value.
 * @see set_capacity
 

<ul><a name="query_scabbard">
query_scabbard</a><pre>
int query_scabbard()
</pre></br>
This method determines if the object is a scabbard or not.
<br/><ul>
<li><b>Returns:</b>
<br/>always returns 1 for a scabbard

</dl>

<ul><a name="query_types">
query_types</a><pre>
string * query_types()
</pre></br>
This method returns the types of weapons that can be sheathed in the
scabbard.
<br/><ul>
<li><b>Returns:</b>
<br/>the types that can be sheathed

</dl>

<ul><a name="set_capacity">
set_capacity</a><pre>
varargs void set_capacity(int i,
                          string description)
</pre></br>This method allows a scabbard to hold multiple weapons. The description
 * of what each pocket is called is optional, and if undefined is just 'loop'.
 * @param i The maximum number of weapons the scabbard can hold
 * @param description The description for each pocket
 

<ul><a name="set_dynamic_dimensions">
set_dynamic_dimensions</a><pre>
void set_dynamic_dimensions(int length,
                            int width)
</pre></br>
This method sets the scabbard as one which would adjust length and width
depending if the weapon sheathed inside is larger than the scabbard itself.
<br/><ul>
<li><b>Parameters:</b>
<br/>length - the length of the scabbard
<br/>width - the width of the scabbard

</dl>

<ul><a name="set_no_types_in_long">
set_no_types_in_long</a><pre>
int set_no_types_in_long(int val)
</pre>
<ul><a name="set_types">
set_types</a><pre>
void set_types(string * words)
</pre></br>
This method sets the types of weapons that can be sheathed in the
scabbard.
<br/><ul>
<li><b>Parameters:</b>
<br/>words - the array of types that can be sheathed

</dl>

<ul><a name="setup_scabbard">
setup_scabbard</a><pre>
void setup_scabbard(int number)
</pre></br>
This method sets up the scabbards current condition.
<br/><ul>
<li><b>Parameters:</b>
<br/>number - the current condition of the scabbard

</dl>


[an error occurred while processing this directive]

