mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 14:57:58 +07:00
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:
BIN
android/Images/UnitPromotionIcons/Amphibious.png
Normal file
BIN
android/Images/UnitPromotionIcons/Amphibious.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
android/ImagesToPackSeparately/UnitIcons/Marine.png
Normal file
BIN
android/ImagesToPackSeparately/UnitIcons/Marine.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
@ -410,72 +410,79 @@ Maori Warrior
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mechanized Infantry
|
||||
Marine
|
||||
rotate: false
|
||||
xy: 1124, 206
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Minuteman
|
||||
Mechanized Infantry
|
||||
rotate: false
|
||||
xy: 1226, 308
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Modern Armor
|
||||
Minuteman
|
||||
rotate: false
|
||||
xy: 1328, 410
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Mohawk Warrior
|
||||
Modern Armor
|
||||
rotate: false
|
||||
xy: 1124, 104
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Musketeer
|
||||
Mohawk Warrior
|
||||
rotate: false
|
||||
xy: 1124, 2
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Musketeer
|
||||
rotate: false
|
||||
xy: 1226, 206
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Musketman
|
||||
rotate: false
|
||||
xy: 1226, 207
|
||||
xy: 1328, 309
|
||||
size: 100, 99
|
||||
orig: 100, 99
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Naresuan's Elephant
|
||||
rotate: false
|
||||
xy: 1328, 308
|
||||
xy: 1430, 410
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Norwegian Ski Infantry
|
||||
rotate: false
|
||||
xy: 1430, 410
|
||||
xy: 1226, 104
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Nuclear Missile
|
||||
rotate: false
|
||||
xy: 1226, 105
|
||||
xy: 1226, 2
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Panzer
|
||||
rotate: false
|
||||
xy: 1328, 206
|
||||
xy: 1328, 207
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
@ -496,126 +503,126 @@ Pikeman
|
||||
index: -1
|
||||
Rifleman
|
||||
rotate: false
|
||||
xy: 1226, 3
|
||||
xy: 1328, 105
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Rocket Artillery
|
||||
rotate: false
|
||||
xy: 1328, 104
|
||||
xy: 1430, 206
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Samurai
|
||||
rotate: false
|
||||
xy: 1328, 2
|
||||
xy: 1532, 308
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Scout
|
||||
rotate: false
|
||||
xy: 1430, 206
|
||||
xy: 1634, 410
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Settler
|
||||
rotate: false
|
||||
xy: 1532, 308
|
||||
xy: 1328, 3
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Ship of the Line
|
||||
rotate: false
|
||||
xy: 1634, 410
|
||||
xy: 1430, 104
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Sipahi
|
||||
rotate: false
|
||||
xy: 1430, 104
|
||||
xy: 1430, 2
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Slinger
|
||||
rotate: false
|
||||
xy: 1430, 2
|
||||
xy: 1532, 206
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Spearman
|
||||
rotate: false
|
||||
xy: 1532, 206
|
||||
xy: 1634, 308
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Stealth Bomber
|
||||
rotate: false
|
||||
xy: 1634, 308
|
||||
xy: 1736, 410
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Submarine
|
||||
rotate: false
|
||||
xy: 1736, 410
|
||||
xy: 1532, 104
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Swordsman
|
||||
rotate: false
|
||||
xy: 1532, 104
|
||||
xy: 1532, 2
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Tank
|
||||
rotate: false
|
||||
xy: 1532, 2
|
||||
xy: 1634, 206
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Tercio
|
||||
rotate: false
|
||||
xy: 1634, 206
|
||||
xy: 1736, 308
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Trebuchet
|
||||
rotate: false
|
||||
xy: 1736, 308
|
||||
xy: 1838, 410
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Triplane
|
||||
rotate: false
|
||||
xy: 1838, 410
|
||||
xy: 1634, 104
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Trireme
|
||||
rotate: false
|
||||
xy: 1634, 103
|
||||
xy: 1736, 205
|
||||
size: 100, 101
|
||||
orig: 100, 101
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Turtle Ship
|
||||
rotate: false
|
||||
xy: 1736, 206
|
||||
xy: 1634, 2
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
@ -636,28 +643,28 @@ War Elephant
|
||||
index: -1
|
||||
Warrior
|
||||
rotate: false
|
||||
xy: 1736, 104
|
||||
xy: 1736, 103
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Work Boats
|
||||
rotate: false
|
||||
xy: 1736, 2
|
||||
xy: 1838, 206
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Worker
|
||||
rotate: false
|
||||
xy: 1838, 206
|
||||
xy: 1940, 308
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Zero
|
||||
rotate: false
|
||||
xy: 1940, 308
|
||||
xy: 1838, 104
|
||||
size: 100, 100
|
||||
orig: 100, 100
|
||||
offset: 0, 0
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 279 KiB |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 964 KiB After Width: | Height: | Size: 956 KiB |
@ -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"
|
||||
},
|
||||
|
@ -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]%)"
|
||||
}
|
||||
]
|
||||
]
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user