Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > place

API Function: place

Summary:
instruct the mobile to move an object from one place to another

Defined In LPC Object:
/usr/common/lib/mobile.c

Prototype:
nomask string place(object obj_to_move, object where_to_move)

Can Be Called By:
System, Common, Game

Description:

Cause the mobile to attempt to move the given object to the specified new location. If the mobile cannot, a reason why is returned as a string.

You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

The reason as a string, or nil for success.

Errors:
Usually none.

See Also:
open , close