mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 03:18:18 +07:00
Add unit type to Civilopedia (#7620)
This commit is contained in:
parent
f1a69744cb
commit
b630388984
@ -1392,7 +1392,7 @@ Start year: [comment] =
|
||||
Pillaging this improvement yields [stats] =
|
||||
Pillaging this improvement yields approximately [stats] =
|
||||
Needs removal of terrain features to be built =
|
||||
|
||||
Unit type =
|
||||
|
||||
# Policies
|
||||
|
||||
|
@ -111,6 +111,7 @@ class BaseUnit : RulesetObject(), INonPerpetualConstruction {
|
||||
|
||||
override fun getCivilopediaTextLines(ruleset: Ruleset): List<FormattedLine> {
|
||||
val textList = ArrayList<FormattedLine>()
|
||||
textList += FormattedLine("{Unit type}: ${unitType.tr()}")
|
||||
|
||||
val stats = ArrayList<String>()
|
||||
if (strength != 0) stats += "$strength${Fonts.strength}"
|
||||
|
Loading…
Reference in New Issue
Block a user