RimWorld

RimWorld

Bed Ownership Tools
52 kommentarer
躲进温柔的梦 12. nov. kl. 19:40 
alright
lazerboy  [ophavsmand] 11. nov. kl. 19:57 
@躲进温柔的梦 The mod doesn't allow medical beds to be given assignment groups. Colonists will go to the closest bed when they are injured.
躲进温柔的梦 7. nov. kl. 13:07 
Can the medical bed also be grouped? Sometimes the little people will run to the medical bed on the spaceship to wait for treatment instead of the one at the base
kongkim 1. nov. kl. 3:51 
Looks good,will try it out :)
Hugalafutro 15. okt. kl. 6:54 
Thank you for the fixes all seems well now!
lazerboy  [ophavsmand] 12. okt. kl. 15:44 
Android-human lovin' should be fixed in version 1.1.4. :D

(couples can share communal beds and switch between ship/home beds)
lazerboy  [ophavsmand] 12. okt. kl. 10:07 
You're welcome. :) The issue with the android/human lovers not lovin' is a miss on my part. I'll fix that (it won't work with communal beds and for beds on which the android's name is grey). You can mitigate the problem by giving the couples just one permanent bed for now.

I didn't document the white/grey label colours before but I'll give a explainer (it's technical, so feel free to skip below text wall).

The base game and other mods only know about one bed owned by a pawn at any time (which are the names labelled in white). This mod stores a roster of beds per pawn to try when they want to use a bed. The assignments in that roster that aren't known to the base game are labelled in grey.

In order to make bed routines use the roster, I add code patches to search for an accessible bed and make that the pawn's owned bed when needed. Without those patches, the game only uses the white label assignments. I probably need to patch the custom lovin' job in VRE Androids.
Hugalafutro 12. okt. kl. 4:43 
Thank you!

Another issue I'm running into (might be android related too, but to my best recall I was running into similar issue with humanoid colony too) is: I have 3 android+humanoid lover pairs. As I mentioned they require double bed assigned on top of the rest spot, but the android only uses it to bonk.

So I build a double bed on base, double bed on gravship. Set the base one to group Home, the one on gravship to group Ship. Assign the 2 lover pawns to home bed first, the names on bed are white, assign the gravship bed the names on gravship bed are gray

Then i go on the gravship mission, after landing even if both pawns are on gravship one name will be grey and one white and I have to reassign to get both names white and get the pawns to get in together. Same back at base with their home bed after the gravship returns.

How to best handle gravship? Assigne them home beds on base and leave the gravship beds communal? Or the other way around ?
lazerboy  [ophavsmand] 11. okt. kl. 12:22 
@Hugalafutro I added support for VRE Androids in 1.1.3. If you mark all the android stands in your base as "communal", androids should only walk to the nearest ones to clear memory.
lazerboy  [ophavsmand] 9. okt. kl. 19:08 
@Hugalafutro I'll take a look at VRE Androids. I think I can port the communal bed feature to the stands so that androids don't run halfway across the base to free memory.
Hugalafutro 9. okt. kl. 5:48 
Hi, would you consider extending the functionality to the Android stand from Vanilla Races Expanded - Androids? Tthey don't sleep per se, but need to free memory every few hours and run to the stand (they can do it anywhere, but on the stand it's much faster.

For all intents and purposes the stand is considered a bed and can be assigned as such in gui (can even be assigned for guests from Hospitality continued). To complicate things, once 2 androids marry they require a double bed assigned to them despite never using it to remove the Sleeping alone moodlet. Married android and human will use the bed for lovin' after which the android immediately leaves leaving the wife snorin' in the bed :D

Thing is once I built gravship, the androids that were on last mission on gravship keep running to the stands on the gravship all the way outside the colony instead of using the stand that is few tiles away.
lazerboy  [ophavsmand] 8. okt. kl. 21:55 
I released an update (1.1.2) that allows couples to sleep together each night in a pool of communal beds, to fix a limitation that @DerGeissler identified earlier.

When there are double beds marked as communal beds, couples will use them to sleep together (as long as their sleep schedules align). Single pawns will prefer single beds. Unrelated pawns will still pack double beds when there aren't enough empty beds.

I enabled some mood effects on the communal beds ("Sharing bed" or "Sleeping alone") that previously only applied to owned beds, since they fit with the new sophisticated bed finding routine.

These changes can be reverted in mod settings by unchecking "Communal bed selection considers relationships".
Deggial 29. sep. kl. 8:58 
Awesome!
I just wanted to suggest that you could take a look at Deathrest.
I'm glad I didn't dismantle all the colony instalments now.

On the other hand, though, those Deathrest linkables aren't exactly cheap.
And that poor guy in the drain casket!

I've decided to limit myself to the ship's Deathrest chamber in future runs, since my Sanguiophage has access to it when visiting the main colony.
lazerboy  [ophavsmand] 28. sep. kl. 20:28 
Hello. I just released two new features relating to deathrest.

Spare deathrest bindings - Allow deathresters to switch between multiple sets of deathrest buildings.
Automatic deathrest - Assign exhaustion-based or calendar deathrest schedules to individual deathresters.

As always, the features shouldn't change vanilla behaviour unless you opt to use them, and can be fully disabled through the mod's settings.

I apologize in advance for any new bugs. I'll try to fix any that are discovered.
I hope the new features are interesting enough to make up for it!
lazerboy  [ophavsmand] 28. sep. kl. 14:41 
Glad you liked the mod, DerGeissler. :)

