RimWorld

RimWorld

366 ratings
One bed to sleep with all - Polycule Edition
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
Content Descriptors: General Mature Content
File Size
Posted
Updated
2.761 MB
11 May, 2024 @ 6:20am
26 Sep @ 10:34pm
30 Change Notes ( view )

Subscribe to download
One bed to sleep with all - Polycule Edition

Description
"What do you mean my spiderweb polycule can't all automatically handle their bed assignments? Totally unplayable, uninstalling."
-- Paraphrased from an actual conversation.

This is a slight modification of Densevoid's "One bed to sleep with all" mod.

For a straightforward one-to-many harem situation, Densevoid's mod already does a great job. However, in a many-to-many "free love" style colony, it quickly gets overwhelmed.

This mod changes it to allow colonists who own a bed to also be allowed to be a guest in someone else's bed (toggleable per colonist if you enable the button in Mod Options), and changes the sleeping logic to first try to join a partner already asleep in bed where they are the current guest.

This allows it to handle complex relationship webs easily; you can simply assign every colonist as a master of their own bed and they'll manage things from there.

Ongoing Games:
Should be safe to add, safe to transition from the original mod, and I think it's safe to remove too.
You should still make a hard backup save before trying any of the above, just in case.

Other Mod Compatibility:
- Incompatible with Big and Small Framework. It's been reported to mess up peoples' sizes. No idea why, I don't use it myself and haven't yet looked into it.
- Incompatible with More Slavery Stuff. It was reported as "it broke the bed so that there was no option when you selected the bed."
- Incompatible with Multifloors/Verticality. It's been reported to override this mod's features, preventing people from joining partners in bed, to the point they'd rather sleep on the floor.
- Soft-incompatible with 3+ person beds. They can both exist in the same game fine, but setting a 3+ person bed to Poly Mode can cause weirdness with the bed's assignments.

In general, it should be the same as the original. I've had a report it's actually more compatible with speed-improving mods, but if so it's accidental.

Source code is included, MIT license as per the original.
Popular Discussions View All (1)
9
23 Sep @ 7:31am
bug report
Pillar
301 Comments
Maeyanie  [author] 28 Sep @ 5:38am 
@Geojak: Steam can be bad about doing updates sometimes, it may have just not correctly updated you. If you do run into it again in the future, please let me know.
Geojak 28 Sep @ 5:21am 
error didnt occur anymore on the same safe point it spammed before. weird
Maeyanie  [author] 26 Sep @ 10:35pm 
@Geojak: Hm, that should work fine...

I posted a new version which should help isolate where the problem is happening without spamming everyone's logs and slowing things down.
Now, if an exception happens, it'll give red text with a step 1, 2, 3, or 4 depending where the problem happened. That should at least tell me where to look.
Geojak 26 Sep @ 1:28pm 
maybe relevant to this, in this colony almosst every male is marreid to amlost every female and vice versa. i have 4 double beds set to polyamory, where my 4 male colonsist sleep as masters. then for my 5 female conolist they each have a hopsital bed assgined as their regular bed (not set to medical) when they dont get a spot in the double bed. you changed somerhing about medical beds or hosptial beds?
Geojak 26 Sep @ 1:24pm 
got this error spawm today, seems to be intopruced by your recent change
Geojak 26 Sep @ 1:23pm 
Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage:
at OneBedToSleepWithAll.Patch.RestUtility__FindBedFor.Postfix
at RimWorld.RestUtility.FindBedFor
- POSTFIX densevoid.hui.personalworkcat: Void OneBedToSleepWithAll.Patch.RestUtility__FindBedFor:Postfix(B
at RimWorld.RestUtility.FindBedFor (Verse.Pawn p) [
at RimWorld.JobGiver_GetRest.TryGiveJob (Verse.Pawn pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000f2] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage
Maeyanie  [author] 24 Sep @ 6:40am 
Okay, since people are saying it looks good, I've pushed a non-debug version. There's no other changes besides that, so hopefully nothing will have broken.
冰镇糖桂花 24 Sep @ 5:47am 
same problem:steamsad:the white text keep repeating for hundreds of times which made my game quite laggy:isaac:
Sushido 24 Sep @ 5:37am 
Everything is all good now, except for white text stated from other comments of course, i tried to replicate the error when i rmb a pawn that is downed, but there's no error shown, so yeah everything is good, thank you for patching it.
狼雨歌 24 Sep @ 3:23am 
Thank you for your answer . It would be better if you can reduce the frequency . Or allow me to disable it in the settings .