2 Commits

Author SHA1 Message Date
Curtis Merrill 9e70ef84c7 on_pickup requires item to be in inventory
Co-Authored-By: dobbry-vechur <259678433+dobbry-vechur@users.noreply.github.com>
2026-09-30 22:58:02 -04:00
dumb-kevin 52063bcf3c Fix liquid handling freeze and zone sort spillable bypass
handle_item_target: return false when both create_activity and
pour_into fail, matching handle_vehicle_target.  Prevents infinite
loop in handle_liquid_or_spill when target container is full.

handle_liquid_or_spill: reset dest_opt after each handle_liquid
call, matching consume_liquid.

Zone sort: skip nonempty spillable containers via sort_skip_item
and has_items_to_sort, with a one-time player message.  Normal
pickup and ACT_INSERT_ITEM already refuse these items.

Narrow existing unload-hang test to adjacent destination to avoid
leaking stale destination_point state between tests.
2026-03-26 11:13:29 +04:00