mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-20 17:32:57 +07:00
Merge pull request #335 from ninjatao/cityrange_tutorial
Add city range tutorial.
This commit is contained in:
commit
9187465699
@ -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."
|
||||
]
|
||||
]
|
||||
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user