Miscellaneous linting, Unique typifying, refactoring, bugfix/consistency to avoid broken links to disabled religious UBs. (#6012)

* Remove unused Constants.

* Remove outdated comments.

* Typified "Will not be displayed in Civilopedia" Unique.

* Fix pre-existing inconsistency that would display religious UBs with broken links in the Civilopedia when religion was disabled.

* Use Sequences, and fewer function params, in Nations' Civilopedia texts.

* Accidentally hid a Unique that should be visible.

* Oops… Missed a negation.

* Unhide limitations on Religious Ruin rewards— But I'm not sure they'll be displayed anywhere even so.
This commit is contained in:
will-ca
2022-01-23 09:08:26 -08:00
committed by GitHub
parent 2b7e279b4d
commit da748a96f9
9 changed files with 70 additions and 78 deletions

View File

@ -6,7 +6,6 @@ object Constants {
const val eraSpecificUnit = "Era Starting Unit"
const val spreadReligionAbilityCount = "Spread Religion"
const val removeHeresyAbilityCount = "Remove Foreign religions from your own cities"
const val hideFromCivilopediaUnique = "Will not be displayed in Civilopedia"
const val impassable = "Impassable"
const val ocean = "Ocean"
@ -23,9 +22,6 @@ object Constants {
const val forest = "Forest"
const val jungle = "Jungle"
const val marsh = "Marsh"
const val oasis = "Oasis"
const val atoll = "Atoll"
const val ice = "Ice"
const val floodPlains = "Flood plains"
val vegetation = arrayOf(forest, jungle)
@ -41,7 +37,6 @@ object Constants {
const val fort = "Fort"
const val citadel = "Citadel"
const val tradingPost = "Trading post"
const val futureTech = "Future Tech"
// Easter egg name. Hopefully is to hopefully avoid conflicts when later players can name their own religions.
@ -55,8 +50,6 @@ object Constants {
const val close = "Close"
const val yes = "Yes"
const val no = "No"
const val enabled = "enabled"
const val disabled = "disabled"
const val barbarians = "Barbarians"
const val spectator = "Spectator"