mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-19 12:18:53 +07:00
Enable Piety when building Broadcast Tower
someone wrote [it should work for Broadcast Towers](https://forums.civfanatics.com/resources/social-policy-piety-vanilla.25659/#1) as well.
This commit is contained in:
@ -178,7 +178,7 @@ class Building : NamedStats(), IConstruction{
|
||||
if (civInfo.policies.adoptedPolicies.contains("Mercantilism")) cost *= 0.75
|
||||
if (civInfo.getBuildingUniques().contains("-15% to purchasing items in cities")) cost *= 0.85
|
||||
if (civInfo.policies.adoptedPolicies.contains("Patronage")
|
||||
&& listOf("Monument", "Temple", "Opera House", "Museum").contains(name)) cost *= 0.5
|
||||
&& listOf("Monument", "Temple", "Opera House", "Museum", "Broadcast Tower").contains(name)) cost *= 0.5
|
||||
}
|
||||
|
||||
return (cost / 10).toInt() * 10
|
||||
@ -312,4 +312,4 @@ class Building : NamedStats(), IConstruction{
|
||||
|
||||
if (freeTechs != 0) civInfo.tech.freeTechs += freeTechs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user