Added tutorials on injured units and workers
This commit is contained in:
parent
9fe24e2d3d
commit
60b86decfb
2 changed files with 24 additions and 0 deletions
|
@ -290,4 +290,22 @@
|
|||
]
|
||||
]
|
||||
|
||||
InjuredUnits:[
|
||||
[
|
||||
"One of your units is injured!",
|
||||
"Injured units deal less damage, but recover after turns that they have been inactive",
|
||||
"Units heal 5 health per turn in enemy territory, 10 in neutral land,"
|
||||
" 15 inside your territory and 20 in your cities"
|
||||
]
|
||||
]
|
||||
|
||||
Worker:[
|
||||
[
|
||||
"You have trained a worker!",
|
||||
"Workers are vital to your cities' growth, since only they can onstruct improvements on tiles",
|
||||
"Improvements raise the yield of your tiles, allowing your city to produce more and grow faster",
|
||||
" while working the same amount of tiles!"
|
||||
]
|
||||
]
|
||||
|
||||
}
|
||||
|
|
|
@ -120,6 +120,12 @@ class WorldScreen : CameraStageBaseScreen() {
|
|||
}
|
||||
}
|
||||
|
||||
if(gameClone.getPlayerCivilization().getCivUnits().any { it.health<100 })
|
||||
displayTutorials("InjuredUnits")
|
||||
|
||||
if(gameClone.getPlayerCivilization().getCivUnits().any { it.name=="Worker" })
|
||||
displayTutorials("WorkerTrained")
|
||||
|
||||
updateTechButton(cloneCivilization)
|
||||
updateDiplomacyButton(cloneCivilization)
|
||||
|
||||
|
|
Loading…
Reference in a new issue