Added Privateer unit; updated Coastal Raider promotion (#4301)

* Added privateer unit

* Privateers can now capture other naval units

* Updated Coastal Raider promotion to include the gold gained from damaging cities

* Added missing translatable notification

* Implemented requested changes

* Implemented requested changes _but better_

* Forgot to update a variable name
This commit is contained in:
Xander Lenstra
2021-07-02 09:38:45 +02:00
committed by GitHub
parent 4e36773cf3
commit 70882b4e8b
8 changed files with 132 additions and 62 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -564,170 +564,177 @@ Pikeman
orig: 100, 100
offset: 0, 0
index: -1
Rifleman
Privateer
rotate: false
xy: 1300, 868
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Rocket Artillery
Rifleman
rotate: false
xy: 544, 4
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Samurai
Rocket Artillery
rotate: false
xy: 652, 112
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Scout
Samurai
rotate: false
xy: 760, 226
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Settler
Scout
rotate: false
xy: 868, 328
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Ship of the Line
Settler
rotate: false
xy: 976, 436
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Sipahi
Ship of the Line
rotate: false
xy: 1084, 544
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Slinger
Sipahi
rotate: false
xy: 1192, 653
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Spearman
Slinger
rotate: false
xy: 1300, 760
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Stealth Bomber
Spearman
rotate: false
xy: 1408, 868
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Submarine
Stealth Bomber
rotate: false
xy: 652, 4
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Swordsman
Submarine
rotate: false
xy: 760, 118
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Tank
Swordsman
rotate: false
xy: 868, 220
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Tercio
Tank
rotate: false
xy: 976, 328
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Trebuchet
Tercio
rotate: false
xy: 1084, 436
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Triplane
Trebuchet
rotate: false
xy: 1192, 545
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Triplane
rotate: false
xy: 1300, 652
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Trireme
rotate: false
xy: 1300, 651
xy: 1408, 759
size: 100, 101
orig: 100, 101
offset: 0, 0
index: -1
Turtle Ship
rotate: false
xy: 1408, 760
xy: 1516, 868
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
War Chariot
rotate: false
xy: 1516, 868
xy: 760, 10
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
War Elephant
rotate: false
xy: 760, 10
xy: 868, 112
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Warrior
rotate: false
xy: 868, 112
xy: 976, 220
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Work Boats
rotate: false
xy: 976, 220
xy: 1084, 328
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Worker
rotate: false
xy: 1084, 328
xy: 1192, 437
size: 100, 100
orig: 100, 100
offset: 0, 0
index: -1
Zero
rotate: false
xy: 1192, 437
xy: 1300, 544
size: 100, 100
orig: 100, 100
offset: 0, 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 KiB

After

Width:  |  Height:  |  Size: 330 KiB

View File

@ -213,19 +213,19 @@
{
"name": "Coastal Raider I",
"effect": "+[15]% Strength vs [City]",
"uniques": ["+[20]% Strength vs [City]", "Earn [33]% of the damage done to [City] units as [Gold]"],
"unitTypes": ["WaterMelee"]
},
{
"name": "Coastal Raider II",
"prerequisites": ["Coastal Raider I"],
"effect": "+[15]% Strength vs [City]",
"uniques": ["+[20]% Strength vs [City]", "Earn [33]% of the damage done to [City] units as [Gold]"],
"unitTypes": ["WaterMelee"]
},
{
"name": "Coastal Raider III",
"prerequisites": ["Coastal Raider II"],
"effect": "+[15]% Strength vs [City]",
"uniques": ["+[20]% Strength vs [City]", "Earn [33]% of the damage done to [City] units as [Gold]"],
"unitTypes": ["WaterMelee"]
},

View File

@ -151,7 +151,7 @@
"strength": 10,
"cost": 45,
"requiredTech": "Sailing",
"uniques": ["Cannot enter ocean tiles",],
"uniques": ["Cannot enter ocean tiles"],
"upgradesTo": "Caravel",
"obsoleteTech": "Astronomy",
"attackSound": "nonmetalhit"
@ -790,6 +790,17 @@
"uniques": ["+[50]% Strength vs [Mounted]"],
"attackSound": "shot"
},
{
"name": "Privateer",
"unitType": "WaterMelee",
"movement": 5,
"strength": 25,
"cost": 150,
"requiredTech": "Navigation",
"upgradesTo": "Destroyer",
"promotions": ["Coastal Raider I"],
"uniques": ["May capture killed [Water] units"]
},
{
"name": "Frigate",
"unitType": "WaterRanged",
@ -1057,7 +1068,7 @@
"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
},
{

View File

@ -446,6 +446,8 @@ A(n) [nukeType] exploded in our territory! =
After being hit by our [nukeType], [civName] has declared war on us!
The civilization of [civName] has been destroyed! =
The City-State of [name] has been destroyed! =
Your [ourUnit] captured an enemy [theirUnit]! =
Your [ourUnit] plundered [amount] [Stat] from [theirUnit] =
We have captured a barbarian encampment and recovered [goldAmount] gold! =
A barbarian [unitType] has joined us! =
We have found survivors in the ruins - population added to [cityName] =