mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-19 03:05:59 +07:00
Proper destruction notification for city states
Added Fur resource image
This commit is contained in:
parent
0d889989c6
commit
9a426318ba
BIN
android/Images/TileSets/FantasyHex/Tiles/Fur.png
Normal file
BIN
android/Images/TileSets/FantasyHex/Tiles/Fur.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 328 B |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 884 KiB After Width: | Height: | Size: 884 KiB |
Binary file not shown.
Before Width: | Height: | Size: 309 KiB After Width: | Height: | Size: 307 KiB |
@ -469,8 +469,10 @@ class CivilizationInfo {
|
|||||||
|
|
||||||
|
|
||||||
fun destroy(){
|
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)
|
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() }
|
getCivUnits().forEach { it.destroy() }
|
||||||
tradeRequests.clear() // if we don't do this then there could be resources taken by "pending" trades forever
|
tradeRequests.clear() // if we don't do this then there could be resources taken by "pending" trades forever
|
||||||
for(diplomacyManager in diplomacy.values){
|
for(diplomacyManager in diplomacy.values){
|
||||||
|
Loading…
Reference in New Issue
Block a user