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

@ -934,7 +934,7 @@
"quote": "'Come to me, all who labor and are heavy burdened, and I will give you rest.' - New Testament, Matthew 11:28"
},
// Information Era
// Atomic Era
// Column 13
{
@ -998,7 +998,7 @@
"requiredTech": "Rocketry"
},
// Future Era
// Information Era
// Column 15
{

View File

@ -482,7 +482,7 @@
},
{
"columnNumber": 13,
"era": "Information era",
"era": "Atomic era",
"techCost": 5100,
"buildingCost": 500,
"wonderCost": 1250,
@ -515,7 +515,7 @@
},
{
"columnNumber": 14,
"era": "Information era",
"era": "Atomic era",
"techCost": 6400,
"buildingCost": 500,
"wonderCost": 1250,
@ -548,7 +548,7 @@
},
{
"columnNumber": 15,
"era": "Future era",
"era": "Information era",
"techCost": 7700,
"buildingCost": 750,
"wonderCost": 1250,
@ -595,7 +595,7 @@
{
"columnNumber": 16,
"era": "Future era",
"era": "Information era",
"techCost": 8800,
"buildingCost": 750,
"wonderCost": 1250,

View File

@ -165,8 +165,7 @@
{
"name": "Academy",
"science": 8,
"uniques": ["Great Improvement", "[+2 Science] once [Scientific Theory] is discovered"]
// in Gods & Kings academy will also have "[+2 Science] once [Atomic Theory] is discovered"
"uniques": ["Great Improvement", "[+2 Science] once [Scientific Theory] is discovered", "[+2 Science] once [Atomic Theory] is discovered"]
},
{
"name": "Landmark",

View File

@ -250,19 +250,19 @@
},
{
"name": "Flight Deck I",
"effect": "Can carry 1 extra air unit",
"effect": "Can carry [1] extra [Air] units",
"unitTypes": ["WaterAircraftCarrier"]
},
{
"name": "Flight Deck II",
"prerequisites": ["Flight Deck I"],
"effect": "Can carry 1 extra air unit",
"effect": " Can carry [1] extra [Air] units",
"unitTypes": ["WaterAircraftCarrier"]
},
{
"name": "Flight Deck III",
"prerequisites": ["Flight Deck II"],
"effect": "Can carry 1 extra air unit",
"effect": "Can carry [1] extra [Air] units",
"unitTypes": ["WaterAircraftCarrier"]
},

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",