blob: fe3a9693db59a7824adc174fe382633d414d460f [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 void set_environment(object item, object env)
3
4DESCRIPTION
5 The item is moved into its new environment env, which may be 0.
6 This efun is to be used in the move_object() hook, as it does
7 nothing else than moving the item - no calls to init() or such.
8
9 Don't use it in your own objects!
10
11HISTORY
12 Introduced in 3.2.1@1 as 'efun308()', renamed to 'set_environment()'
13 in 3.2.6 and LP "03.02.1@150".
14
15SEE ALSO
16 remove(A), init(A), move_object(E), transfer(E), hooks(C),
17 native(C)
18
1929.10.2006 Zesstra
20