Automatic Bed Reassigment Forked
[b]This mod is an updated version of an existing mod. I claim no ownership of the mod. This version may be taken down by request from the original author.[/b]
Source code available on: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FNicolasBMercier%2FBedAssign.git]Github[/url][github.com]
This is my first mod. I make no promise of keeping it up to date and will delete this version if/when the original mod is updated.([url=https://steamcommunity.com/sharedfiles/filedetails/?id=2404555784&searchtext=automatic+bed+assignment]Original mod[/url])
[hr]
Here the original description
This mod automatically reassigns pawns' beds when:
pawns are sharing beds with (non-polyamorous) non-partners
pawns are separated from their partners (or the partner they love the most if polyamorous)
pawns are suffering a mood penalty from a bedroom-specific trait (jealous, greedy, ascetic)
there are empty beds with better stats for the pawn (room impressiveness, rest effectiveness, comfort)
NOTE: These conditions can be toggled within mod options.
This mod also adds two gizmos to beds;
... one that allows you to toggle whether a certain bed can be utilized by the mod:
[img]https://i.imgur.com/n5xQYGR.png[/img]
... and one that allows you to force a pawn to always claim and use a certain bed:
[img]https://i.imgur.com/hLB1gbb.png[/img]
MAKE SURE you use the above gizmo if you're manually assigning beds to specific pawns, otherwise it can be overwritten by automatic reassignment.
[hr]
A few things to note:
[list]
[*] Everything this mod does will only run [b]right before a pawn decides to go get rest[/b]. This means you shouldn't freak out if a bed isn't getting assigned immediately. (note: this also means the mod should be quite performance friendly)
[*] [b]Jealous or Greedy[/b] pawns can be prioritized to double beds over lovers (assuming the room that double bed is in, is the best/better than others). This is because lovers will suffer much less of a mood penalty overall.
For example: Opinion of lover (+10) combined with Sleeping alone (-4) versus Jealous of #'s bedroom (-8) or Greedy for impressive bedroom (-8)
[*] Ascetic pawns are ignored if they have a lover of which isn't also Ascetic. This is to avoid constant reassignment by the lover and the mood penalty associated with the bad room that the lover may receive.
[*] You can adjust the improvement threshold for the better bed reassignment condition in mod options.
[/list]
[hr]
Very simple and lightweight mod, completely safe to add to or remove from saves.