add_weight

mud/2.4.5/doc/lfun/add_weight · 310 B

From the archive 2.4.5-for-1.1.tgz

Download the archive   « Back to the archive contents

int add_weight(w)
int w;

An object that can contain other objects must define this function.
It is called with the extra weight of the new object. If this is ok,
then it has to increment the local weight count, and return true. Otherwise,
return false, and the new object can not be entered into this object.

Site Stats

Snippets: 1791
Codebases: 571