Improved Grigori AI for adventurers

Issue #123 resolved
joseasoler repo owner created an issue

Right now, the Adventurer Counter component relies on trusting that the AI will build certain adventurer point generating buildings that are also useful by themselves. Since making the AI understand the Adventurer Counter mechanic better would require making it use XML tags (something I don't want to do for a civilization specific feature), it would be better to push the AI to build the best buildings WRT adventurer points. An example can be seen here:

http://sourceforge.net/p/tholalsffhaimod/code/1552/tree//python/CvGameUtils.py?diff=51a785325fcbc94503c79486:1551

The Grigori AI should build Adventurer's Guild everywhere, as long as the city has enough population and a minimal culture, just to ensure that the city has the minimal buildings before building the guild. It should also build Command Posts everywhere with the same requirements, checking if it can build them first. If a city has a certain amount of specialists, it should also build the Citizen's Forum. The AI can be trusted to build the other buildings by itself.

This should also remove the iAImod hack in CustomFunctions.py/doChanceAdventurerSpawn.

Comments (3)

  1. Log in to comment