mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 13:55:54 -04:00
One with nature yield for spain is now doubled (#4794)
This commit is contained in:
parent
ad82f63794
commit
386095a9d0
@ -223,7 +223,7 @@ open class TileInfo {
|
|||||||
else
|
else
|
||||||
stats.add(terrainFeatureBase)
|
stats.add(terrainFeatureBase)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (city != null) {
|
if (city != null) {
|
||||||
var tileUniques = city.getMatchingUniques("[] from [] tiles []")
|
var tileUniques = city.getMatchingUniques("[] from [] tiles []")
|
||||||
.filter { city.matchesFilter(it.params[2]) }
|
.filter { city.matchesFilter(it.params[2]) }
|
||||||
@ -236,6 +236,9 @@ open class TileInfo {
|
|||||||
if (tileType == improvement) continue // This is added to the calculation in getImprovementStats. we don't want to add it twice
|
if (tileType == improvement) continue // This is added to the calculation in getImprovementStats. we don't want to add it twice
|
||||||
if (matchesTerrainFilter(tileType, observingCiv))
|
if (matchesTerrainFilter(tileType, observingCiv))
|
||||||
stats.add(unique.stats)
|
stats.add(unique.stats)
|
||||||
|
if (tileType == "Natural Wonder" && naturalWonder != null && city.civInfo.hasUnique("Tile yields from Natural Wonders doubled")) {
|
||||||
|
stats.add(unique.stats)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unique in city.getMatchingUniques("[] from [] tiles without [] []"))
|
for (unique in city.getMatchingUniques("[] from [] tiles without [] []"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user