mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 22:06:05 -04:00
Added annex/puppet/liberate/raze explanations on the popup where you choose between them
This commit is contained in:
parent
14cbe9e21d
commit
36ffc5520a
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
@ -1831,17 +1831,37 @@
|
|||||||
French:"Annexer"
|
French:"Annexer"
|
||||||
Simplified_Chinese:"吞并"
|
Simplified_Chinese:"吞并"
|
||||||
Russian:"Аннексировать"
|
Russian:"Аннексировать"
|
||||||
|
},
|
||||||
|
|
||||||
|
"Annexed cities become part of your regular empire.":{
|
||||||
|
}
|
||||||
|
"Their citizens generate 2x the unhappiness, unless you build a courthouse.":{
|
||||||
}
|
}
|
||||||
|
|
||||||
"Puppet City":{
|
"Puppet":{
|
||||||
Italian:"Riduci a Stato Fantoccio"
|
Italian:"Riduci a Stato Fantoccio"
|
||||||
Simplified_Chinese:"傀儡城市"
|
Simplified_Chinese:"傀儡城市"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Puppeted cities do not increase your tech or policy cost, but their citizens generate 1.5x the regular unhappiness.":{
|
||||||
|
}
|
||||||
|
|
||||||
|
"You have no control over the the production of puppeted cities.":{
|
||||||
|
}
|
||||||
|
|
||||||
|
"Puppeted cities also generate 25% less Gold and Science.":{
|
||||||
|
}
|
||||||
|
|
||||||
|
"A puppeted city can be annexed at any time.":{
|
||||||
|
}
|
||||||
|
|
||||||
"Liberate":{
|
"Liberate":{
|
||||||
Italian:"Libera"
|
Italian:"Libera"
|
||||||
Simplified_Chinese:"解放"
|
Simplified_Chinese:"解放"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Liberating a city returns it to its original owner, giving you a massive relationship boost with them!":{
|
||||||
|
}
|
||||||
|
|
||||||
"Raze":{
|
"Raze":{
|
||||||
Italian:"Distruggi"
|
Italian:"Distruggi"
|
||||||
@ -1850,6 +1870,12 @@
|
|||||||
Russian:"Разорить"
|
Russian:"Разорить"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Razing the city annexes it, and starts razing the city to the ground.":{
|
||||||
|
}
|
||||||
|
|
||||||
|
"The population will gradually dwindle until the city is destroyed.":{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
////// When you cross a City-State border
|
////// When you cross a City-State border
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ android {
|
|||||||
applicationId "com.unciv.app"
|
applicationId "com.unciv.app"
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 29
|
targetSdkVersion 29
|
||||||
versionCode 308
|
versionCode 309
|
||||||
versionName "3.1.5"
|
versionName "3.1.6"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Had to add this crap for Travis to build, it wanted to sign the app
|
// Had to add this crap for Travis to build, it wanted to sign the app
|
||||||
|
@ -60,8 +60,10 @@ class AlertPopup(val worldScreen: WorldScreen, val popupAlert: PopupAlert): Popu
|
|||||||
}
|
}
|
||||||
AlertType.CityConquered -> {
|
AlertType.CityConquered -> {
|
||||||
val city = worldScreen.gameInfo.civilizations.flatMap { it.cities }.first { it.name == popupAlert.value}
|
val city = worldScreen.gameInfo.civilizations.flatMap { it.cities }.first { it.name == popupAlert.value}
|
||||||
addGoodSizedLabel("What would you like to do with the city?").row()
|
addGoodSizedLabel("What would you like to do with the city?")
|
||||||
|
.apply { this.actor.setFontSize(24) }.padBottom(20f).row()
|
||||||
val conqueringCiv = worldScreen.gameInfo.currentPlayerCiv
|
val conqueringCiv = worldScreen.gameInfo.currentPlayerCiv
|
||||||
|
|
||||||
if (city.foundingCiv != ""
|
if (city.foundingCiv != ""
|
||||||
&& city.civInfo.civName != city.foundingCiv // can't liberate if the city actually belongs to those guys
|
&& city.civInfo.civName != city.foundingCiv // can't liberate if the city actually belongs to those guys
|
||||||
&& conqueringCiv.civName != city.foundingCiv) { // or belongs originally to us
|
&& conqueringCiv.civName != city.foundingCiv) { // or belongs originally to us
|
||||||
@ -70,25 +72,40 @@ class AlertPopup(val worldScreen: WorldScreen, val popupAlert: PopupAlert): Popu
|
|||||||
worldScreen.shouldUpdate=true
|
worldScreen.shouldUpdate=true
|
||||||
close()
|
close()
|
||||||
}).row()
|
}).row()
|
||||||
|
addGoodSizedLabel("Liberating a city returns it to its original owner, giving you a massive relationship boost with them!")
|
||||||
|
addSeparator()
|
||||||
}
|
}
|
||||||
|
|
||||||
add(TextButton("Annex".tr(), skin).onClick {
|
add(TextButton("Annex".tr(), skin).onClick {
|
||||||
city.puppetCity(conqueringCiv)
|
city.puppetCity(conqueringCiv)
|
||||||
city.annexCity()
|
city.annexCity()
|
||||||
worldScreen.shouldUpdate=true
|
worldScreen.shouldUpdate=true
|
||||||
close()
|
close()
|
||||||
}).row()
|
}).row()
|
||||||
add(TextButton("Puppet City".tr(), skin).onClick {
|
addGoodSizedLabel("Annexed cities become part of your regular empire.").row()
|
||||||
|
addGoodSizedLabel("Their citizens generate 2x the unhappiness, unless you build a courthouse.").row()
|
||||||
|
addSeparator()
|
||||||
|
|
||||||
|
add(TextButton("Puppet".tr(), skin).onClick {
|
||||||
city.puppetCity(conqueringCiv)
|
city.puppetCity(conqueringCiv)
|
||||||
worldScreen.shouldUpdate=true
|
worldScreen.shouldUpdate=true
|
||||||
close()
|
close()
|
||||||
}).row()
|
}).row()
|
||||||
|
addGoodSizedLabel("Puppeted cities do not increase your tech or policy cost, but their citizens generate 1.5x the regular unhappiness.").row()
|
||||||
|
addGoodSizedLabel("You have no control over the the production of puppeted cities.").row()
|
||||||
|
addGoodSizedLabel("Puppeted cities also generate 25% less Gold and Science.").row()
|
||||||
|
addGoodSizedLabel("A puppeted city can be annexed at any time.").row()
|
||||||
|
addSeparator()
|
||||||
|
|
||||||
add(TextButton("Raze".tr(), skin).onClick {
|
add(TextButton("Raze".tr(), skin).onClick {
|
||||||
city.puppetCity(conqueringCiv)
|
city.puppetCity(conqueringCiv)
|
||||||
city.annexCity()
|
city.annexCity()
|
||||||
city.isBeingRazed = true
|
city.isBeingRazed = true
|
||||||
worldScreen.shouldUpdate=true
|
worldScreen.shouldUpdate=true
|
||||||
close()
|
close()
|
||||||
})
|
}).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()
|
||||||
}
|
}
|
||||||
AlertType.BorderConflict -> {
|
AlertType.BorderConflict -> {
|
||||||
val civInfo = worldScreen.gameInfo.getCivilization(popupAlert.value)
|
val civInfo = worldScreen.gameInfo.getCivilization(popupAlert.value)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user