transfer

final_realms_fluffos_v1/lib/doc/efun/transfer · 653 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

int transfer(item, dest)
object item;
object dest;

Move the object "item" to the object "dest". All kinds of tests are done,
and a number is returned specifying the result:

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.

If an object is transfered to a newly created object, make sure that the
new object first is transfered to it's destination.

See also efun/move_object, lfun/drop, lfun/get, lfun/prevent_insert,
     lfun/can_put_and_get, lfun/add_weight

Site Stats

Snippets: 1791
Codebases: 571