mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Resolved #3586 - Added 'Destroy' translation for capturing cities in one-city challenge
This commit is contained in:
parent
fda3c1053d
commit
36949410a7
@ -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! =
|
||||
|
@ -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 -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user