MudOSa4DGD/
MudOSa4DGD/bin/
MudOSa4DGD/data/
MudOSa4DGD/doc/
MudOSa4DGD/doc/driver/
MudOSa4DGD/doc/efun/bitstrings/
MudOSa4DGD/doc/efun/command/
MudOSa4DGD/doc/efun/communication/
MudOSa4DGD/doc/efun/heart_beat/
MudOSa4DGD/doc/efun/interactive/
MudOSa4DGD/doc/efun/inventory/
MudOSa4DGD/doc/efun/living/
MudOSa4DGD/doc/efun/mappings/
MudOSa4DGD/doc/efun/strings/
MudOSa4DGD/doc/efun/uid/
MudOSa4DGD/doc/funs/
MudOSa4DGD/doc/language/
MudOSa4DGD/mudlib/dgd/doc/
MudOSa4DGD/mudlib/dgd/lib/include/dgd/
MudOSa4DGD/mudlib/dgd/lib/std/
MudOSa4DGD/mudlib/dgd/lib/sys/
MudOSa4DGD/mudlib/dgd/log/
MudOSa4DGD/mudlib/log/
MudOSa4DGD/mudlib/std/include/
MudOSa4DGD/mudlib/std/obj/
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/