mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-27 05:46:43 -04:00
Added notification when enemy declares war on us
This commit is contained in:
parent
e6bc3a1ab7
commit
186feab0c6
@ -2612,6 +2612,8 @@
|
|||||||
|
|
||||||
"Declare war":{}
|
"Declare war":{}
|
||||||
|
|
||||||
|
"[civName] has declared war on us!":{}
|
||||||
|
|
||||||
// Overview screen
|
// Overview screen
|
||||||
"Overview":{
|
"Overview":{
|
||||||
Italian:"Panoramica"
|
Italian:"Panoramica"
|
||||||
|
@ -83,6 +83,7 @@ class DiplomacyManager() {
|
|||||||
fun declareWar(){
|
fun declareWar(){
|
||||||
diplomaticStatus = DiplomaticStatus.War
|
diplomaticStatus = DiplomaticStatus.War
|
||||||
otherCiv().diplomacy[civInfo.civName]!!.diplomaticStatus = DiplomaticStatus.War
|
otherCiv().diplomacy[civInfo.civName]!!.diplomaticStatus = DiplomaticStatus.War
|
||||||
|
otherCiv().addNotification("[civName] has declared war on us!",null, Color.RED)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun turnsToPeaceTreaty(): Int {
|
fun turnsToPeaceTreaty(): Int {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user