Ruleset setting for minimum trade route output added. osdn #43011
While this can have values higher than 1, it's likely to be typically used to tell if trade from a trade route can go down to zero, or will the route always produce at least 1 trade.
Changes in what a 3.1 ruleset can do
Re: Changes in what a 3.1 ruleset can do
New Min_HP_Pct effect that tells the minimum HP that unit has in the beginning of the new turn if it didn't move the previous turn. This is applied after HP_Regen effects have been factored in. Other recovery factors are applied on top of that minimum. osdn #42699
This has been used to unhardcode minimum HP unit's get inside a city.
This has been used to unhardcode minimum HP unit's get inside a city.
Re: Changes in what a 3.1 ruleset can do
Lua method City:remove() added osdn #44229
Re: Changes in what a 3.1 ruleset can do
New HP_Regen_2 effect finalizes unhardcoding unit healing rules.
It replaces hardcoded rules of "base healing" of 10% (except for Helicopters) and 10% healing of fortified units.
osdn #44201
The difference to HP_Regen effects are that these are applied at different point of calculation (after Min_HP_Pct, adding to it) and different rounding rules.
It replaces hardcoded rules of "base healing" of 10% (except for Helicopters) and 10% healing of fortified units.
osdn #44201
The difference to HP_Regen effects are that these are applied at different point of calculation (after Min_HP_Pct, adding to it) and different rounding rules.