[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/basic/cute_look.c</h2>

This object handles all the inventory listing for rooms, when long() is 
called.
It should convert like this: ({ /w/terano/womble#1234, /std/object#1324, 
/global/creator#2523 }) into "Lady Midnite is standing here.\nA key and a 
womble are floating happily.\n"
<p>Written by Lynscar<h2>Includes</h2>
This class includes the following files <a href="include.position.h.shtml">/include/position.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#ignore_livings_in_inventory">ignore_livings_in_inventory</a>()<br/>
Returns the ignore_living flag.
<li><a href="#list_contents">list_contents</a>(string)<br/>
This method prints out the contents of the object matching.
<li><a href="#query_contents">query_contents</a>(string, object *, int)<br/>
This method returns a string contents of description of the container.
<li><a href="#set_ignore_livings_in_inventory">set_ignore_livings_in_inventory</a>(int)<br/>
Sets the ignore_living flag.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="ignore_livings_in_inventory">
ignore_livings_in_inventory</a><pre>
int ignore_livings_in_inventory()
</pre></br>
Returns the ignore_living flag.  If livings are ignored, they are 
displayed the same way as non-livings, ie: by short alone.  If they are 
not ignored, livings are displayed on a separate line and show their
positions. NB: passing a value to the 'ignore_livings' parameter of 
query_contents overrides the ignore_living flag.

<br/><ul>
<li><b>Returns:</b>
<br/>1 if livings are ignored, 0 if not.
<li><b>See also:</b>
<br/>set_ignore_livings_in_inventory.c and query_contents
.c</dl>

<ul><a name="list_contents">
list_contents</a><pre>
void list_contents(string words)
</pre></br>
This method prints out the contents of the object matching.
<br/><ul>
<li><b>Parameters:</b>
<br/>word - the string to match

</dl>

<ul><a name="query_contents">
query_contents</a><pre>
varargs string query_contents(string start,
                              object * things,
                              int ignore_living)
</pre></br>
This method returns a string contents of description of the container.
NB: this_player() is _not_ included in the array if (s)he is present.
The ignore_living flag tells us if we should process living
objects as different or not.  If we do not process them as
different (as you do in room descriptions), then this flag should
be 0.  This is so that living objects can be kept an an
inventory of a player without stuff it up.  ie: Pets.
<br/><ul>
<li><b>Parameters:</b>
<br/>start - the start message before the contents
<br/>things - the things to give the message for
<br/>ignore_living - treat livings differently
<li><b>Returns:</b>
<br/>a string contents description

</dl>

<ul><a name="set_ignore_livings_in_inventory">
set_ignore_livings_in_inventory</a><pre>
void set_ignore_livings_in_inventory(int ignore)
</pre></br>
Sets the ignore_living flag.  Default is 1.
<br/><ul>
<li><b>Parameters:</b>
<br/>1 - to ignore livings, 0 not to
<li><b>See also:</b>
<br/>query_contents.c and ignore_livings_in_inventory
.c</dl>


[an error occurred while processing this directive]

