RimWorld

RimWorld

409 ratings
Stockpile Ranking
2
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
129 Comments
piercebuster 2 Aug @ 6:43pm 
To whoever updates this to 1.6:
Grave/sarcoph didn't spawn. Conflict w/ Storage Hysteresis?

Short log

Exception in JobDriver tick for pawn Rick driver=JobDriver_ConstructFinishFrame (toilIndex=1) driver.job=(FinishFrame (Job_155207) A = Thing_Frame_Grave48401 Giver = JobGiver_Work [workGiverDef: ConstructFinishFrames])
System.MissingMethodException: Method not found: System.Collections.Generic.List`1<Verse.Thing> RimWorld.ListerHaulables.ThingsPotentiallyNeedingHauling()
[Ref 7718B993]
at Stockpile_Ranking.RankComp.CopyFrom (RimWorld.StorageSettings...) [0x0006e] in...
at RimWorld.StorageSettings.CopyFrom (RimWorld.StorageSettings other) [0x0001d] in...
- TRANSPILER Uuugggg.rimworld.Stockpile_Ranking.main: IEnumerable`1 Stockpile_Ranking.CopyFrom:Transpiler...
- POSTFIX PureMJ.MjRimMods.StorageRefillHysteresis: Void MjRimMods.StorageRefillHysteresis.StorageSettings_Patch:After_CopyFrom(StorageSettings __instance,...)
at RimWorld.Building_CorpseCasket.PostMake...
Bunkeror 31 Jul @ 11:57am 
o7
Tinda 15 Jul @ 1:13am 
It seems Meme Goddess had taken it upon herself. She'll get to this one eventually, I'm sure.

In the meantime, rest in peace Uuugggg o7
#6 15 Jul @ 12:42am 
Maybe @Zaljerem or @Mlie could take them over?
Thanks for all the fun Uuugggg, you will be missed.
Felios 14 Jul @ 11:54pm 
o7
F
r.i.p.
justydusty 14 Jul @ 10:41pm 
o7 you will absolutely missed you fucking legend
Appokallopps 14 Jul @ 6:18pm 
o7
SHAZBOT 14 Jul @ 9:17am 
from a comment on another thread (CTRL F mod) -
Uuugggg  [author] 3 hours ago 
Sadly my son Alex TD @uuugggg died June 2025. Can anyone tell me if I could/should report this to someone? And I know he made a lot of mods that people used and seemed to depend on. He was very proud of his mods. And his games.. see tdsgames.com Is it possible for someone to take over managing his mods? I’m at catears@me.com thank you Marilyn T (T of TD)
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?