This mod will give pawns a hediff when they are sleeping.
When the pawn wakes up there's a 50/50 between the pawn having had bad dreams or good dreams.
A dream will result in a corresponding moodlet for the same amount of time the pawn was asleep for (up to a maximum of 6 hours!)
the range of the moodlet is between +2 - +8 (for good dreams) and -2 - -8 for bad ones. but the average pushes it closer to the -2 because most dreams aren't extremely good or bad, those are a bit rarer.
The goal of this mod was a proof of concept where i had to add C# code and XML and made them see and speak to one another. and the idea came as a random mood-off-set that isn't too detrimental, but it can help a struggling pawn feel a bit better, even if it's only for a while.
I wrote everything (with assistance of AI)
Art created partly by me partly by AI elements.
Hope you enjoy this bit of flavor injected into your pawns daily activities!