Added Advanced Ballistics Tech, Atomic Bomb Unit, Updated how nukes work (#4211)

* Improved nukes

* Fixed build error (probably)

* Implemented reocmmended changes, fixed some other stuff, the usual

* Implemented requested changes

* Fixed Tech connections

* Fixed nuclear missiles and guided missiles being interceptable

* Missiles are no longer air units. This is, as they cannot be stationed on carriers and cannot be intercepted.
This commit is contained in:
Xander Lenstra
2021-06-24 15:03:59 +02:00
committed by GitHub
parent 1c42e1e730
commit 111d11b9b2
29 changed files with 971 additions and 785 deletions

View File

@ -1033,7 +1033,7 @@
{
"name": "SS Booster",
"requiredResource": "Aluminum",
"requiredTech": "Robotics",
"requiredTech": "Advanced Ballistics",
"uniques": ["Spaceship part", "Triggers a global alert upon completion", "Cannot be purchased"]
},
{

View File

@ -560,9 +560,15 @@
"quote": "'All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved.' - Sun Tzu"
},
{
"name": "Satellites",
"name": "Advanced Ballistics",
"row": 5,
"prerequisites": ["Nuclear Fission","Rocketry"],
"quote": "Our scientific power has outrun our spiritual power, we have guided missiles and misguided men. Martin Luther King Jr. "
},
{
"name": "Satellites",
"row": 6,
"prerequisites": ["Rocketry"],
"uniques": ["Reveals the entire map"],
"quote": "'Now, somehow, in some new way, the sky seemed almost alien.' - Lyndon B. Johnson"
},
@ -591,13 +597,13 @@
{
"name": "Particle Physics",
"row": 4,
"prerequisites": ["Mobile Tactics","Satellites"],
"prerequisites": ["Mobile Tactics", "Advanced Ballistics"],
"quote": "'Every particle of matter is attracted by or gravitates to every other particle of matter with a force inversely proportional to the squares of their distances.' - Isaac Newton"
},
{
"name": "Nuclear Fusion",
"row": 6,
"prerequisites": [/*"Advanced Ballistics" ,*/ "Satellites", "Robotics"],
"prerequisites": ["Advanced Ballistics", "Satellites", "Robotics"],
"quote": "'The release of atomic energy has not created a new problem. It has readily made more urgent the necessity of solving an existing one.' - Albert Einstein"
},
{

View File

@ -1,4 +1,4 @@
[
[
// Base terrains
{
"name": "Ocean",
@ -71,7 +71,7 @@
"RGB": [231, 242, 249],
"uniques": ["Occurs at temperature between [-1] and [-0.4] and humidity between [0] and [0.5]"]
},
// Terrain features
{
"name": "Hill",
@ -95,8 +95,8 @@
"unbuildable": true,
"defenceBonus": 0.25,
"occursOn": ["Tundra","Plains","Grassland","Hill"],
"uniques": ["Rough terrain", "Provides a one-time Production bonus to the closest city when cut down",
"Blocks line-of-sight from tiles at same elevation"]
"uniques": ["Provides a one-time Production bonus to the closest city when cut down", "Rough terrain",
"Blocks line-of-sight from tiles at same elevation", "Resistant to nukes", "Can be destroyed by nukes"]
},
{
"name": "Jungle",
@ -107,7 +107,7 @@
"unbuildable": true,
"defenceBonus": 0.25,
"occursOn": ["Plains","Grassland"],
"uniques": ["Rough terrain", "Blocks line-of-sight from tiles at same elevation"]
"uniques": ["Rough terrain", "Blocks line-of-sight from tiles at same elevation", "Resistant to nukes", "Can be destroyed by nukes"]
},
{
"name": "Marsh",
@ -164,7 +164,7 @@
"occursOn": ["Coast"],
"uniques": ["Rare feature"]
},
// Natural Wonders
{
"name": "Great Barrier Reef",
@ -277,7 +277,7 @@
"weight": 10
}
/*
{// Will be introduced in Brave New World. Despite being a lake, it cannot be sailed on and it blocks line of sight like a mountain.
{// Will be introduced in Brave New World. Despite being a lake, it cannot be sailed on and it blocks line of sight like a mountain.
"name": "Lake Victoria",
"type": "NaturalWonder",
"food": 6,
@ -289,4 +289,4 @@
"weight": 5
}
*/
]
]

View File

@ -129,9 +129,9 @@
},
{
"name": "Remove Fallout",
"turnsToBuild": 8,
"turnsToBuild": 2,
"terrainsCanBeBuiltOn": ["Fallout"],
"techRequired": "Atomic Theory",
// Has no tile improvements as it can always be built
"uniques": ["Can be built outside your borders"],
"shortcutKey": "X"
},

View File

@ -270,7 +270,7 @@
// 10 strength in expansions
},
*/
/* Classical Era */
{
"name": "Horseman",
@ -409,7 +409,7 @@
// 14 strength in expansions
},
*/
// Medieval Era
{
"name": "Pikeman",
@ -663,7 +663,7 @@
"attackSound": "metalhit"
//Danish unique unit. Can attack from the sea without any penalty, and moves faster.
},
// Rennaisance Era
{
@ -831,9 +831,9 @@
"obsoleteTech": "Dynamite",
"uniques": ["+[200]% Strength vs [City]","No defensive terrain bonus","Must set up to ranged attack","Limited Visibility"]
},
// Industrial Era
{
"name": "Gatling Gun",
"unitType": "Ranged",
@ -1195,7 +1195,6 @@
"upgradesTo": "Helicopter Gunship",
"uniques": ["+[100]% Strength vs [Armor]"]
},
/*
{
"name": "Atomic Bomb",
"unitType": "AtomicBomber",
@ -1206,11 +1205,13 @@
"cost": 600,
"requiredTech": "Nuclear Fission",
"requiredResource": "Uranium",
"uniques": ["Nuclear weapon", "Requires [Manhattan Project]", "Self-destructs when attacking"]
// Plane rather than a missile - can be based in city or Carrier only. But cannot be intercepted because of a civ 5 bug that was never fixed.
// Single-use like missile
// No strength/rangedStrength tags in civ 5 xmls. Instead has NukeDamageLevel = 1 tag (Nuclear Missile has NukeDamageLevel = 2)
}, */
"promotions" : ["Evasion"],
"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.
// Can be intercepted, be must die for it not to take effect.
},
{
"name": "Rocket Artillery",
"unitType": "Siege",
@ -1243,7 +1244,7 @@
"rangedStrength": 60,
"range": 8,
"cost": 150,
"requiredTech": "Rocketry",
"requiredTech": "Advanced Ballistics",
"uniques": ["Self-destructs when attacking"]
},
{
@ -1254,9 +1255,9 @@
"rangedStrength": 300,
"range": 12,
"cost": 1000,
"requiredTech": "Rocketry",
"requiredResource": "Uranium",
"uniques": ["Self-destructs when attacking", "Nuclear weapon", "Requires [Manhattan Project]"],
"requiredTech": "Advanced Ballistics",
"uniques": ["Self-destructs when attacking", "Nuclear weapon of strength [2]", "Requires [Manhattan Project]",
"Blast radius [2]", "Consumes [2] [Uranium]"],
"attackSound": "nuke"
},
{
@ -1369,9 +1370,9 @@
// cannot be based on carrier
},
*/
/* Great people */
{
"name": "Great Artist",
"unitType": "Civilian",
@ -1423,7 +1424,7 @@
"unitType": "Civilian",
"movement": 2,
"cost": 500,
"requiredTech": "Robotics",
"requiredTech": "Advanced Ballistics",
"requiredResource": "Aluminum",
"uniques": ["Spaceship part", "Cannot be purchased", "Requires [Apollo Program]"]
// costs 750 in G&K, 1500 in BNW

View File

@ -435,6 +435,7 @@ An enemy [unit] was spotted near our territory =
An enemy [unit] was spotted in our territory =
[amount] enemy units were spotted near our territory =
[amount] enemy units were spotted in our territory =
A(n) [nukeType] exploded in our territory! =
The civilization of [civName] has been destroyed! =
The City-State of [name] has been destroyed! =
We have captured a barbarian encampment and recovered [goldAmount] gold! =