NAME
present - return object present in another object
SYNOPSIS
varargs object present(mixed str, object env)
DESCRIPTION
Return object found by responding by an id str in the inventory of
object env. If env is unspecified it defaults to this_object() and
environment(this_object()). One may differentiate object having
same id by a number at end of the string, e.g. "orc 3" to find the
third object in the room returning 1 in its id("orc") function.
However the str argument may also be an object, rendering an easy
check if str is part of inventory of env, returning str or 0.
This function exists only if config.h defines MUDLIB_INVENTORY and
MUDOS_PRESENT.
SEE ALSO
efun/inventory/