Dokumentation zu: all_environment(E)

HR Image


SYNOPSIS
        object * all_environment()
        object * all_environment(object o)

DESCRIPTION
        Returns an array with all environments object <o> is in. If <o> is
        omitted, the environments of the current object is returned.

        If <o> has no environment, or if <o> 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)

Die Seite ist auch in Deutsch vorhanden.

Start » Magierhandbuch » Docu » Efun » All_environment Letzte Generierung: 25.04.2021, 01:58
Email an: mud@wl.mud.de
Valid HTML 4.01!