Add Air Intercept Range to Civilopedia card (#12044)

* Add Air Intercept Range to Civilopedia card

* Add translation entry
This commit is contained in:
itanasi
2024-08-03 13:18:33 -07:00
committed by GitHub
parent d0e6dfcdfa
commit c94d401826
2 changed files with 5 additions and 0 deletions

View File

@ -1690,6 +1690,7 @@ Start year: [comment] =
Pillaging this improvement yields [stats] =
Pillaging this improvement yields approximately [stats] =
Needs removal of terrain features to be built =
Air Intercept Range: [amount] =
Unit type =
Units: =
Unit types =

View File

@ -97,6 +97,10 @@ object BaseUnitDescriptions {
textList += FormattedLine(stats.joinToString("/", "{Cost}: "))
}
if (baseUnit.interceptRange > 0) {
textList += FormattedLine("Air Intercept Range: [${baseUnit.interceptRange}]")
}
if (baseUnit.replacementTextForUniques.isNotEmpty()) {
textList += FormattedLine()
textList += FormattedLine(baseUnit.replacementTextForUniques)