drop

lpmud/mudlib/doc/lfun/drop · 356 B

From the archive lpmud-1.4.1-A-r11.tar.gz

Download the archive   « Back to the archive contents

int drop(silently)
int silently;

This function must be defined by all objects that want to control when they
can be dropped. if 'silently' is true, then don't write any messages.

drop() should return 1 to prevent dropping. This is the opposit
of the get() function. That is because if drop() is not defined, it will
always be possible to drop an object.

Site Stats

Snippets: 1791
Codebases: 571