RimWorld

RimWorld

258 ratings
Caravan Auto-Bedroll
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1
File Size
Posted
Updated
225.483 KB
Mar 22, 2019 @ 4:54pm
Mar 1, 2020 @ 5:18am
6 Change Notes ( view )

Subscribe to download
Caravan Auto-Bedroll

Description
Do you ever send a caravan on its way and forget to pack bedrolls for your colonists? Not anymore!

Right after you close the caravan dialog box, and right before your caravan starts packing, this mod checks to see if you've included enough bedrolls for everyone. If you didn't pack enough, and if you have some laying around uninstalled, it adds them to the packing list until everyone will have one. Your colonists will then gather them along with all of the other caravan goods and go on their way.

Mod can be safely added and removed without breaking saves.

-----

Bedrolls are sorted in terms of comfort, best ones are taken first.

Only items that appear in the caravan dialog are eligible for consideration. This dialog only seems to recognize items from within your Home area, and only "uninstalled" bedrolls should ever be eligible.

The default bedrolls only ever appear in stacks of one; if there's a mod that allows stacks of multiple, it should be compatible. (Hasn't been tested.)

In the vanilla game, only bedrolls satisfy bed_caravansCanUse in BuildingProperties, but if any mods add additional building definitions that have this property set to true, they should be compatible. (Hasn't been tested.)

If you need to use this mod with 1.0, you can download or compile it from the last compatible version: https://github.com/calvin-fisher/RimWorld-CaravanAutoBedroll/releases/tag/v3

-----

Changelist:
[v4](2020-03-01) Upgraded Harmony, added 1.1 compatibility, broke 1.0 compatibility
[v3](2019-04-04) Will now display warning instead of putting a caravan over its weight limit
[v2](2019-03-25) Changed sort from item quality to actual bed comfort
[v1](2019-03-22) Initial version

Future to do list:
* Check pod launches as well
* Settings (CheckRegularCaravans, CheckPodLaunches, AllowOverWeight, etc)
* Inject settings toggles directly on to caravan formation dialog

Feel free to help with any of those. Pull requests are welcome!
https://github.com/calvin-fisher/RimWorld-CaravanAutoBedroll
27 Comments
HKO2006 (no mic) Aug 28, 2023 @ 8:33pm 
even better if they do USE the bedroll when you set up camp https://steamcommunity.com/sharedfiles/filedetails/?id=1353625821
wooaa Aug 9, 2021 @ 3:52pm 
A mod so cool that it was made part of the base game. great job!
AlexDeathWalker Jul 22, 2021 @ 4:35pm 
1.3?
Cirno Sep 11, 2020 @ 1:39pm 
It seems this was added to the game in 1.2.2753 update:
- We now automatically add appropriate bedrolls to caravan.
Camaleão Aug 16, 2020 @ 6:58am 
+1 to 1.2
空洞法师 Aug 15, 2020 @ 12:07am 
1.2 please
AndHobbes  [author] Jul 23, 2020 @ 5:24pm 
@MM it gives you a warning so you can either remove things to make room or proceed anyway
M Jul 17, 2020 @ 8:10pm 
How does this work if you pack a caravan to the brim before setting out and bedrolls would put your carried mass over the limit?
SRT_Reno Jul 13, 2020 @ 5:59pm 
I think I love you.
Hairy Howler May 4, 2020 @ 9:18pm 
How does it feel to be a god damn genius?