mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-02 08:09:28 +07:00
Proper destruction notification for city states
Added Fur resource image
This commit is contained in:
@ -469,8 +469,10 @@ class CivilizationInfo {
|
||||
|
||||
|
||||
fun destroy(){
|
||||
val destructionText = if(isMajorCiv()) "The civilization of [$civName] has been destroyed!"
|
||||
else "The City-State of [$civName] has been destroyed!"
|
||||
for(civ in gameInfo.civilizations)
|
||||
civ.addNotification("The civilization of [$civName] has been destroyed!", null, Color.RED)
|
||||
civ.addNotification(destructionText, null, Color.RED)
|
||||
getCivUnits().forEach { it.destroy() }
|
||||
tradeRequests.clear() // if we don't do this then there could be resources taken by "pending" trades forever
|
||||
for(diplomacyManager in diplomacy.values){
|
||||
|
Reference in New Issue
Block a user