mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-13 08:14:29 +07:00
Allow city state uniques for nation descriptions (#11232)
This commit is contained in:
parent
2d1e55a4d4
commit
d99bd03277
@ -109,10 +109,10 @@ class Nation : RulesetObject() {
|
||||
}
|
||||
|
||||
override fun getCivilopediaTextLines(ruleset: Ruleset): List<FormattedLine> {
|
||||
if (isCityState) return getCityStateInfo(ruleset)
|
||||
|
||||
val textList = ArrayList<FormattedLine>()
|
||||
|
||||
if (isCityState) textList += getCityStateInfo(ruleset)
|
||||
|
||||
if (leaderName.isNotEmpty()) {
|
||||
textList += FormattedLine(extraImage = "LeaderIcons/$leaderName", imageSize = 200f)
|
||||
textList += FormattedLine(getLeaderDisplayName(), centered = true, header = 3)
|
||||
@ -184,6 +184,7 @@ class Nation : RulesetObject() {
|
||||
}
|
||||
}
|
||||
}
|
||||
textList += FormattedLine(separator = true)
|
||||
|
||||
// personality is not a nation property, it gets assigned to the civ randomly
|
||||
return textList
|
||||
|
Loading…
Reference in New Issue
Block a user