blob: 14f2bb13b63dab661bd0da701d584f93db21e6b5 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001DEPRECATED
2SYNOPSIS
3 int drop(void)
4 int drop(int silently)
5
6DESCRIPTION
7 In compat mode this lfun is used by the efun transfer().
8
9 It is called to check if an object wants to be moved out of
10 the inventory of a living object. drop() should return 1 to
11 prevent dropping. This is the opposite of the get() function.
12 That is because if drop() is not defined, it will always be
13 possible to drop an object.
14
15 If the object self-destructs when drop() is called, be sure to
16 return 1, as the destructed item surely not can be dropped.
17
18 Most compat mode LPC libraries to define one argument for
19 drop. If silently is true, no messages should be written.
20
21HISTORY
22 Deprecated in LDMud 3.3 as transfer() has been deprecated.
23
24SEE ALSO
25 transfer(E)