diff --git a/android/assets/jsons/translations/template.properties b/android/assets/jsons/translations/template.properties index f62d6a3f8a..614bc25af6 100644 --- a/android/assets/jsons/translations/template.properties +++ b/android/assets/jsons/translations/template.properties @@ -916,6 +916,7 @@ Our [interceptorName] ([amount] HP) intercepted and attacked an enemy [attackerN Nothing tried to intercept our [attackerName] = An enemy [unit] was spotted near our territory = An enemy [unit] was spotted in our territory = +An enemy [unit] has destroyed our tile improvement [improvement] = Your city [cityName] can bombard the enemy! = [amount] of your cities can bombard the enemy! = [amount] enemy units were spotted near our territory = diff --git a/core/src/com/unciv/logic/battle/Battle.kt b/core/src/com/unciv/logic/battle/Battle.kt index f4134d1c30..321195e8a5 100644 --- a/core/src/com/unciv/logic/battle/Battle.kt +++ b/core/src/com/unciv/logic/battle/Battle.kt @@ -1164,7 +1164,13 @@ object Battle { if (!attackedTile.getTileImprovement()!!.hasUnique(UniqueType.Unpillagable) && attacker.hasUnique(UniqueType.DestroysImprovementUponAttack, conditionalState) ) { + val currentTileImprovement = attackedTile.improvement attackedTile.changeImprovement(null) + defender.getCivInfo().addNotification( + "An enemy [${attacker.unit.baseUnit.name}] has destroyed our tile improvement [${currentTileImprovement}]", + LocationAction(attackedTile.position, attacker.getTile().position), + NotificationCategory.War, attacker.unit.baseUnit.name, + NotificationIcon.War) } } }