mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 20:31:51 -04:00
Display an amount of gold when buying the tile (#2127)
This commit is contained in:
parent
1564856391
commit
97a9a0f08c
@ -837,6 +837,7 @@ Raze city = Разрушить город
|
|||||||
Stop razing city = Отменить разрушение города
|
Stop razing city = Отменить разрушение города
|
||||||
Buy for [amount] gold = Купить за [amount] золота
|
Buy for [amount] gold = Купить за [amount] золота
|
||||||
Buy = Купить
|
Buy = Купить
|
||||||
|
You have [amount] gold = У вас есть [amount] золота
|
||||||
Currently you have [amount] gold. = Сейчас у вас есть [amount] золота.
|
Currently you have [amount] gold. = Сейчас у вас есть [amount] золота.
|
||||||
Would you like to purchase [constructionName] for [buildingGoldCost] gold? = Хотите купить [constructionName] за [buildingGoldCost] золота?
|
Would you like to purchase [constructionName] for [buildingGoldCost] gold? = Хотите купить [constructionName] за [buildingGoldCost] золота?
|
||||||
No space available to place [unit] near [city] = Возле [city] нет места, чтобы разместить [unit]
|
No space available to place [unit] near [city] = Возле [city] нет места, чтобы разместить [unit]
|
||||||
|
@ -817,6 +817,7 @@ Raze city = Зруйнувати місто
|
|||||||
Stop razing city = Зупинити руйнування міста
|
Stop razing city = Зупинити руйнування міста
|
||||||
Buy for [amount] gold = Купити за [amount] золота
|
Buy for [amount] gold = Купити за [amount] золота
|
||||||
Buy = Купити
|
Buy = Купити
|
||||||
|
You have [amount] gold = У вас є [amount] золота
|
||||||
Currently you have [amount] gold. = Зараз у вас в наявності [amount] золота.
|
Currently you have [amount] gold. = Зараз у вас в наявності [amount] золота.
|
||||||
Would you like to purchase [constructionName] for [buildingGoldCost] gold? = Бажаєте придбати [constructionName] за [buildingGoldCost] золота?
|
Would you like to purchase [constructionName] for [buildingGoldCost] gold? = Бажаєте придбати [constructionName] за [buildingGoldCost] золота?
|
||||||
No space available to place [unit] near [city] = Біля [city] немає місця, щоб розмістити [unit]
|
No space available to place [unit] near [city] = Біля [city] немає місця, щоб розмістити [unit]
|
||||||
|
@ -813,6 +813,7 @@ Raze city =
|
|||||||
Stop razing city =
|
Stop razing city =
|
||||||
Buy for [amount] gold =
|
Buy for [amount] gold =
|
||||||
Buy =
|
Buy =
|
||||||
|
You have [amount] gold =
|
||||||
Currently you have [amount] gold. =
|
Currently you have [amount] gold. =
|
||||||
Would you like to purchase [constructionName] for [buildingGoldCost] gold? =
|
Would you like to purchase [constructionName] for [buildingGoldCost] gold? =
|
||||||
No space available to place [unit] near [city] =
|
No space available to place [unit] near [city] =
|
||||||
|
@ -49,7 +49,8 @@ class CityScreenTileTable(val city: CityInfo): Table(){
|
|||||||
if(goldCostOfTile>city.civInfo.gold || city.isPuppet || !UncivGame.Current.worldScreen.isPlayersTurn)
|
if(goldCostOfTile>city.civInfo.gold || city.isPuppet || !UncivGame.Current.worldScreen.isPlayersTurn)
|
||||||
buyTileButton.disable()
|
buyTileButton.disable()
|
||||||
|
|
||||||
innerTable.add(buyTileButton)
|
innerTable.add(buyTileButton).row()
|
||||||
|
innerTable.add("You have [${city.civInfo.gold}] gold".toLabel(Color.YELLOW, 16)).padTop(2f)
|
||||||
}
|
}
|
||||||
if(city.canAcquireTile(selectedTile)) {
|
if(city.canAcquireTile(selectedTile)) {
|
||||||
val acquireTileButton = TextButton("Acquire".tr(), CameraStageBaseScreen.skin)
|
val acquireTileButton = TextButton("Acquire".tr(), CameraStageBaseScreen.skin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user