Added notification when enemy declares war on us

This commit is contained in:
Yair Morgenstern 2018-08-09 18:36:37 +03:00
parent e6bc3a1ab7
commit 186feab0c6
2 changed files with 3 additions and 0 deletions

View File

@ -2612,6 +2612,8 @@
"Declare war":{}
"[civName] has declared war on us!":{}
// Overview screen
"Overview":{
Italian:"Panoramica"

View File

@ -83,6 +83,7 @@ class DiplomacyManager() {
fun declareWar(){
diplomaticStatus = DiplomaticStatus.War
otherCiv().diplomacy[civInfo.civName]!!.diplomaticStatus = DiplomaticStatus.War
otherCiv().addNotification("[civName] has declared war on us!",null, Color.RED)
}
fun turnsToPeaceTreaty(): Int {