Display an amount of gold when buying the tile (#2127)
This commit is contained in:
parent
1564856391
commit
97a9a0f08c
4 changed files with 5 additions and 1 deletions
|
@ -837,6 +837,7 @@ Raze city = Разрушить город
|
|||
Stop razing city = Отменить разрушение города
|
||||
Buy for [amount] gold = Купить за [amount] золота
|
||||
Buy = Купить
|
||||
You have [amount] gold = У вас есть [amount] золота
|
||||
Currently you have [amount] gold. = Сейчас у вас есть [amount] золота.
|
||||
Would you like to purchase [constructionName] for [buildingGoldCost] gold? = Хотите купить [constructionName] за [buildingGoldCost] золота?
|
||||
No space available to place [unit] near [city] = Возле [city] нет места, чтобы разместить [unit]
|
||||
|
|
|
@ -817,6 +817,7 @@ Raze city = Зруйнувати місто
|
|||
Stop razing city = Зупинити руйнування міста
|
||||
Buy for [amount] gold = Купити за [amount] золота
|
||||
Buy = Купити
|
||||
You have [amount] gold = У вас є [amount] золота
|
||||
Currently you have [amount] gold. = Зараз у вас в наявності [amount] золота.
|
||||
Would you like to purchase [constructionName] for [buildingGoldCost] gold? = Бажаєте придбати [constructionName] за [buildingGoldCost] золота?
|
||||
No space available to place [unit] near [city] = Біля [city] немає місця, щоб розмістити [unit]
|
||||
|
|
|
@ -813,6 +813,7 @@ Raze city =
|
|||
Stop razing city =
|
||||
Buy for [amount] gold =
|
||||
Buy =
|
||||
You have [amount] gold =
|
||||
Currently you have [amount] gold. =
|
||||
Would you like to purchase [constructionName] for [buildingGoldCost] gold? =
|
||||
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)
|
||||
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)) {
|
||||
val acquireTileButton = TextButton("Acquire".tr(), CameraStageBaseScreen.skin)
|
||||
|
|
Loading…
Reference in a new issue