Merge e5be79b0e877547f2b682e74b9e10f0cd13e308b into d51ef24c205b6b05330b3c4d7ce79c402db44447

This commit is contained in:
EmperorPinguin 2025-09-18 13:09:14 +00:00 committed by GitHub
commit e0cbd2077d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ object Automation {
for (unique in localUniqueCache.forCityGetMatchingUniques(city, UniqueType.UnhappinessFromPopulationTypePercentageChange))
if (unique.params[1] == "Specialists" && city.matchesFilter(unique.params[2]))
yieldStats.happiness -= (unique.params[0].toFloat() / 100f) // relative val is negative, make positive
if (yieldStats.science == 3f || yieldStats.science >= 5f )
if (!city.civ.isHuman() && (yieldStats.science == 3f || yieldStats.science >= 5f ))
yieldStats.science *= 2f
}