mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 02:40:41 +07:00
Tech cost increases with more city.
This commit is contained in:
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user