mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 20:59:18 +07:00
AI doesn't declare war until it's sufficiently built up
This commit is contained in:
@ -712,7 +712,8 @@ object NextTurnAutomation {
|
||||
|
||||
val ourMilitaryUnits = civInfo.units.getCivUnits().filter { !it.isCivilian() }.count()
|
||||
if (ourMilitaryUnits < civInfo.cities.size) return
|
||||
if (ourMilitaryUnits < 4) return // to stop AI declaring war at the beginning of games when everyone isn't set up well enough
|
||||
if (ourMilitaryUnits < 4) return // to stop AI declaring war at the beginning of games when everyone isn't set up well enough\
|
||||
if (civInfo.cities.size < 3) return // FAR too early for that what are you thinking!
|
||||
|
||||
//evaluate war
|
||||
val enemyCivs = civInfo.getKnownCivs()
|
||||
|
Reference in New Issue
Block a user