id

ldmud-3.2.9/doc/applied/id · 361 B

From the archive ldmud-329.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        int id(string str)

DESCRIPTION
        Let the object identify itself. If str matches an id of the
        current object then return a none zero value.
        This lfun is applied for the efun present().

EXAMPLE
        int id(string str) {
           return "sword" == str || "sword of fire" == str;
        }

SEE ALSO
        present(E)

Site Stats

Snippets: 1791
Codebases: 571