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