Update ConstructionAutomation.kt (#12456)

This commit is contained in:
EmperorPinguin 2024-11-14 17:25:00 +01:00 committed by GitHub
parent 5315ddc62a
commit f2221ddf43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,7 +251,7 @@ class ConstructionAutomation(val cityConstructions: CityConstructions) {
val numberOfWorkersWeWant = if (cities <= 5) (cities * 1.5f) else 7.5f + ((cities - 5))
if (workers < numberOfWorkersWeWant) {
val modifier = numberOfWorkersWeWant / (workers + 0.4f) // The worse our worker to city ratio is, the more desperate we are
val modifier = numberOfWorkersWeWant / (workers + 0.17f) // The worse our worker to city ratio is, the more desperate we are
addChoice(relativeCostEffectiveness, workerEquivalents.minByOrNull { it.cost }!!.name, modifier)
}
}