Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 586 Bytes
SYNOPSIS
object environment(void)
object environment(object obj)
object environment(string obj)
DESCRIPTION
Returns the surrounding object of obj, which may be given by name.
If no argument is given, it returns the surrounding of the current
object.
Destructed objects do not have an environment.
EXAMPLES
object room;
room = environment(this_player());
This will return the current room you are in.
SEE ALSO
first_inventory(E), next_inventory(E), all_inventory(E),
all_environment(E)