get

mud/2.4.5/doc/lfun/get · 269 B

From the archive 2.4.5-for-1.1.tgz

Download the archive   « Back to the archive contents

int get(str)
string str;

If an object wants control over when it is possible to pick it up,
then it must define get(), and return 1 if ok to pick up.

The "str" is comes from "get str" from the player command.

id() has been called before this to identify the object.

Site Stats

Snippets: 1791
Codebases: 571