mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 06:51:30 -04:00
commit
54fc81fda7
@ -275,6 +275,9 @@ class CityStats {
|
|||||||
stats.production += 5f
|
stats.production += 5f
|
||||||
if(policies.contains("Warrior Code") && currentConstruction is BaseUnit && currentConstruction.unitType.isMelee())
|
if(policies.contains("Warrior Code") && currentConstruction is BaseUnit && currentConstruction.unitType.isMelee())
|
||||||
stats.production += 20
|
stats.production += 20
|
||||||
|
if (policies.contains("Piety")
|
||||||
|
&& listOf("Monument", "Temple", "Opera House", "Museum", "Broadcast Tower").contains(currentConstruction.name))
|
||||||
|
stats.production += 15f
|
||||||
if (policies.contains("Reformation") && cityConstructions.getBuiltBuildings().any { it.isWonder })
|
if (policies.contains("Reformation") && cityConstructions.getBuiltBuildings().any { it.isWonder })
|
||||||
stats.culture += 33f
|
stats.culture += 33f
|
||||||
if (policies.contains("Commerce") && cityInfo.isCapital())
|
if (policies.contains("Commerce") && cityInfo.isCapital())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user