move_or_destruct |
Discworld driver help |
move_or_destruct |
Name
move_or_destruct - ask an object to move to the specified destination
Synopsis
int move_or_destruct( object dest );
Description
If an object's environment is destructed, this apply is called on it's contents. 'dest' will be the environment of the destructing object, or zero if it has none. If the object does not move itself out of the object being destructed, it will be destructed as well.
See also
destruct(3), move_object(3), init(4)