From 1f2dbb9a4e2c4b1284d4e89ad23f23d2b1f6f1ec Mon Sep 17 00:00:00 2001 From: Arthur van der Staaij <32672293+avdstaaij@users.noreply.github.com> Date: Thu, 20 May 2021 17:19:33 +0200 Subject: [PATCH] Fix spaceship part production boosts (#3953) Previously, the buildings and wonders that should boost spaceship part production (Forge, Spaceship Factory and Hubble Space Telescope) would not provide this boost (#3952). This commit fixes the issue. The problem was caused by the fact that the spaceship part-boosting uniques would only boost spaceship part UNITS while spaceship parts are currently buildings. The added comments serve as a reminder to change the uniques if spaceship parts are ever changed into units. --- android/assets/jsons/Civ V - Vanilla/Buildings.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/android/assets/jsons/Civ V - Vanilla/Buildings.json b/android/assets/jsons/Civ V - Vanilla/Buildings.json index 4496c20774..0cdf2a1c0f 100644 --- a/android/assets/jsons/Civ V - Vanilla/Buildings.json +++ b/android/assets/jsons/Civ V - Vanilla/Buildings.json @@ -468,7 +468,9 @@ "hurryCostModifier": 25, "requiredNearbyImprovedResources": ["Iron"], "requiredTech": "Metal Casting", - "uniques": ["+[15]% Production when constructing [Spaceship part] units [in this city]", + // If spaceship parts are changed into units, the spaceship part unique should be changed to + // "+[15]% Production when constructing [Spaceship part] units [in this city]" + "uniques": ["+[15]% Production when constructing [Spaceship part] [in this city]", "+[15]% Production when constructing [Land] units [in this city]", "[+1 Production] from [Iron] tiles in this city"] }, @@ -1003,7 +1005,9 @@ "requiredResource": "Aluminum", "cost": 360, "requiredBuilding": "Factory", - "uniques": ["+[50]% Production when constructing [Spaceship part] units [in this city]"], + // If spaceship parts are changed into units, this unique should be changed to + // "+[50]% Production when constructing [Spaceship part] units [in this city]" + "uniques": ["+[50]% Production when constructing [Spaceship part] [in this city]"], "requiredTech": "Robotics" }, { @@ -1028,8 +1032,10 @@ "isWonder": true, "greatPersonPoints": {"science": 1}, "providesFreeBuilding": "Spaceship Factory", + // If spaceship parts are changed into units, the spaceship part unique should be changed to + // "+[25]% Production when constructing [Spaceship part] units [in this city]" "uniques": ["[2] free [Great Scientist] units appear", - "+[25]% Production when constructing [Spaceship part] units [in this city]"], + "+[25]% Production when constructing [Spaceship part] [in this city]"], "requiredTech": "Satellites", "quote": "'The wonder is, not that the field of stars is so vast, but that man has measured it.' - Anatole France" // will be introduced in G&K expansion pack