prevent_insert
ldmud-3.2.9/doc/applied/prevent_insert · 456 B
From the archive ldmud-329.tar.gz
Download the archive « Back to the archive contents
SYNOPSIS
int prevent_insert()
DESCRIPTION
In compat mode, this function is used by the efun transfer().
Define this function in objects that are neither living nor
rooms if you want to prevent to put something into current
object.
Return true if ok, otherwise 0. That means that default is
that it is not possible to put something into an object.
SEE ALSO
transfer(E), can_put_and_get(A)