Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve AI excess power management #14594
This allows to scale the minimum excess power that the AI is targeting, while also allowing to set a cap. Combined with removing power plants from BuildingFractions, this should prevent the mod AIs from building too many excess power plants, while building enough to maintain a sufficient power reserve.
Maybe the maximum excess power in D2K should be reduced a bit. Because in some maps there is not much build space, and the AI keeps on building structures that it can't place down. Resulting in canceling the building and starting it again. Maybe with less power plants it has enough room to place the last couple of buildings.