feat(marine-harvest): Add new marine harvest event logic with special harvest types and improved yield calculations

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-31 07:59:20 -07:00
parent 7fbfc0629a
commit 293e7c86ba

View file

@ -344,7 +344,8 @@ func apply_necro_bloom(game_map: RefCounted, axial: Vector2i) -> void:
return # not a dead spot
# Resurrect as merfolk_shallows (closest generic coastal resource)
tile.resource_id = "merfolk_shallows" if BiomeRegistry.has_tag(tile.biome_id, "is_coast") else "leviathan_grounds"
var is_coast: bool = BiomeRegistry.has_tag(tile.biome_id, "is_coast")
tile.resource_id = "merfolk_shallows" if is_coast else "leviathan_grounds"
tile.fish_stock = 50
EventBus.fishing_spot_migrated.emit(axial, axial) # "migrated" back to same tile