mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-23 14:19:15 +07:00
Merge pull request #335 from ninjatao/cityrange_tutorial
Add city range tutorial.
This commit is contained in:
@ -307,4 +307,12 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
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
|
val viewEntireMapForDebug = false
|
||||||
|
|
||||||
// For when you need to test something in an advanced game and don't have time to faff around
|
// 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
|
lateinit var worldScreen: WorldScreen
|
||||||
|
|
||||||
|
@ -60,6 +60,10 @@ class CityScreen(internal val city: CityInfo) : CameraStageBaseScreen() {
|
|||||||
updateGoToWorldButton()
|
updateGoToWorldButton()
|
||||||
updateTileTable()
|
updateTileTable()
|
||||||
updateTileGroups()
|
updateTileGroups()
|
||||||
|
|
||||||
|
if (city.getCenterTile().getTilesAtDistance(4).isNotEmpty()){
|
||||||
|
displayTutorials("CityRange")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun updateTileGroups() {
|
private fun updateTileGroups() {
|
||||||
|
Reference in New Issue
Block a user