mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 11:28:03 +07: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
|
||||
stats.add(terrainFeatureBase)
|
||||
}
|
||||
|
||||
|
||||
if (city != null) {
|
||||
var tileUniques = city.getMatchingUniques("[] from [] tiles []")
|
||||
.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 (matchesTerrainFilter(tileType, observingCiv))
|
||||
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 [] []"))
|
||||
|
Loading…
Reference in New Issue
Block a user