From 29decb5f6766674df7e97309a38375c8e11d04fe Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sat, 21 Jan 2023 19:30:04 +0200 Subject: [PATCH] AI doesn't declare war until it's sufficiently built up --- .../unciv/logic/automation/civilization/NextTurnAutomation.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt b/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt index 8a56176161..ecfee6a4bc 100644 --- a/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt +++ b/core/src/com/unciv/logic/automation/civilization/NextTurnAutomation.kt @@ -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()