MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | void set_environment(object item, object env) |
| 3 | |
| 4 | DESCRIPTION |
| 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 | |
| 11 | HISTORY |
| 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 | |
| 15 | SEE ALSO |
| 16 | remove(A), init(A), move_object(E), transfer(E), hooks(C), |
| 17 | native(C) |
| 18 | |
| 19 | 29.10.2006 Zesstra |
| 20 | |