Added Nuclear Submarines & Missile Cruisers, capable of transporting missiles (#4260)

* Implemented Nuclear Submarine and Missile Cruiser units

* Information Era -> Atomic Era; Future Era -> Information Era, conform G&K

* Fixed deprecated uniques still working

* Implemented requested changes
This commit is contained in:
Xander Lenstra
2021-06-26 21:47:27 +02:00
committed by GitHub
parent 30ac1dae1c
commit 1c079bcef3
13 changed files with 151 additions and 134 deletions

View File

@ -936,7 +936,7 @@
"rangedStrength": 60,
"cost": 325,
"requiredTech": "Refrigeration",
// "upgradesTo": "Nuclear Submarine",
"upgradesTo": "Nuclear Submarine",
"uniques": ["+[75]% Strength when attacking", "Invisible to others", "Can only attack water", "Can attack submarines", "Can enter ice tiles"]
},
{
@ -1013,7 +1013,7 @@
"strength": 40,
"cost": 375,
"requiredTech": "Electronics",
"uniques": ["Cannot attack","Can carry 2 aircraft"]
"uniques": ["Cannot attack", "Can carry [2] [Air] units"]
},
{
"name": "Battleship",
@ -1025,7 +1025,8 @@
"cost": 375,
"requiredResource": "Oil",
"requiredTech": "Electronics",
"uniques": ["Ranged attacks may be performed over obstacles"]
"uniques": ["Ranged attacks may be performed over obstacles"],
// Does not actually upgrade to Missile Cruisers
},
{
"name": "Machine Gun",
@ -1076,6 +1077,9 @@
"uniques": ["Can attack submarines", "[40]% chance to intercept air attacks",
"May withdraw before melee ([80]%)", "+[100]% Strength vs [WaterSubmarine]"]
},
// Atomic Era
{
"name": "Marine",
"unitType": "Melee",
@ -1275,22 +1279,18 @@
},
// Information Era
/*
{
"name": "Nuclear Submarine",
"unitType": "WaterSubmarine",
"movement": 6,
"strength": 30,
"strength": 50,
"range": 3,
"rangedStrength": 70,
"rangedStrength": 85,
"cost": 425,
"requiredTech": "Computers",
"uniques": ["Bonus vs Attacker [75]%", "Invisible to others", "Can only attack water", "Can attack submarines", "Can enter ice tiles","+1 Visibility Range"]
// Can carry 2 Missiles
// 50 strength, 85 rangedStrength, requiredTech "Telecommunications" in expansions
"requiredTech": "Telecommunications",
"uniques": ["+[75]% Strength when attacking", "Invisible to others", "Can only attack water",
"Can attack submarines", "Can enter ice tiles", "+1 Visibility Range", "Can carry [2] [Missile] units"]
},
*/
{
"name": "Mechanized Infantry",
"unitType": "Melee",
@ -1299,23 +1299,20 @@
"cost": 375,
"requiredTech": "Mobile Tactics"
},
/*
{
"name": "Missile Cruiser",
"unitType": "WaterRanged",
"movement": 7,
"strength": 60,
"rangedStrength": 25,
"strength": 80,
"rangedStrength": 100,
"range": 3,
"interceptRange": 2,
"cost": 425,
"requiredTech": "Robotics",
"uniques": ["[100]% chance to intercept air attacks", "Can attack submarines",
"Ranged attacks may be performed over obstacles"]
// Can carry 3 missiles - Guided Missiles and Nuclear Missiles, Attack vs submarines 100
// 100 rangedStrength, 80 strength in expansions
"Ranged attacks may be performed over obstacles", "Can carry [3] [Missile] units",
"+[100]% Strength vs [submarine units]"]
},
*/
{
"name": "Modern Armor",
"unitType": "Armor",