Occupied cities have +2 extra unhappiness (#7628)

This commit is contained in:
Xander Lenstra 2022-08-06 21:05:21 +02:00 committed by GitHub
parent 69e6093e2e
commit baeae5c8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,6 +399,8 @@ class CityStats(val cityInfo: CityInfo) {
unhappinessModifier *= civInfo.gameInfo.getDifficulty().aiUnhappinessModifier
var unhappinessFromCity = -3f // -3 happiness per city
if (hasExtraAnnexUnhappiness())
unhappinessFromCity -= 2f
if (civInfo.hasUnique(UniqueType.UnhappinessFromCitiesDoubled))
unhappinessFromCity *= 2f //doubled for the Indian