Hide Unmet Civ and Capital Names in the Victory Status Screen (#6742)

* Hide the names of unmet yet alive civs in the victory screen.

Mainly affects the DestroyAllPlayers victory but the CaptureAllCapitals (as capital name) and WorldReligion victory code is updated accordingly.

* Redundant condition since dead civs can't hold cities.

* Formatting + undid CaptureAllCapitals name obscuring since there could be some cases where the known capital name suddenly becomes unknown.

* Parameterized if statement

* Hide other capital names until the tile is explored.

* New constant for an unknown city name.

Co-authored-by: OptimizedForDensity <>
This commit is contained in:
OptimizedForDensity
2022-05-11 04:46:37 -04:00
committed by GitHub
parent 531906f5ba
commit 5a78c59405
2 changed files with 15 additions and 6 deletions

View File

@ -43,6 +43,7 @@ object Constants {
const val openBorders = "Open Borders"
const val random = "Random"
const val unknownNationName = "???"
const val unknownCityName = "???"
const val fort = "Fort"