Update religious AI; buying faith buildings, inquisitor AI updates (#7454)

* Update AI for buying with Faith, allowing it to buy Faith buildings

* Minor bug fixes

* Revamped inquisitor AI, minor changes to missionary AI

* Reviews

* Reviews

* Reviews

* Removed magic number
This commit is contained in:
Xander Lenstra
2022-07-23 19:06:48 +02:00
committed by GitHub
parent 2f52b6bf1a
commit 52d0814e7b
27 changed files with 409 additions and 196 deletions

View File

@ -4,8 +4,8 @@ object Constants {
const val worker = "Worker"
const val settler = "Settler"
const val eraSpecificUnit = "Era Starting Unit"
const val spreadReligionAbilityCount = "Spread Religion"
const val removeHeresyAbilityCount = "Remove Foreign religions from your own cities"
const val spreadReligion = "Spread Religion"
const val removeHeresy = "Remove Foreign religions from your own cities"
const val impassable = "Impassable"
const val ocean = "Ocean"
@ -85,6 +85,7 @@ object Constants {
* _Most_ checks do compare to 0!
*/
const val minimumMovementEpsilon = 0.05f // 0.1f was used previously, too - here for global searches
const val aiPreferInquisitorOverMissionaryPressureDifference = 3000f
const val defaultFontSize = 18
const val headingFontSize = 24