Merge pull request #335 from ninjatao/cityrange_tutorial

Add city range tutorial.
This commit is contained in:
yairm210 2018-12-12 22:34:42 +02:00 committed by GitHub
commit 9187465699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View File

@ -306,5 +306,13 @@
"Units are defenseless while embarked, so be careful!"
]
]
CityRange:[
[
"Your citizens can work 3 tiles away from city center.",
"The city border will keep expanding,",
"but citizen cannot be assigned to a tile too far."
]
]
}

View File

@ -21,7 +21,7 @@ class UnCivGame : Game() {
val viewEntireMapForDebug = false
// For when you need to test something in an advanced game and don't have time to faff around
val superchargedForDebug = true
val superchargedForDebug = false
lateinit var worldScreen: WorldScreen

View File

@ -60,6 +60,10 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
updateGoToWorldButton()
updateTileTable()
updateTileGroups()
if (city.getCenterTile().getTilesAtDistance(4).isNotEmpty()){
displayTutorials("CityRange")
}
}
private fun updateTileGroups() {