Mr. Spiffy
Chieftain
I would like to know how to add unhappiness to my custom civilization with LUA. This is for my unique ability that gives severe unhappiness when the empire is not in a golden age. Checking to see if the empire was in golden age is easy enough, but when it comes to subtracting happiness, it seems impossible.
When I use SetHappiness() with a negative value, that value is only added at the very end of the turn. This means that there really isn't any change. Right now I'm using GameEvents.PlayerDoTurn.Add() to call my function. Is there a better GameEvent?
Really, I'm looking for any way to add unhappiness. It doesn't have to even be lua. I'm open to hacky work-arounds of any kind.
When I use SetHappiness() with a negative value, that value is only added at the very end of the turn. This means that there really isn't any change. Right now I'm using GameEvents.PlayerDoTurn.Add() to call my function. Is there a better GameEvent?
Really, I'm looking for any way to add unhappiness. It doesn't have to even be lua. I'm open to hacky work-arounds of any kind.