blob: 5f8912fafc429928adc2051d0e9cda12f6906560 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001DEPRECATED
2SYNOPSIS
3 int add_weight(int w)
4
5DESCRIPTION
6 In compat mode, this function is used by the efun transfer().
7
8 An object that can contain other objects and is not a room
9 must define this function. It is called with the extra weight
10 of the object that is moved into it. If this is ok, then it
11 has to increment the local weight count, and return true.
12 Otherwise, return false, and the new object can not be entered
13 into this object.
14
15 The function is also called with the negative weight in the
16 object that the moving leaves.
17
18 Note that no set_weight() is required by the parser.
19
20HISTORY
21 Deprecated in LDMud 3.3 as transfer() has been deprecated.
22
23SEE ALSO
24 transfer(E), query_weight(A), prevent_insert(A)