RimWorld

RimWorld

401 ratings
Stockpile Ranking
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
461.330 KB
6 Nov, 2018 @ 11:14am
24 Mar, 2024 @ 2:25pm
15 Change Notes ( view )

Subscribe to download
Stockpile Ranking

In 2 collections by Uuugggg
Uuugggg's RimWorld mods
29 items
All the RimWorld mods you need
56 items
Description
" "Makes stockpiles better" " - Mehni

---

Stockpiles prefer certain items, but if none are available, allows others.

---

Set multiple ranked filters for stockpiles, to prefer some items over others. Only the highest ranked items will be put in the stockpile, but if you don't have those available, lower ranks will be allowed.

This enables a zone to allow only Lavish Meals, but when they are not available, other meals are still allowed.

Same with kibble > hay > veggies.

(There are probably other applications than food ranking.)

---

Lower-ranked filters have to include everything that higher ranked filters do. So when you try to disable an item in the filter and nothing happens, it's probably because a higher rank allows that item.

There's a toggle that makes sure to replace lower-ranked items with higher-ranked items when they become available. It is worse for performance though.

---

The tiniest technical detail: this also fixes a bug where, after loading, changing a storage filter wouldn't update the hauling system, (and changing the HP/quality wouldn't ever update)

---

Yea it's incompatible with Extended Storage, but I don't use that. Anyone can look at the source and find out how to fix that, or you gotta wait for my generosity to make something that I'll never use work.

---

Ludeon Forum (modlist) : https://ludeon.com/forums/index.php?topic=40701
GitHub source : https://github.com/alextd/RimWorld-StockpileRanking
Popular Discussions View All (2)
1
10 May, 2024 @ 5:54am
Bug Reports
Uuugggg
0
23 Dec, 2022 @ 10:31am
New Feature/Mod Inquiry
Cyber
121 Comments
Uuugggg  [author] 11 Feb @ 2:56pm 
Oh, neat thought. Not any time soon, heh.
Serp 10 Feb @ 6:54am 
Thanks.

Any chance you can add the same system to the "Food Rules" ?
So I can stop my pawns to consume veggie meals while meat-meals are available, so my vegetarian pawn has veggie food left?
VerteNinja 29 Feb, 2024 @ 1:22pm 
I keep getting a "no storage space" alert.

I have every think set where all the "rank 2" filters allows all items.

do I need to adjust the priority in any way?
Hattsworth 8 Feb, 2024 @ 8:58pm 
I've noticed some odd behavior: if every Rank 1 storage is full (or there just aren't any) it starts acting like there are no lower-rank storages available, at least for that tier. The result is pawns pulling out all the steel from Important Rank 2 storage and dropping it in a Low storage that's Rank 1 (for general overflow).
TJawn McJawnnell 21 Sep, 2023 @ 6:29am 
I didn't do an exhaustive test but it does appear to be fixed. Thanks!!
Uuugggg  [author] 19 Sep, 2023 @ 3:10pm 
ok fixed
Uuugggg  [author] 19 Sep, 2023 @ 1:04pm 
blep lol my testing ended up in that scenario but no it's not doing ranking.
Uuugggg  [author] 19 Sep, 2023 @ 12:57pm 
Oh snap - so wait, the stockpile ranking is applied -- but this new 3-items-on-a-spot is broken and it's only delivering one? WEIRD HUH
TJawn McJawnnell 8 Sep, 2023 @ 2:16pm 
Correct. Vanilla, unmodded Rimworld added a feature that allows shelves and other storage buildings to be linked, which allows them to share storage settings. It's a great quality of life feature.
Uuugggg  [author] 6 Sep, 2023 @ 10:04pm 
Wait is that “vanilla shelf storage” not a mod

Sounds like a silly question but for some reason a lot of mods are titled vanilla