The closest thing is to have a pool of communal beds and set pawns' activity schedules to separate them into 2 shifts in the 24h day, I believe as you've already found. The mod doesn't have a feature that allows owned beds to be shared like a proper military hot bunk assignment.

Yes, sadly the communal beds don't quite work with couples. I thought about fixing it before but haven't looked at it in a while, maybe will take a fresh look in a month or two. My workaround in my own save was to let singles use communal beds, and to give permanent beds to couples.
DerGeissler 28. sep. kl. 2:33 
Hi and thank you for the mod! :-) Is it possible to have pawns sleep in shifts in designated beds? Communal beds dont really work for couples, they prefer sleeping in single beds. I was hoping to establish a submarine-like sleep schedule on my gravship
Fortenraven 18. sep. kl. 13:34 
Thanks for looking into it. I let the dev of Set Owner for Prisoner Beds know in the comments.
lazerboy  [ophavsmand] 17. sep. kl. 19:23 
No worries Fortenraven. The problem with prisoner assignments looks like a compat problem between MultiFloors and Set Owner for Prisoner Beds.
Fortenraven 17. sep. kl. 15:45 
Also heads up, it seems that prison beds on other floors (for MultiFloors) might be having issues but communal colonist beds are OK. I tested by trying to build two cells and on attempting to choose prisoners to assign the bed I could only see colonists.
Fortenraven 17. sep. kl. 14:41 
Checked and the compat update works for my communal rooms on the second floor, thank you again lazerboy!
lazerboy  [ophavsmand] 14. sep. kl. 10:51 
MultiFloors compatibility was added in version 1.0.8. Cheers.
lazerboy  [ophavsmand] 13. sep. kl. 8:07 
Will take a look at MultiFloors, Fortenraven. That looks like a very cool mod.
Fortenraven 13. sep. kl. 1:57 
I tested MultiFloors with communal beds and pawns won't pathfind to them when they're on another level. I'll check if they pathfind to assigned beds but just a heads up for anyone who finds pawns sleeping out on the ground while using MultiFloors.
lazerboy  [ophavsmand] 10. sep. kl. 18:45 
Will keep an eye on the VE Gravship release. :D
Deggial 10. sep. kl. 1:21 
I believe you are aware of the upcoming VE Gravship mod and its ship-specific version of bunk beds.
The need for further compatibility tweaks is approaching! ;)

(I grant you that this is a *very* premature hint. :D)
lazerboy  [ophavsmand] 9. sep. kl. 22:07 
Bunk Beds is now compatible as of version 1.0.6.
lazerboy  [ophavsmand] 8. sep. kl. 20:09 
Thanks for looking over those Poindexter1985 (I guess that compatibility table was an Easter egg for people who read change notes :) ). Good idea. Initially I wasn't sure how much commitment I could give to supporting feature/compatibility requests but workload seems manageable so I'll put them in the description.
Bunk Bed is incompatible as of 1.0.5 but I looked at it and decided to work on it for next release.
Poindexter1985 7. sep. kl. 10:03 
I see on your change notes that you've added support for Loft Beds, polycule beds, and that you've got a mod compatibility table on your Github. I'd suggest adding mod compatibility information (even if it's just a link to the Github info) into the main Steam description, so that the information doesn't get buried in the comments and version history as time goes on.

Since you've added compatibility for Loft Beds, that made me wonder - how is compatibility with Bunk Beds? I don't play with either mod currently, but Bunk Beds appears to be the more widely used version (based on Steam subscriber numbers).
Dead_William 6. sep. kl. 4:51 
Many thanks, this will save a lot of frustration.
It appears its a common vanilla behavior to lose the beds after traveling away from the map with some paws. Maybe you could implement a permanent setting in your mod since it deals with beds and such. I know there's already a mod for that (Sensible Bed Ownership), but I didn't test compatibility with your mod.
lazerboy  [ophavsmand] 5. sep. kl. 16:21 
Thanks for the compliment, @The Great Bamboozle

