Thalassicus
Bytes and Nibblers
The Iroquois trait bug annoys me too, what I ended up doing in the leaders mod is add the "woodsman" promotion to melee units for Hiawatha (same mechanic as Washington's scouting promotion). It sort of compensates for the buggy trait.
To remove maintenance on forests I'd do:
To remove maintenance on forests I'd do:
- ALTER TABLE Traits ADD NoMaintenanceForests boolean default false;
(in a sql file loaded before anything that uses it) - Add this new stat to the Iroquois trait.
- At the start of the player's turn, loop through all players to check for the trait, then loop through forests in friendly territory, check if an improvement requiring maintenance is there, and if so, add -1*maintenance to the player's gold supply (adjusted for policies).
- Recalculate tech deficit due to gold deficit if it exists, and if necessary add to beakers as well.
- Update all UI elements displaying maintenance or beakers to consider the NoMaintenanceForests effect.