Merge pull request #1903 from JackRainy/ForgeAndSpacePart
Forge increases production of the space parts (#1902)
This commit is contained in:
commit
3bfb2a29b7
4 changed files with 6 additions and 1 deletions
|
@ -411,7 +411,7 @@
|
|||
"requiredNearbyImprovedResources": ["Iron"],
|
||||
"resourceBonusStats": {"production": 1},
|
||||
"requiredTech": "Metal Casting",
|
||||
"uniques": ["+15% production of land units"]
|
||||
"uniques": ["+15% production of land units", "Increases production of spaceship parts by 15%"]
|
||||
},
|
||||
{
|
||||
"name": "Harbor",
|
||||
|
|
|
@ -230,6 +230,8 @@ Longhouse =
|
|||
Forge =
|
||||
# Requires translation!
|
||||
+15% production of land units =
|
||||
# Requires translation!
|
||||
Increases production of spaceship parts by 15% = Increases production of spaceship parts by 15%
|
||||
|
||||
# Requires translation!
|
||||
Harbor =
|
||||
|
|
|
@ -134,6 +134,7 @@ Longhouse =
|
|||
|
||||
Forge =
|
||||
+15% production of land units =
|
||||
Increases production of spaceship parts by 15% =
|
||||
|
||||
Harbor =
|
||||
+1 production from all sea resources worked by the city =
|
||||
|
|
|
@ -296,6 +296,8 @@ class CityStats {
|
|||
stats.culture += 25f
|
||||
|
||||
if (currentConstruction is Building && currentConstruction.uniques.contains("Spaceship part")) {
|
||||
if (cityInfo.containsBuildingUnique("Increases production of spaceship parts by 15%"))
|
||||
stats.production += 15
|
||||
if (cityInfo.civInfo.containsBuildingUnique("Increases production of spaceship parts by 25%"))
|
||||
stats.production += 25
|
||||
if (cityInfo.containsBuildingUnique("Increases production of spaceship parts by 50%"))
|
||||
|
|
Loading…
Reference in a new issue