RimWorld

RimWorld

260 ratings
Caravan Auto-Bedroll
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1
File Size
Posted
Updated
225.483 KB
22 Mar, 2019 @ 4:54pm
1 Mar, 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) 28 Aug, 2023 @ 8:33pm 
even better if they do USE the bedroll when you set up camp https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1353625821
wooaa 9 Aug, 2021 @ 3:52pm 
A mod so cool that it was made part of the base game. great job!
AlexDeathWalker 22 Jul, 2021 @ 4:35pm 
1.3?
Cirno 11 Sep, 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 16 Aug, 2020 @ 6:58am 
+1 to 1.2
空洞法师 15 Aug, 2020 @ 12:07am 
1.2 please
AndHobbes  [author] 23 Jul, 2020 @ 5:24pm 
@MM it gives you a warning so you can either remove things to make room or proceed anyway
M 17 Jul, 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 13 Jul, 2020 @ 5:59pm 
I think I love you.
Hairy Howler 4 May, 2020 @ 9:18pm 
How does it feel to be a god damn genius?