RimWorld

RimWorld

156 ratings
Please Haul Perishables
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2
File Size
Posted
Updated
814.293 KB
25 Apr, 2020 @ 9:59am
21 Aug, 2020 @ 6:42pm
3 Change Notes ( view )

Subscribe to download
Please Haul Perishables

Description
With permission, I've updated this to 1.1 compatibility. The only changes made was to detect Pick Up and Haul correctly. Debug mode in the settings gives quite a bit more information as well.
Something I noticed is that this mod makes best effort to haul perishables, but your work priorities still govern when your pawns actually haul.
Original Mod: Please Haul Perishables by Marvin

Original Description Below

Adds new WorkGivers for hauling, which prioritise hauling perishables or food over non-perishables. Items will be considered perishable if they would rot in less than a year or deteriorate to zero hitpoints in ten days or less.

Rain and water, which both cause higher deterioration rates, will be taken into account.

Perishable items will only be given priority for hauling if they are outside.

A check is made to see if the perishable has a large enough stack size. Things which have a maximum stack size of 1 (weapons and apparel for example) pass automatically. Other perishables must have a high enough stack count for that kind of item. The exact threshold depends on the hauler's current carrying capacity and the ideal carrying capacity for their race, but it only goes as high as 40. The perishable can still pass the check if there are other perishables of the same type nearby, or if it would deteriorate to zero hitpoints in ten days or less.

Food will also be hauled if it needs to go from low to high priority storage.

A new general hauling routine prefers valuable items like silver or big stacks of items for hauling, regardless of whether they are perishable or not. It will look at a square grid and a plus-shaped grid of cells to see if a big stack of the same type of item could be made. The normal general hauling routine picks up any leftovers.

New in this version, if Pick Up and Haul is active, the mod will use its hauling routine instead, but the order in which things will be hauled will still be decided by this mod.

Also, to improve performance, the lists of things to be hauled will be cached in memory and only updated when a certain number of in-game ticks have passed.

A debug mode exists and will give feedback when you right-click a haulable, so if it is not considered perishable or food or a big stack, that will show as a reason for not doing the job, in addition to still allowing you to manually prioritise hauling.

[Version 1.5.2]

Credits - Retained from Marvin's Source

Original code by Marvin.

Preview is originally made by Marvin.

Steam thumbnail image backgrounds are royalty-free images from Pixabay or originally made (badly) by Marvin.

RimWorld unofficial font by Marnador.
34 Comments
Mlie 13 May, 2022 @ 12:14pm 
Since Jellypowered stepped back from modding I made an update of this:
https://steamproxy.net/sharedfiles/filedetails/?id=2807630952
Hope it helps anyone!
Taemaly 22 Nov, 2021 @ 3:08pm 
Please update
Thumper Ankle Breaker 10 Oct, 2021 @ 9:24pm 
Anyone making a 1.3 version please tag me
Offutticus 6 Oct, 2021 @ 8:03am 
Error with Achtung as well. Will remove until patched.
Izanami 12 Sep, 2021 @ 10:11pm 
@Jellypowered

1.3 Bump?
pinbuck 4 Sep, 2021 @ 11:10pm 
does this mod matter for 1.3?
@Jellypowered
Ryanlie 4 Sep, 2021 @ 8:12pm 
error when plaing with achtung
pinbuck 17 Aug, 2021 @ 11:32pm 
vouch for 1.3 mver or someone fork
Gorehuchi 29 Jul, 2021 @ 4:09am 
Currently bugged, I'm afraid. This mod makes commanding undrafted pawns to pick up/interact with unforbidden objects fail. (Running with both DLCs and no mods)
The Pain Of A Nation 28 Jul, 2021 @ 11:12pm 
is it safe for 1.3