mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-31 18:04:55 +07:00
Petronage covered unique buildings like burial tomb.
This commit is contained in:
parent
749771daf4
commit
c223c16de8
@ -201,7 +201,9 @@ 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", "Broadcast Tower").contains(name)) cost *= 0.5
|
||||
&& listOf("Monument", "Temple", "Opera House", "Museum", "Broadcast Tower")
|
||||
.map{civInfo.getEquivalentBuilding(it).name}.contains(name))
|
||||
cost *= 0.5
|
||||
}
|
||||
|
||||
return (cost / 10).toInt() * 10
|
||||
|
Loading…
Reference in New Issue
Block a user