blob: a331a47683ed5a9a509350bce6f89dded8964471 [file] [log] [blame]
Zesstra7ea4a032019-11-26 20:11:40 +01001SYNOPSIS
2 int query_allow_shadow(object victim)
MG Mud User88f12472016-06-24 23:31:02 +02003
Zesstra7ea4a032019-11-26 20:11:40 +01004DESCRIPTION
5 Return 1 if previous_object() is allowed to use efun shadow()
6 on object victim, 0 if it is not.
MG Mud User88f12472016-06-24 23:31:02 +02007
Zesstra7ea4a032019-11-26 20:11:40 +01008 The function should deny shadowing on all root objects, else
9 it might query the victim for clearance. Most installations
10 seem to use victim->prevent_shadow(previous_object()) to
11 check if the victim denies being shadowed.
MG Mud User88f12472016-06-24 23:31:02 +020012
Zesstra7ea4a032019-11-26 20:11:40 +010013SEE ALSO
14 shadow(E)