mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 23:10:39 -04:00
Tech cost increases with more city.
This commit is contained in:
parent
9e0ba99c0a
commit
bfe73c1f4e
@ -43,6 +43,7 @@ class TechManager {
|
|||||||
var techCost = GameBasics.Technologies[techName]!!.cost.toFloat()
|
var techCost = GameBasics.Technologies[techName]!!.cost.toFloat()
|
||||||
techCost *= civInfo.getDifficulty().researchCostModifier
|
techCost *= civInfo.getDifficulty().researchCostModifier
|
||||||
techCost *= civInfo.gameInfo.gameParameters.gameSpeed.getModifier()
|
techCost *= civInfo.gameInfo.gameParameters.gameSpeed.getModifier()
|
||||||
|
techCost *= (1 + 0.02 * (civInfo.cities.size -1 )).toFloat()
|
||||||
return techCost.toInt()
|
return techCost.toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user