C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
33 stars 9 forks source link

Test Freshwater Sea/Lake Requirements #368

Open QuintillusCFC opened 1 year ago

QuintillusCFC commented 1 year ago

Related to #355 ; see WildWeazel's comment:

This will be referenced for a few things: "coastal" production options, "fresh water" proximity, and the food yield (is that a hard coded +1 for freshwater coast?). I think any sea or ocean tiles automatically mean it's considered open sea.

We need to test:

Don't forget to disable the Despotism penalty when testing for food/commerce bonus.

Please document your findings, either via sourced material (e.g. CFC threads) or with your own testing as the source.

We will likely make aspects of this configurable, but want to have a legacy-compatible rule set as well.

WildWeazel commented 1 year ago

On Discord, Lumadous reports that 20 tiles or less is considered fresh water on all map sizes, and that fresh water tiles do not confer any "coastal" effects nor receive any water bonuses. The game will never generate sea or ocean tiles in freshwater bodies, but placing them makes no difference.

To answer your questions directly:

Given that, I'm thinking we should have a salt/fresh flag on each water tile for the rules to check, and automatically apply it when importing maps. That way each rule is free to determine how to treat each, and custom maps are free to assign them arbitrarily.

pcen commented 11 months ago

https://github.com/C7-Game/Prototype/pull/430 will implement this without the ability for custom rules (though, we don't really have any configurable rules at the moment)