mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 03:18:18 +07:00
Mods can handle removing existing buildings
This commit is contained in:
parent
c12afb4131
commit
a9d36c073a
@ -87,7 +87,7 @@ Denounce ([numberOfTurns] turns) = Beschuldig ([numberOfTurns] rondes)
|
||||
We will remember this. = We zullen dit onthouden.
|
||||
|
||||
[civName] has declared war on [targetCivName]! = [civName] heeft de oorlog verklaard aan [targetCivName]!
|
||||
[civName] and [targetCivName] have signed the Peace Treaty! = [civName] en [targetCivName] hebben een vredesverdrag getekend!
|
||||
[civName] and [targetCivName] have signed a Peace Treaty! = [civName] en [targetCivName] hebben een vredesverdrag getekend!
|
||||
[civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] en [targetCivName] hebben een vriendschapsovereenkomst getekend.
|
||||
[civName] has denounced [targetCivName]! = [civName] heeft [targetCivName] beschuldigd!
|
||||
|
||||
|
@ -79,7 +79,7 @@ Denounce ([numberOfTurns] turns) = Megvádolás ([numberOfTurns] kör)
|
||||
We will remember this. = Emlékezni fogunk erre.
|
||||
|
||||
[civName] has declared war on [targetCivName]! = [civName] hadat üzent [targetCivName] ellen!
|
||||
[civName] and [targetCivName] have signed the Peace Treaty! = [civName] és [targetCivName] aláírták a békeszerződést!
|
||||
[civName] and [targetCivName] have signed a Peace Treaty! = [civName] és [targetCivName] aláírták a békeszerződést!
|
||||
[civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] és [targetCivName] aláírták a barátsgányilatkozatot!
|
||||
[civName] has denounced [targetCivName]! = [civName] megvádolta a [targetCivName] nemzetet!
|
||||
|
||||
|
@ -79,7 +79,7 @@ Denounce ([numberOfTurns] turns) = Hina ([numberOfTurns] giliran)
|
||||
We will remember this. = Kami akan mengingat ini.
|
||||
|
||||
[civName] has declared war on [targetCivName]! = [civName] menyatakan perang kepada [targetCivName]!
|
||||
[civName] and [targetCivName] have signed the Peace Treaty! = [civName] dan [targetCivName] menandatangani Perjanjian Perdamaian!
|
||||
[civName] and [targetCivName] have signed a Peace Treaty! = [civName] dan [targetCivName] menandatangani Perjanjian Perdamaian!
|
||||
[civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] and [targetCivName] sudah menandatangani Deklarasi Pertemanan!
|
||||
[civName] has denounced [targetCivName]! = [civName] telah menghina [targetCivName]!
|
||||
|
||||
|
@ -126,7 +126,7 @@ We will remember this. = Kami akan ingat perkara ini
|
||||
# Requires translation!
|
||||
[civName] has declared war on [targetCivName]! =
|
||||
# Requires translation!
|
||||
[civName] and [targetCivName] have signed the Peace Treaty! =
|
||||
[civName] and [targetCivName] have signed a Peace Treaty! =
|
||||
# Requires translation!
|
||||
[civName] and [targetCivName] have signed the Declaration of Friendship! =
|
||||
# Requires translation!
|
||||
|
@ -80,7 +80,7 @@ Denounce ([numberOfTurns] turns) = Dar jāme’e ye jahāni mahkoom kardan ([num
|
||||
We will remember this. = Mā inrā be yād ḵāhim dāšt.
|
||||
|
||||
[civName] has declared war on [targetCivName]! = [civName] be [targetCivName] e’elām jang karde ast!
|
||||
[civName] and [targetCivName] have signed the Peace Treaty! = [civName] va [targetCivName] bā ham Mo’āhede ye Solh bastand!
|
||||
[civName] and [targetCivName] have signed a Peace Treaty! = [civName] va [targetCivName] bā ham Mo’āhede ye Solh bastand!
|
||||
[civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] va [targetCivName] bā ham peymān doosti bastand!
|
||||
[civName] has denounced [targetCivName]! = [civName], [targetCivName] rā mahkoom karde ast!
|
||||
|
||||
|
@ -266,6 +266,17 @@ class GameInfo {
|
||||
for (promotion in unit.promotions.promotions.toList())
|
||||
if (!ruleSet.unitPromotions.containsKey(promotion))
|
||||
unit.promotions.promotions.remove(promotion)
|
||||
|
||||
for (city in civilizations.asSequence().flatMap { it.cities.asSequence() }) {
|
||||
for (building in city.cityConstructions.builtBuildings.toHashSet())
|
||||
if (!ruleSet.buildings.containsKey(building))
|
||||
city.cityConstructions.builtBuildings.remove(building)
|
||||
for (building in city.cityConstructions.constructionQueue.toList())
|
||||
if (!ruleSet.buildings.containsKey(building))
|
||||
city.cityConstructions.constructionQueue.remove(building)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
tileMap.setTransients(ruleSet)
|
||||
|
Loading…
Reference in New Issue
Block a user