RimWorld

RimWorld

Not enough ratings
Automatic Bed Reassigment Forked
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
790.897 KB
28 Jun, 2024 @ 5:58pm
1 Change Note ( view )

Subscribe to download
Automatic Bed Reassigment Forked

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.
7 Comments
thorman123456789 11 Jul @ 11:49pm 
Is an update for 1.6 planned?
Mikhaleech 11 Jun @ 12:02pm 
May you please add the feature for sanguaphages to use BEDS to sleep instead of deathrest caskets?
kongkim 27 Oct, 2024 @ 10:08am 
Thx
Narlindir 13 Aug, 2024 @ 10:08pm 
is not super great for choosing the best bed for royals tho
but you can manually force that edge case
Narlindir 13 Aug, 2024 @ 3:17pm 
works like a charm so far!
Protok 14 Jul, 2024 @ 12:31pm 
Amazingly useful!
cornhog 4 Jul, 2024 @ 12:10am 
thank you!