mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-09 10:29:02 +07:00
AI more willing to take happiness risk to create a new city
This commit is contained in:
parent
71828349df
commit
685df48f5a
@ -1037,7 +1037,8 @@ object NextTurnAutomation {
|
||||
if (civInfo.isCityState()) return
|
||||
if (civInfo.isAtWar()) return // don't train settlers when you could be training troops.
|
||||
if (civInfo.wantsToFocusOn(Victory.Focus.Culture) && civInfo.cities.size > 3) return
|
||||
if (civInfo.cities.none() || civInfo.getHappiness() <= civInfo.cities.size + 5) return
|
||||
if (civInfo.cities.none()) return
|
||||
if (civInfo.getHappiness() <= civInfo.cities.size) return
|
||||
|
||||
val settlerUnits = civInfo.gameInfo.ruleset.units.values
|
||||
.filter { it.hasUnique(UniqueType.FoundCity) && it.isBuildable(civInfo) }
|
||||
|
Loading…
Reference in New Issue
Block a user