Lfun: forbid_leave_container - forbid an item to leave a container Synopsis: int forbid_leave_container(object container) Description: The forbid_leave_container function is called in an item before it leaves a container, for example if a player wants to take it out. Return value: Return 1, if the item mustn't leave the container, 0 if it may. Examples: An item that doesn't leave a bag: forbid_leave_container(con) { return con->id("bag"); } See also: object/notify_item_enter, object/notify_item_leave, object/forbid_item_enter, object/forbid_item_leave, object/notify_enter_container, object/notify_leave_container, object/forbid_enter_container, object/drop, object/get, efun/move_object, efun/transfer