Overhaul NUKE code to behave closer to original (#9797)

* Overhaul NUKE code to behave closer to original

* Separate garrison protection of Bomb Shelter to its own Unique

* Reduce code duplication: getNukeBlastRadius

* Disallow nuking unknown civs

* Don't show Nuke attack table when the Nuke has just been selected

* World map display of nuke blast radius and friendly fire
This commit is contained in:
SomeTroglodyte
2023-07-30 16:39:28 +02:00
committed by GitHub
parent 443bf3afdb
commit b838d8ec5a
10 changed files with 139 additions and 78 deletions

View File

@ -1100,7 +1100,7 @@
"cost": 300,
"maintenance": 1,
"requiredTech": "Telecommunications",
"uniques": ["Population loss from nuclear attacks [-75]% [in this city]"]
"uniques": ["Population loss from nuclear attacks [-75]% [in this city]","Damage to garrison from nuclear attacks [-75]% [in this city]"]
},
{
"name": "Hubble Space Telescope",