Ignore isolated fish resources for fisheries#1925
Ignore isolated fish resources for fisheries#1925DevOpsOfChaos wants to merge 3 commits intoReturn-To-The-Roots:masterfrom
Conversation
|
Updated. I cleaned up the test as requested. The extra Validation:
|
2f16b65 to
58c0217
Compare
|
Thinking about this again: Wouldn't it make more sense to "fix" the map during loading? |
58c0217 to
7e4777e
Compare
I reworked this in the direction you suggested. The isolated/non-water fish cleanup now happens once in Connected water with fish is unchanged; isolated one-node water and non-water fish resources are normalized away during world resource setup. Validation:
|
Summary
Motivation
Fisheries could still produce fish from an isolated one-node water pond if that node had a fish resource. In the original behavior described in #1171, such isolated water should be exhausted without producing fish.
This change keeps larger/connected water usable, but ignores fish resources on isolated water points.
Validation
Test_integrationlocally with Visual Studio 2022 / DebugTest_integration.exe --run_test=BuildingSuite/FisherIgnoresIsolatedFishWater --report_level=shortTest_integration.exe --run_test=BuildingSuite --report_level=shortFixes #1171