Automatic Bed Reassigment Forked

If you liked this item, please rate it up on Steam Workshop page.

Author: Burrito

Last revision: 29 Jun, 2024 at 00:58 UTC

File size: 790.9 KB

On Steam Workshop

Description:

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.

Source code available on: Github[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.(Original mod)


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:

… and one that allows you to force a pawn to always claim and use a certain bed:

MAKE SURE you use the above gizmo if you’re manually assigning beds to specific pawns, otherwise it can be overwritten by automatic reassignment.


A few things to note:
  • Everything this mod does will only run right before a pawn decides to go get rest. 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)
  • Jealous or Greedy 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.


Very simple and lightweight mod, completely safe to add to or remove from saves.