Added tutorials and basic help ffor capturing enemy cities and for connecting your cities to the capital with roads

This commit is contained in:
Yair Morgenstern
2018-06-23 23:46:26 +03:00
parent a0e14ee8f8
commit afd712c1c9
4 changed files with 24 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[
{
name:"City",
description: "Your cities are the basis of your empire. Each city has a certain amount of population and many tiles, and can work as many tiles as it has population.\nThe center tile of a city is always worked and does not require population.\nNew Cities can be constructed by building a Settler.\nEach city your empire has removes 3 Happiness from the emmpire, and each population - another 1 Happiness, so plan carefully!"
description: "Your cities are the basis of your empire. Each city has a certain amount of population and many tiles, and can work as many tiles as it has population.\nThe center tile of a city is always worked and does not require population.\nNew Cities can be constructed by building a Settler.\nEach city your empire has removes 3 Happiness from the empire, and each population - another 1 Happiness, so plan carefully!"
},
{
name:"Tile",
@ -29,10 +29,14 @@
},
{
name:"Gold",
description: "A basic resource. Represents the wealth of your empire.\nMost buildings have mainainance costs, which require Gold per turn.\nEvery turn you are in a gold deficit, you will lose science points equal to your debt, which can halt your scientific advancement entirely!."
description: "A basic resource. Represents the wealth of your empire.\nMost buildings have mainainance costs, which require Gold per turn.\nEvery turn you are in a gold deficit, you will lose science points equal to your debt, which can halt your scientific advancement entirely!\nCities connected to the capital by roads will generate gold from the trade route, so connect your larg cities to the capital!"
},
{
name:"Happiness",
description: "A basic resource.\nEach city decreases your empire's happiness by 3, and each population by 1.\nYou can increase your happiness by buildings, or by working Luxury resources.\nWhen in an unhappy state, your surplus food added is reduced to 1/4, dramatically slowing your city growth.\nWhen enough Happiness is accrued, your empire will enter a Golden Age!"
},
{
name:"Capturing Cities",
description: "Cities can be conquered by reducing their health to 1, and entering the city with a melee unit.\nSince cities heal each turn, it is best to attack with ranged units and use your melee units to defend them until the city has been defeated!"
}
]

View File

@ -1572,10 +1572,10 @@
German:"Nachteil bei rauem Gelände"
}
"Bonus vs [unitType]":{
German:"Vorteil gegen eine(n)" // Gender sensitive
German:"Vorteil gegen eine(n) [unitType]" // Gender sensitive
}
"Penalty vs [unitType]":{
German:"Nachteil gegen eine(n)" // Gender sensitive
German:"Nachteil gegen eine(n) [unitType]" // Gender sensitive
}
"Must set up to ranged attack":{
German:"Muss aufstellen um Fernattacken auszuführen"

View File

@ -205,4 +205,14 @@
]
]
EnemyCity: [
[
"You have encoutered an enemy city!",
"Cities can be conquered by reducing their health to 1,",
" and entering the city with a melee unit.",
"Since cities heal each turn, it is best to attack with ranged units"
" and use your melee units to defend them until the city has been defeated!"
]
]
}

View File

@ -160,6 +160,9 @@ class WorldScreen : CameraStageBaseScreen() {
displayTutorials("NextTurn")
if(civInfo.cities.size > 2)
displayTutorials("SecondCity")
if(civInfo.happiness<0)
displayTutorials("Unhappiness")
@ -169,6 +172,9 @@ class WorldScreen : CameraStageBaseScreen() {
if(gameInfo.turns>=100)
displayTutorials("ContactMe")
if(civInfo.exploredTiles.map { gameInfo.tileMap[it] }.any { it.isCityCenter() && it.getOwner()!=civInfo })
displayTutorials("EnemyCity")
shouldUpdate=false
}
super.render(delta)