mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 18:28:42 +07:00
Added tutorials on injured units and workers
This commit is contained in:
@ -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)
|
updateTechButton(cloneCivilization)
|
||||||
updateDiplomacyButton(cloneCivilization)
|
updateDiplomacyButton(cloneCivilization)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user