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