mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-28 05:39:10 +07:00
Added a label displaying religion is off when it is off (#5412)
This commit is contained in:
@ -1104,6 +1104,7 @@ Founding Civ: =
|
||||
Holy City: =
|
||||
Cities following this religion: =
|
||||
Click an icon to see the stats of this religion =
|
||||
Religion: Off =
|
||||
|
||||
# Terrains
|
||||
|
||||
|
@ -150,8 +150,7 @@ class GameOptionsTable(
|
||||
|
||||
private fun Table.addEraSelectBox() {
|
||||
if (ruleset.technologies.isEmpty()) return // mod with no techs
|
||||
// Should eventually be changed to use eras.json, but we'll keep it like this for now for mod compatibility
|
||||
val eras = ruleset.technologies.values.filter { !it.uniques.contains("Starting tech") }.map { it.era() }.distinct()
|
||||
val eras = ruleset.eras.keys
|
||||
addSelectBox("{Starting Era}:", eras, gameParameters.startingEra)
|
||||
{ gameParameters.startingEra = it }
|
||||
}
|
||||
|
@ -136,6 +136,8 @@ class WorldScreenTopBar(val worldScreen: WorldScreen) : Table() {
|
||||
|
||||
faithLabel.onClick(invokeFaithOverview)
|
||||
faithImage.onClick(invokeFaithOverview)
|
||||
} else {
|
||||
statsTable.add("Religion: Off".toLabel()).padLeft(20f)
|
||||
}
|
||||
|
||||
statsTable.pack()
|
||||
|
Reference in New Issue
Block a user