mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-05 15:59:50 +07:00
Fix tech description items alignment
This commit is contained in:
@ -56,7 +56,7 @@ class Technology: RulesetObject() {
|
|||||||
if (enabledUnits.any()) {
|
if (enabledUnits.any()) {
|
||||||
lineList += "{Units enabled}: "
|
lineList += "{Units enabled}: "
|
||||||
for (unit in enabledUnits)
|
for (unit in enabledUnits)
|
||||||
lineList += " * " + unit.name.tr() + " (" + unit.getShortDescription() + ")"
|
lineList += " • " + unit.name.tr() + " (" + unit.getShortDescription() + ")"
|
||||||
}
|
}
|
||||||
|
|
||||||
val enabledBuildings = getEnabledBuildings(ruleset, viewingCiv)
|
val enabledBuildings = getEnabledBuildings(ruleset, viewingCiv)
|
||||||
@ -65,14 +65,14 @@ class Technology: RulesetObject() {
|
|||||||
if (regularBuildings.any()) {
|
if (regularBuildings.any()) {
|
||||||
lineList += "{Buildings enabled}: "
|
lineList += "{Buildings enabled}: "
|
||||||
for (building in regularBuildings)
|
for (building in regularBuildings)
|
||||||
lineList += "* " + building.name.tr() + " (" + building.getShortDescription() + ")"
|
lineList += " • " + building.name.tr() + " (" + building.getShortDescription() + ")"
|
||||||
}
|
}
|
||||||
|
|
||||||
val wonders = enabledBuildings.filter { it.isAnyWonder() }
|
val wonders = enabledBuildings.filter { it.isAnyWonder() }
|
||||||
if (wonders.any()) {
|
if (wonders.any()) {
|
||||||
lineList += "{Wonders enabled}: "
|
lineList += "{Wonders enabled}: "
|
||||||
for (wonder in wonders)
|
for (wonder in wonders)
|
||||||
lineList += " * " + wonder.name.tr() + " (" + wonder.getShortDescription() + ")"
|
lineList += " • " + wonder.name.tr() + " (" + wonder.getShortDescription() + ")"
|
||||||
}
|
}
|
||||||
|
|
||||||
for (obj in getObsoletedObjects(ruleset, viewingCiv))
|
for (obj in getObsoletedObjects(ruleset, viewingCiv))
|
||||||
|
Reference in New Issue
Block a user