[Package Index | Mudlib Index | Effect Index]
Written by Lynscar
.
int ignore_livings_in_inventory()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.
void list_contents(string words)This method prints out the contents of the object matching.
varargs string query_contents(string start, object * things, int ignore_living)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.
void set_ignore_livings_in_inventory(int ignore)Sets the ignore_living flag. Default is 1.