I was looking through the AI directory and noticed that the stragies.txt file tells the AI what tile improvements to build to achieve different goals. However, I noticed that the improvmentLists.txt file does not list very much. Could this be the reason the AI doesn't build many different types of tile improvements?
Strategies.txt (excerpt)
improvementlists.txt -- ENTIRE FILE
I just ran across this and haven't had time to test it, but I immediately thought of Martin's "Forts for AI" code and wondered if the AI would build forts on its own if they were included in the MISC list. Of course, Martin cleverly wrote his code so that the AI would use the forts to continue missing pieces of road, but perhaps the performance of the AI civs could be dramatically improved by including all the improvements here.
Has any one else seen this?
Strategies.txt (excerpt)
Code:
... // ordered list of terrain improvements that increase growth ImproveGrowthList IMPROVEMENT_LIST_GROWTH // ordered list of terrain improvements that increase production ImproveProductionList IMPROVEMENT_LIST_PRODUCTION // ordered list of terrain improvements to be randomly spread around ImproveRandomList IMPROVEMENT_LIST_MISC ...
Code:
# 4 IMPROVEMENT_LIST_GROWTH { Improvement TILEIMP_FARMS Improvement TILEIMP_ADVANCED_FARMS } IMPROVEMENT_LIST_PRODUCTION { Improvement TILEIMP_MINES } IMPROVEMENT_LIST_TRANSPORATION { Improvement TILEIMP_ROAD } IMPROVEMENT_LIST_MISC { Improvement TILEIMP_LISTENING_POSTS }
Has any one else seen this?
Comment