present

mud/2.4.5/doc/efun/present · 473 B

From the archive 2.4.5-for-1.1.tgz

Download the archive   « Back to the archive contents

object present(str, ob)
string str;
object ob;

If an object that identifies to the name "str" is present,
then return it.

'str' can also be an object.

The object is searched for in the inventory of the current object, and
in the inventory of the environment of the current object.

A second optional argument 'ob' is the enviroment where the search for the
'str' is done. Normally 'this_player()' is a good environment.

See also efun/move_object(), efun/environment().

Site Stats

Snippets: 1791
Codebases: 571