"Unowned" capitalized for consistency, whoops

This commit is contained in:
yairm210 2025-07-01 16:58:51 +03:00
parent 7f29dab09f
commit 368f6d14c4
2 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ class Tile : IsPartOfGameInfoSerialization, Json.Serializable {
"Land" -> return isLand "Land" -> return isLand
Constants.coastal -> return isCoastalTile() Constants.coastal -> return isCoastalTile()
Constants.river -> return isAdjacentToRiver() Constants.river -> return isAdjacentToRiver()
"unowned" -> return getOwner() == null "Unowned" -> return getOwner() == null
"your" -> return observingCiv != null && getOwner() == observingCiv "your" -> return observingCiv != null && getOwner() == observingCiv
"Foreign Land", "Foreign" -> return observingCiv != null && !isFriendlyTerritory(observingCiv) "Foreign Land", "Foreign" -> return observingCiv != null && !isFriendlyTerritory(observingCiv)
"Friendly Land", "Friendly" -> return observingCiv != null && isFriendlyTerritory(observingCiv) "Friendly Land", "Friendly" -> return observingCiv != null && isFriendlyTerritory(observingCiv)

View File

@ -315,7 +315,7 @@ enum class UniqueParameterType(
override val staticKnownValues = setOf( override val staticKnownValues = setOf(
"Terrain", "Terrain",
Constants.coastal, Constants.river, "Open terrain", "Rough terrain", "Water resource", Constants.coastal, Constants.river, "Open terrain", "Rough terrain", "Water resource",
"resource", "Foreign Land", "Foreign", "Friendly Land", "Friendly", "Enemy Land", "Enemy", "your", "unowned", "resource", "Foreign Land", "Foreign", "Friendly Land", "Friendly", "Enemy Land", "Enemy", "your", "Unowned",
"Featureless", Constants.freshWaterFilter, "non-fresh water", "Natural Wonder", "Featureless", Constants.freshWaterFilter, "non-fresh water", "Natural Wonder",
"Impassable", "Land", "Water" "Impassable", "Land", "Water"
) + ResourceType.entries.map { it.name + " resource" } + Constants.all ) + ResourceType.entries.map { it.name + " resource" } + Constants.all