RimWorld

RimWorld

Not enough ratings
Clear The Stockpiles
 
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.014 MB
Oct 11 @ 11:57am
Oct 23 @ 6:52am
5 Change Notes ( view )

Subscribe to download
Clear The Stockpiles

Subscribed
Unsubscribe
In 1 collection by Marvin
Marvin's Most Abducted Mods (B19)
7 items
Description
Adds a new WorkGiver for hauling, which prioritises clearing stockpiles of blockages that may exist if there are extra products from doing a bill at a work table.

The behaviour of this WorkGiver is as follows:
If an item doesn't belong in a stockpile, first a check is made to see if there is a valid stockpile within a radius of 18 of the item. If so, the item will be taken there.
If no valid stockpile was found or no stockpile with enough space was found, the item will be dumped in a small radius of its original position. This position will not be next to or in a doorway or on top of a trap.

The clearing routine by default runs at a higher priority (85) than hauling corpses (corpses can block stockpiles, no reason not to haul those) but at a lower priority than burying and stripping corpses.

New in this version, you can configure the radius in which to search for matching stockpiles, between 1 and 25.

[Version 1.0.6]

Please ask me before re-uploading this mod.

Works with existing saves.

Go to the 1.0 version.

Go to the Alpha 16 version.

Go to Ludeon Forums for more information and direct download links: https://ludeon.com/forums/index.php?topic=30508.0

If you like this mod, why not consider looking at some of my other mods?
< >
9 Comments
Marvin  [author] Oct 23 @ 6:53am 
I posted an update to this version, in case some of you are still finishing off B19 games. It should fix any problems you might have been having.
Marvin  [author] Oct 19 @ 1:10am 
Hey guys, the 1.0 version is available from the link above.
Marvin  [author] Oct 14 @ 12:06am 
Cool, good to know.
ab9rf Oct 13 @ 11:39pm 
Problem appears to be resolved. Thanks for prompt resolution.
Marvin  [author] Oct 13 @ 7:07pm 
I fixed a bug in the code which would let out-of-bounds cells be generated. That's what I think caused the error. Give it a try and see if it works now.
Marvin  [author] Oct 13 @ 3:43pm 
Okay thanks, I'll look into it.
ab9rf Oct 13 @ 9:45am 
Getting a IndexOutOfRangeException. Full stacktrace at https://gist.github.com/ab9rf/bdf5ffcc3f73f65f27df50fc4d14e787

This message is repeated dozens of times (24, 48, or 72, in fact) and causes a massive lag spike once every five to ten seconds.
raydarken Oct 12 @ 7:07am 
Great job Marvin thank you!
ardydo Oct 11 @ 4:15pm 
Thanks for the update! Really missed this mod :)