Added tutorial for 'Next unit'

This commit is contained in:
Yair Morgenstern
2019-07-24 17:58:32 +03:00
parent 6e2266f25f
commit 7d38841eb8
2 changed files with 11 additions and 0 deletions

View File

@ -363,4 +363,14 @@
]
]
Idle_Units:[
[
"If you don't want to move a unit this turn, you can skip it by clicking 'Next unit' again.",
"If you won't be moving it for a while, you can have the unit enter Fortify or Sleep mode - ",
" units in Fortify or Sleep are not considered idle units.",
"If you want to disable the 'Next unit' feature entirely, you can toggle it in Menu -> Check for idle units",
]
]
}

View File

@ -359,6 +359,7 @@ class WorldScreen : CameraStageBaseScreen() {
if(currentPlayerCiv.getHappiness() < 5) displayTutorials("HappinessGettingLow")
if(currentPlayerCiv.getHappiness() < 0) displayTutorials("Unhappiness")
if(currentPlayerCiv.goldenAges.isGoldenAge()) displayTutorials("GoldenAge")
if(gameInfo.turns >= 50 && UnCivGame.Current.settings.checkForDueUnits) displayTutorials("Idle_Units")
if(gameInfo.turns >= 100) displayTutorials("ContactMe")
val resources = currentPlayerCiv.getCivResources()
if(resources.any { it.resource.resourceType==ResourceType.Luxury }) displayTutorials("LuxuryResource")