Merge pull request #243 from bryanwweber/fix_medical_lab_stats

Fix medical lab stats and stasis chamber name
This commit is contained in:
yairm210 2018-10-15 12:24:49 +03:00 committed by GitHub
commit 8912984e74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 9 deletions

View File

@ -187,7 +187,7 @@ All the following are from [the Noun Project](https://thenounproject.com) licenc
* [Missile](https://thenounproject.com/term/missile/799922/) By ProSymbols for SS Booster
* [Rocket](https://thenounproject.com/term/rocket/937173/) By BomSymbols for SS Cockpit
* [Engine](https://thenounproject.com/term/engine/1877958/) By Andre for SS Engine
* [Chamber](https://thenounproject.com/term/chamber/1242689/) By IYIKON for SS Statis Chamber
* [Chamber](https://thenounproject.com/term/chamber/1242689/) By IYIKON for SS Stasis Chamber
## Social Policies

View File

@ -527,10 +527,10 @@
{
name:"Medical Lab",
baseDescription: "25% of food carried over after a new citizen is born",
requiredBuilding:"Hospital",
maintenance:3,
requiredTech:"Pharmaceuticals"
requiredTech:"Pharmaceuticals",
uniques:["25% of food carried over after a new citizen is born"]
},
{
name:"Nuclear Plant",
@ -590,7 +590,7 @@
uniques:["Spaceship part"]
},
{
name:"SS Statis Chamber",
name:"SS Stasis Chamber",
requiredResource:"Aluminum",
requiredTech:"Nanotechnology",
uniques:["Spaceship part"]

View File

@ -3134,13 +3134,13 @@
French:"Usine du vaisseau spatial"
Romanian:"Fabbrica di astronave"
}
"SS Booster":{ //no traslation that i know of
"SS Booster":{ //no translation that I know of
}
"SS Cockpit":{ //no traslation that i know of
"SS Cockpit":{ //no translation that I know of
}
"SS Engine":{ //no traslation that i know of
"SS Engine":{ //no translation that I know of
}
"SS Statis Chamber":{ //no traslation that i know of
"SS Stasis Chamber":{ //no translation that I know of
}

View File

@ -66,6 +66,7 @@ class PopulationManager {
{
foodStored -= getFoodToNextPopulation()
if (cityInfo.getBuildingUniques().contains("40% of food is carried over after a new citizen is born")) foodStored += (0.4f * getFoodToNextPopulation()).toInt() // Aqueduct special
if (cityInfo.getBuildingUniques().contains("25% of food carried over after a new citizen is born")) foodStored += (0.25f * getFoodToNextPopulation()).toInt() // Medical Lab special
population++
autoAssignPopulation()
cityInfo.civInfo.addNotification(cityInfo.name + " {has grown}!", cityInfo.location, Color.GREEN)

View File

@ -10,7 +10,7 @@ class ScienceVictoryManager {
requiredParts.add("SS Booster", 3)
requiredParts.add("SS Cockpit", 1)
requiredParts.add("SS Engine", 1)
requiredParts.add("SS Statis Chamber", 1)
requiredParts.add("SS Stasis Chamber", 1)
}
fun clone(): ScienceVictoryManager {