From the NannyMUD documentation

LAST CHANGE

2000-12-14

FUNCTION


NAME

        environment - Find the environment of an object.

SYNTAX

	object environment(object ob)

DESCRIPTION

	This function returns the object that has `ob' in its inventory, 
	the environment of `ob'. If no object is given as argument,
	`this_object()' is used by default.
	If no environment to `ob' is found, 0 is returned.

SEE ALSO

        all_inventory in efun/object_related/all_inventory

SEE ALSO

        deep_inventory in efun/object_related/deep_inventory

SEE ALSO

        first_inventory in efun/object_related/first_inventory

SEE ALSO

        next_inventory in efun/object_related/next_inventory