blob: 615f903ef6062ffa8ff988a7aaebc66ce73c47e2 [file] [log] [blame]
Zesstrad59c3892019-11-28 20:53:39 +01001SYNOPSIS
MG Mud User88f12472016-06-24 23:31:02 +02002 void move_object(mixed item, mixed dest)
3
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 The item, which can be an object_name or an object, is moved into
6 it's new environment dest, which can also be an object_name or an
7 object.
MG Mud User88f12472016-06-24 23:31:02 +02008
Zesstra715ec202025-07-09 22:18:31 +02009 Since 3.2.1, the innards of move_object() are implemented in
10 the mudlib, using the M_MOVE_OBJECT0/1 driver hooks, and move_object()
11 might as well be an simul-efun.
MG Mud User88f12472016-06-24 23:31:02 +020012
Zesstra715ec202025-07-09 22:18:31 +020013 The traditional implementation restricted for !compat mode
14 the <item> to the calling object only.
Zesstrad59c3892019-11-28 20:53:39 +010015
Zesstra715ec202025-07-09 22:18:31 +020016SEE ALSO
Zesstrad59c3892019-11-28 20:53:39 +010017 remove(A), init(A), transfer(E), native(C), hooks(C),
18 set_environment(E)