diff --git a/android/assets/jsons/translations/template.properties b/android/assets/jsons/translations/template.properties index bc6082c215..c8a0cf845c 100644 --- a/android/assets/jsons/translations/template.properties +++ b/android/assets/jsons/translations/template.properties @@ -721,6 +721,8 @@ Liberating a city returns it to its original owner, giving you a massive relatio Raze = Razing the city annexes it, and starts razing the city to the ground. = The population will gradually dwindle until the city is destroyed. = +Destroy = +Destroying the city instantly razes the city to the ground. = Remove your troops in our border immediately! = Sorry. = Never! = diff --git a/core/src/com/unciv/ui/worldscreen/AlertPopup.kt b/core/src/com/unciv/ui/worldscreen/AlertPopup.kt index 7a346dd972..af76126bfc 100644 --- a/core/src/com/unciv/ui/worldscreen/AlertPopup.kt +++ b/core/src/com/unciv/ui/worldscreen/AlertPopup.kt @@ -75,8 +75,15 @@ class AlertPopup(val worldScreen: WorldScreen, val popupAlert: PopupAlert): Popu addSeparator() } - if (!conqueringCiv.isOneCityChallenger()) { - + if (conqueringCiv.isOneCityChallenger()) { + add("Destroy".toTextButton().onClick { + city.puppetCity(conqueringCiv) + city.destroyCity() + worldScreen.shouldUpdate = true + close() + }).row() + addGoodSizedLabel("Destroying the city instantly razes the city to the ground.").row() + } else { add("Annex".toTextButton().onClick { city.puppetCity(conqueringCiv) city.annexCity() @@ -111,15 +118,6 @@ class AlertPopup(val worldScreen: WorldScreen, val popupAlert: PopupAlert): Popu }).row() addGoodSizedLabel("Razing the city annexes it, and starts razing the city to the ground.").row() addGoodSizedLabel("The population will gradually dwindle until the city is destroyed.").row() - } else { - - add("Destroy".toTextButton().onClick { - city.puppetCity(conqueringCiv) - city.destroyCity() - worldScreen.shouldUpdate = true - close() - }).row() - addGoodSizedLabel("Destroying the city instantly razes the city to the ground.").row() } } AlertType.BorderConflict -> {