NAME
transfer - move an object
SYNOPSIS
int transfer(object item, object dest)
DESCRIPTION
Move the object "item" to the object "dest". All kinds of tests are
done, and a number is returned specifying the result.
RETURN VALUE
0: Success.
1: To heavy for destination.
2: Can't be dropped.
3: Can't take it out of it's container.
4: The object can't be inserted into bags etc.
5: The destination doesn't allow insertions of objects.
6: The object can't be picked up.
CAVEAT
If an object is transfered to a newly created object, make
sure that the new object first is transfered to it's destination.
Be sure to handle the cases when it fails.
SEE ALSO
move_object, drop, get, prevent_insert, can_put_and_get, add_weight
Help topics available:
You are guest number 171 since November 2019.
This file was last modified: June 2000.