-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add improvement evaluation scores for golden age points, local culture and tourism. Tweak values of existing yields. Builder AI will now prechop features for future planned improvements. Builder AI should now be better at planning improvements with SameAdjacent and SameTwoAdjacent properties. Builder AI should no longer build non-town GP improvements on city connections. Skip some unnecessary computations in CP version, should make it a bit more efficient. When canBuild is called with bTestEra set to true, also take this in consideration when checking if a feature is blocking the build. Fix bug where improvements with large negative scores would be valued very highly (mostly affecting GP improvements). Simplify improvement resource monopoly calculation and make it consistent (should solve rare issue of improvement indecision from the AI). Ignore luxury value if the luxury is banned. Add a small static value to existing improvements. Remove an unused function.
- Loading branch information
1 parent
ceb0cdc
commit 1da77b4
Showing
9 changed files
with
406 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters