SetHappiness: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with "From [http://forums.civfanatics.com/showthread.php?t=429585 conversation] on the civfanatics forum: :''It's not even that it resets the next turn, it's actually resetting at the ...")
 
No edit summary
Line 1: Line 1:
From [http://forums.civfanatics.com/showthread.php?t=429585 conversation] on the civfanatics forum:
From [http://forums.civfanatics.com/showthread.php?t=429585 conversation] on the civfanatics forum:
:''It's not even that it resets the next turn, it's actually resetting at the END of your turn, when the game does one final recalculation for all of the yields and such. So SetHappiness actually does nothing; while the UI will show a higher value for this turn, the value is reset BEFORE Happiness is used to increment Golden Ages or check for the effects of negative Happiness.''
:''It's not even that it resets the next turn, it's actually resetting at the END of your turn, when the game does one final recalculation for all of the yields and such. So SetHappiness actually does nothing; while the UI will show a higher value for this turn, the value is reset BEFORE Happiness is used to increment Golden Ages or check for the effects of negative Happiness.''
Recommendations on how to mod happiness (through a fake building) are also given in that thread.
 
Recommendations on how to mod happiness (by a fake buildings) are also given in that thread.

Revision as of 10:01, 14 February 2012

From conversation on the civfanatics forum:

It's not even that it resets the next turn, it's actually resetting at the END of your turn, when the game does one final recalculation for all of the yields and such. So SetHappiness actually does nothing; while the UI will show a higher value for this turn, the value is reset BEFORE Happiness is used to increment Golden Ages or check for the effects of negative Happiness.

Recommendations on how to mod happiness (by a fake buildings) are also given in that thread.