The mood of a god is always between 0 and 100. Initial mood of all gods is 50.
Mood of a god is calculated as:
These factors are added for the god's mood and capped at 100. There's also a minimum value for the mood:
|500 and above||0|
16 times per month (every “game day”), the moods are updated:
blesssingDoneis set to 0 (more below)
smallCurseDoneis set to 0 (more below)
wrathPointsare set to zero
wrathPointshave a maximum of 50
Once per month, additional logic is performed.
We continue with the random god from the daily update; if the random number was a 5, 6, or 7, we calculate the least happy god and use that one. The least happy god is:
wrathPoints. In case of a tie, the first god is picked
wrathPoints, the one with the lowest mood below 40 is chosen
For the chosen god:
blessingDoneis 0 we perform a blessing and set
blessingDoneto 1. This is only ever set to 0 if the god's mood drops below 50, as shown above.
smallCurseDoneis 0 and it's >3 months since the last festival to that god: we perform a small curse, set
smallCurseDoneto 1, reset the
wrathPointsto 0 and increase the mood of the god by 12
wrathPointsand it's >3 months since the last festival to that god: we perform a large curse, reset the
wrathPointsto 0 and increase the mood of the god by 30
If the current mood of a god goes below 30, the player gets a message that the gods are angry (mood between 10 and 29) or wrathful (below 10).