Fix a few bugs related to nukes (#4324)

* Fixed bugs where nukes don't work due to capitilzation issues

* Renamed existing translations

* Fixed crash happening when nuking tiles without an owner

* Added notifications to attacker for civs that have declared war as a result of the nuke dropping
This commit is contained in:
Xander Lenstra
2021-07-01 21:18:37 +02:00
committed by GitHub
parent e80c7d2101
commit c350a3c923
6 changed files with 11 additions and 9 deletions

View File

@ -1209,7 +1209,7 @@
"requiredTech": "Nuclear Fission",
"requiredResource": "Uranium",
"promotions" : ["Evasion"],
"uniques": ["Nuclear weapon of strength [1]", "Requires [Manhattan Project]", "Self-destructs when attacking",
"uniques": ["Nuclear weapon of Strength [1]", "Requires [Manhattan Project]", "Self-destructs when attacking",
"Blast radius [2]"],
"attackSound": "nuke"
// Plane rather than a missile - can be based in city or Carrier only.
@ -1259,7 +1259,7 @@
"range": 12,
"cost": 1000,
"requiredTech": "Advanced Ballistics",
"uniques": ["Self-destructs when attacking", "Nuclear weapon of strength [2]", "Requires [Manhattan Project]",
"uniques": ["Self-destructs when attacking", "Nuclear weapon of Strength [2]", "Requires [Manhattan Project]",
"Blast radius [2]", "Consumes [2] [Uranium]"],
"attackSound": "nuke"
},