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.
This commit is contained in:
Arthur van der Staaij 2021-05-20 17:19:33 +02:00 committed by GitHub
parent b9aeb03e1b
commit 1f2dbb9a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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