mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-10 23:37:31 +07:00
City Centers can no longer be removed by nukes (#4423)
* City Centers can no longer be removed by nukes * Implemented requested changes * Implemented more requested changes
This commit is contained in:
parent
df7bba02a1
commit
c327b54b1b
@ -237,7 +237,7 @@
|
||||
"civilopediaText": [{text:"Ancient ruins provide a one-time random bonus when explored"}] },
|
||||
{ "name": "City ruins", "uniques": ["Unpillagable"],
|
||||
"civilopediaText": [{text:"A bleak reminder of the destruction wreaked by War"}] },
|
||||
{ "name": "City center", "uniques": ["Unpillagable"],
|
||||
{ "name": "City center", "uniques": ["Unpillagable", "Indestructible"],
|
||||
"civilopediaText": [{text:"Marks the center of a city"},{text:"Appearance changes with the technological era of the owning civilization"}] },
|
||||
{ "name": "Barbarian encampment", "uniques": ["Unpillagable"],
|
||||
"civilopediaText": [{text:"Home to uncivilized barbarians, will spawn a hostile unit from time to time"}] }
|
||||
|
@ -558,7 +558,9 @@ object Battle {
|
||||
}
|
||||
|
||||
// Remove improvements, add fallout
|
||||
tile.improvement = null
|
||||
if (tile.improvement != null && !attacker.getTile().getTileImprovement()!!.hasUnique("Indestructible")) {
|
||||
tile.improvement = null
|
||||
}
|
||||
tile.improvementInProgress = null
|
||||
tile.turnsToImprovement = 0
|
||||
tile.roadStatus = RoadStatus.None
|
||||
@ -618,7 +620,9 @@ object Battle {
|
||||
}
|
||||
|
||||
// Remove improvements
|
||||
tile.improvement = null
|
||||
if (tile.improvement != null && !attacker.getTile().getTileImprovement()!!.hasUnique("Indestructible")) {
|
||||
tile.improvement = null
|
||||
}
|
||||
tile.improvementInProgress = null
|
||||
tile.turnsToImprovement = 0
|
||||
tile.roadStatus = RoadStatus.None
|
||||
|
Loading…
Reference in New Issue
Block a user