Added 'in puppeted cities' cityFilter (#6843)

* Added 'in puppetted cities' cityFilter

* Added to list of unique parameters
This commit is contained in:
Xander Lenstra 2022-05-17 17:43:20 +02:00 committed by GitHub
parent df9b62ff6f
commit fa2c5f7cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -858,6 +858,7 @@ class CityInfo {
&& !civInfo.isAtWarWith(viewingCiv) && !civInfo.isAtWarWith(viewingCiv)
"in foreign cities" -> viewingCiv != civInfo "in foreign cities" -> viewingCiv != civInfo
"in annexed cities" -> foundingCiv != civInfo.civName && !isPuppet "in annexed cities" -> foundingCiv != civInfo.civName && !isPuppet
"in puppeted cities" -> isPuppet
"in holy cities" -> religion.religionThisIsTheHolyCityOf != null "in holy cities" -> religion.religionThisIsTheHolyCityOf != null
"in City-State cities" -> civInfo.isCityState() "in City-State cities" -> civInfo.isCityState()
// This is only used in communication to the user indicating that only in cities with this // This is only used in communication to the user indicating that only in cities with this

View File

@ -188,6 +188,7 @@ enum class UniqueParameterType(
"in non-enemy foreign cities", "in non-enemy foreign cities",
"in foreign cities", "in foreign cities",
"in annexed cities", "in annexed cities",
"in puppeted cities",
"in holy cities", "in holy cities",
"in City-State cities", "in City-State cities",
"in cities following this religion", "in cities following this religion",