Add gathering, unified inventory, and real-time world

This commit is contained in:
Alexander Sellite 2026-08-18 18:19:36 -04:00
parent 173371e6fc
commit fa57edca83
113 changed files with 6700 additions and 1307 deletions

View file

@ -928,7 +928,9 @@ func _can_receive(attachment: Dictionary) -> bool:
return _wallet.can_credit(int(attachment["amount"]))
PlayerAssetReservationService.AttachmentType.FISH:
return (
_inventory.get_all_catches().size() < _cooler_capacity.get_capacity()
_inventory.can_accept_catch(
StringName(str(attachment["catch_id"]))
)
and not _inventory.contains_catch_id(
StringName(str(attachment["catch_id"]))
)