SetHappiness: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Killmeplease (talk | contribs) No edit summary |
Killmeplease (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Up: [[Lua Game Objects/Player]] | |||
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 | Recommendations on how to mod happiness are also given in that thread. |
Latest revision as of 10:04, 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 are also given in that thread.