mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 05:14:32 -04:00
Flood plains no longer generate on desert hills
This commit is contained in:
parent
27e383631d
commit
4817f49ce9
@ -130,7 +130,10 @@ class MapGenerator(val ruleset: Ruleset) {
|
||||
.firstOrNull { tile.isAdjacentTo(it.params[1]) }
|
||||
?: continue
|
||||
val terrain = ruleset.terrains[conversionUnique.params[0]] ?: continue
|
||||
if (terrain.type == TerrainType.TerrainFeature) tile.terrainFeatures.add(terrain.name)
|
||||
if (!terrain.occursOn.contains(tile.getLastTerrain().name)) continue
|
||||
|
||||
if (terrain.type == TerrainType.TerrainFeature)
|
||||
tile.terrainFeatures.add(terrain.name)
|
||||
else tile.baseTerrain = terrain.name
|
||||
tile.setTerrainTransients()
|
||||
}
|
||||
|
@ -726,7 +726,7 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags:
|
||||
PercentProductionConstructionsCities("+[amount]% Production when constructing [constructionFilter] [cityFilter]", UniqueTarget.Global),
|
||||
|
||||
|
||||
@Deprecated("As of 3.17.1 - removed 3.17.13", ReplaceWith("Double movement in [terrainFilter]"), DeprecationLevel.ERROR)
|
||||
@Deprecated("As of 3.17.1 - removed 3.17.13", ReplaceWith("Double movement in [Coast]"), DeprecationLevel.ERROR)
|
||||
DoubleMovementCoast("Double movement in coast", UniqueTarget.Unit),
|
||||
@Deprecated("As of 3.17.1 - removed 3.17.13", ReplaceWith("Double movement in [terrainFilter]"), DeprecationLevel.ERROR)
|
||||
DoubleMovementForestJungle("Double movement rate through Forest and Jungle", UniqueTarget.Unit),
|
||||
|
@ -1518,7 +1518,7 @@ Applicable to: Conditional
|
||||
- "+[amount]% Strength in [tileFilter]" - Deprecated as of 3.17.5 - removed 3.18.5, replace with "[amount]% Strength <when fighting in [tileFilter] tiles>"
|
||||
- "[amount] Visibility Range" - Deprecated as of 3.17.5 - removed 3.18.5, replace with "[amount] Sight"
|
||||
- "Limited Visibility" - Deprecated as of 3.17.5 - removed 3.18.5, replace with "[-1] Sight"
|
||||
- "Double movement in coast" - Deprecated As of 3.17.1 - removed 3.17.13, replace with "Double movement in [terrainFilter]"
|
||||
- "Double movement in coast" - Deprecated As of 3.17.1 - removed 3.17.13, replace with "Double movement in [Coast]"
|
||||
- "Double movement rate through Forest and Jungle" - Deprecated As of 3.17.1 - removed 3.17.13, replace with "Double movement in [terrainFilter]"
|
||||
- "Double movement in Snow, Tundra and Hills" - Deprecated As of 3.17.1 - removed 3.17.13, replace with "Double movement in [terrainFilter]"
|
||||
- "+[amount]% Strength" - Deprecated As of 3.17.3 - removed 3.17.13, replace with "[amount]% Strength"
|
||||
|
Loading…
x
Reference in New Issue
Block a user