Added the amphibious promotion and the marine unit (#3987)

* Technology and construction bars no longer extend past their maximum

* Fixed compile errors

* actually fixed the issue

* Added the marine unit

* Moved amphibious promotion effect to unique

* Added icons for Amphibious promotion and Marine unit

* aaah
This commit is contained in:
Xander Lenstra
2021-05-29 22:42:04 +02:00
committed by GitHub
parent 97a36c3772
commit 432e937474
11 changed files with 443 additions and 409 deletions

View File

@ -527,7 +527,7 @@
},
{
"name": "Nuclear Fission",
"row": 3,
"row": 4,
"prerequisites": ["Atomic Theory","Radar"],
"quote": "'I am become Death, the destroyer of worlds.' - J. Robert Oppenheimer"
},

View File

@ -135,6 +135,12 @@
"effect": "Double movement rate through Forest and Jungle",
"unitTypes": ["Melee"]
},
{
"name": "Amphibious",
"prerequisites": ["Shock I", "Drill I"],
"uniques": ["Eliminates combat penalty for attacking over a river", "Eliminates combat penalty for attacking from the sea"],
"unitTypes": ["Melee"]
},
{
"name": "Medic",
"prerequisites": ["Shock I", "Drill I", "Scouting II"],
@ -469,4 +475,4 @@
"name": "Slinger Withdraw", // only for Slinger and subsequent upgrades
"effect": "May withdraw before melee ([80]%)"
}
]
]

View File

@ -525,7 +525,7 @@
"upgradesTo": "Musketman",
"obsoleteTech": "Metallurgy",
"requiredResource": "Iron",
"uniques": ["Amphibious"],
"promotions": ["Amphibious"],
"hurryCostModifier": 20,
"attackSound": "metalhit"
//Danish unique unit. Can attack from the sea without any penalty, and moves faster.
@ -1175,6 +1175,17 @@
"obsoleteTech": "Mobile Tactics",
"attackSound": "shot"
},
{
"name": "Marine",
"unitType": "Melee",
"movement": 2,
"strength": 65,
"cost": 400,
"requiredTech": "Pharmaceuticals",
"attackSound": "shot",
"promotions": ["Amphibious"],
"uniques": ["+1 sight when embarked", "Defense bonus when embarked"]
},
{
"name": "Machine Gun",
"unitType": "Ranged",