mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-26 23:50:45 +07:00
More city filters (#11253)
This commit is contained in:
parent
60d93e5ff9
commit
06a675c44f
@ -432,6 +432,8 @@ class City : IsPartOfGameInfoSerialization {
|
||||
"in foreign cities", "Foreign" -> viewingCiv != null && viewingCiv != civ
|
||||
"in annexed cities", "Annexed" -> foundingCiv != civ.civName && !isPuppet
|
||||
"in puppeted cities", "Puppeted" -> isPuppet
|
||||
"in resisting cities", "Resisting" -> isInResistance()
|
||||
"in cities being razed", "Razing" -> isBeingRazed
|
||||
"in holy cities", "Holy" -> isHolyCity()
|
||||
"in City-State cities" -> civ.isCityState()
|
||||
// This is only used in communication to the user indicating that only in cities with this
|
||||
|
@ -255,6 +255,8 @@ enum class UniqueParameterType(
|
||||
"in foreign cities", "Foreign",
|
||||
"in annexed cities", "Annexed",
|
||||
"in puppeted cities", "Puppeted",
|
||||
"in resisting cities", "Resisting",
|
||||
"in cities being razed", "Razing",
|
||||
"in holy cities", "Holy",
|
||||
"in City-State cities",
|
||||
"in cities following this religion",
|
||||
@ -394,7 +396,7 @@ enum class UniqueParameterType(
|
||||
|
||||
/** Used for region definitions, can be a terrain type with region unique, or "Hybrid"
|
||||
*
|
||||
* See also: [UniqueType.ConditionalInRegionOfType], [UniqueType.ConditionalInRegionExceptOfType], [MapRegions][com.unciv.logic.map.mapgenerator.MapRegions] */
|
||||
* See also: [UniqueType.ConditionalInRegionOfType], [UniqueType.ConditionalInRegionExceptOfType], [MapRegions][com.unciv.logic.map.mapgenerator.mapregions.MapRegions] */
|
||||
RegionType("regionType", "Hybrid", null, "Region Types") {
|
||||
private val knownValues = setOf("Hybrid")
|
||||
override fun getErrorSeverity(parameterText: String, ruleset: Ruleset):
|
||||
|
Loading…
Reference in New Issue
Block a user