@Berri, Ronald Hardest Loft Beds works now (1.0.4)!!! Lol I had some pretty cursed experimental code until earlier tonight but it ended up simplifying to something nice.
The Great Bamboozle 5. sep. kl. 14:29 
Should've been vanilla when Gravships came into the equation. Thanks for the mod king.
🍓Berri🍓 5. sep. kl. 7:31 
Sounds good, I looked myself and yeah it had stumped me as well
lazerboy  [ophavsmand] 4. sep. kl. 19:26 
Thank you Berri. Thanks for the kind words and also digging through your mod list earlier in the bug reports thread.
Yeah I'm aware of the compatibility issue with Loft Bed continued. The mod adds some code to let multiple Pawns sleep on the same grid square on the map, but that added code depends on the sleepers being assigned to the bed (which is something the communal beds don't do).
Anyway investigating support for Loft Bed is next on my todo list (though I haven't found a clear solution yet so no promises :) ).
🍓Berri🍓 4. sep. kl. 11:11 
not really sure how to report this and it may just be a game limitation but pawns don't seem to use loft beds from the loft bed continued mod when you set them to communal, there doesn't seem to be any errors or anything so it may just be how rimworld works...

That said, super minor issue and this mod is absolutely amazing
lazerboy  [ophavsmand] 3. sep. kl. 20:10 
@恰似宛然一笑生花 谢谢! I can speak a bit but can't write at all so it's very nice of you to translate.

@tata You're welcome. :) It's an issue with Bed Ownership Tools. I fixed it with v1.0.3 released just now.

@Poindexter1985 I added some support for One bed to sleep with all in v1.0.3.
tata 3. sep. kl. 13:55 
Hello. Thank you for the great mod.
It might not work well with the MedPod, a healing bed mod.
Or it might be an issue with the order, but in my environment the MedPod became broken.
Fortenraven 3. sep. kl. 7:39 
@lazerboy Tested the update and it works! Thank you for the quick update.
Julian333XD 3. sep. kl. 6:09 
regarding cgzxhdc's bug, i had the same bug in 1.5 without your mod, probably just mentioned in the handler OR vre:a just patches that destructively.
恰似宛然一笑生花 3. sep. kl. 1:17 
Hello lazerboy, that's an interesting mod. So I created a mod "Bed Ownership Tools_zh" that adds a Chinese translation for your mod and published it on the workshop. Thank you for your contribution! Keep on keeping on!:dslike:
ggfirst 2. sep. kl. 21:20 
Amaazing mod. God bless you and your mod.
lazerboy  [ophavsmand] 2. sep. kl. 17:15 
@Fortenraven I fixed in 1.0.2, which I released just now. Both mods patched the same function used to retrieve candidates for bed assignment. I modified Bed Ownership Tool's patch to make the two mods get along.

@cgzxhdc I tried a band-aid fix for 1.0.2, but couldn't reproduce the error with VRE Androids and Complex Jobs installed on a new save. So I'm not sure if I actually fixed anything. :) Let me know if you still see it or you're interested in chasing it further (may require entire modlist and save).
lazerboy  [ophavsmand] 2. sep. kl. 17:15 
Thank you for the kind words everyone.

@Poindexter1985 One bed to sleep with all - Polycule Edition interacts weirdly with this mod. It seems to work if you don't use this mod's settings on polyamory beds and vice versa. You may need to disable the assignment group feature. I'll take a look at adding compatibility but it'd be a lengthy task so I can't give a commitment.

@Ronald Hardest Loft Beds doesn't work with this mod's communal bed setting. It does work with assignment groups and pinned bed assignments. I'll take a look at adding compatibility but it looks like it'd require heavy code edits to either mod so I can't give a commitment.
cgzxhdc 2. sep. kl. 9:48 
Great mod! Will it be more compatible if it only works with colony beds? Including: WorkGiver_RescueDowned -> RestUtility.FindBedFor. Please check my bug reports in discussion
Fortenraven 2. sep. kl. 6:24 
There's a bit of a compat problem with Set Owner for Prisoner Beds - It doesn't let me assign prisoners to prisoner specific beds and instead brings up existing colonists. Removing Set Owner for Prisoner Beds doesn't give me a widget to set prisoners within Bed Ownership Tools but it'd be awesome if it did or got along with Set Owner for Prisoner Beds.
Ronald Hardest 2. sep. kl. 5:31 
Anyone know if this works well with Loft Beds? I know sensible bed ownership + gravships + loft beds caused some weird behavior.
Poindexter1985 1. sep. kl. 22:10 
Has anyone tested this for compatibility with the mod One bed to sleep with all - Polycule Edition?

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3244294636
Cap'n MacHaddish 31. aug. kl. 13:47 
Seems like the old must-have utility mod "Sensible Bed Ownership", but WAY better and with more direct and granular control.

Hell yeah.
ZX Zero 31. aug. kl. 6:56 
Wow nice mod the mess created when caravanning now is gone! :steamthumbsup:
L. Velociraptor 30. aug. kl. 17:19 
Thanks so much for this, and confirming it works with mods like Hospitality! Really excited to try this one out. :p2cube: