Morgengrauner Dokumentation
Dateipfad: /home/mud/mudlib/doc//efun/all_environmentSYNOPSIS
object * all_environment()
object * all_environment(object o)
DESCRIPTION
Returns an array with all environments object is in. If is
omitted, the environments of the current object is returned.
If has no environment, or if is destructed, 0 is returned.
EXAMPLES
If o is a match in a matchbox which is in a box in a chest,
in a room, all_environment(o) will return
({ matchbox, box, chest, room }).
HISTORY
Introduced in LDMud 3.2.6, suggested by Tubmud.
SEE ALSO
environment(E), all_inventory(E)
zurück zur Übersicht