RimWorld

RimWorld

Stockpile & Ingredient Filters
135 Comments
Sebaty5 4 Sep, 2024 @ 8:12am 
I got back into rimworld after having it sit with anomaly for ages now.
Is this stable to add to 1.5 or not?
krzarb 18 Apr, 2024 @ 12:53am 
Is there any chance this mod will be getting an update to 1.5? It has amazing utility and is definitely a favourite of mine.
Krówzyn 4 Feb, 2024 @ 1:49pm 
is it safe to add to or remove from existing saves?
daz_ian 13 Jan, 2024 @ 8:25am 
Seems to be partially incompatible with BetterSliders.

With the "Days to rot" filter, the slider can't choose any value other than 0, so the value needs to be typed into this mod's entry fields. From what I can tell, BetterSliders is constraining the value to the slider's range, so any value typed in gets automatically reset to 0.
Rokuni 24 Dec, 2023 @ 9:35pm 
xenotype filtering for corpses would be amazing!
andyhubbell 10 Dec, 2023 @ 4:34am 
How about filtering by xenotype for corpses especially?
codeoptimist  [author] 17 Aug, 2023 @ 1:36pm 
- at: 3.1.1
credit: kilowatt1393
desc: |-
• Fixed always creating an ingredient meat source filter on load.
codeoptimist  [author] 5 Aug, 2023 @ 8:56am 
@SquareCubiC, Cool! I understand. I will look into that. ;)
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8 5 Aug, 2023 @ 7:56am 
sry for answering late
let's take a simple meal for example.
a simple meal take 10 ingredients, and i wanted to be able to have, no matter what the ingredients are, rice, corn, meat, at least one human meat, so it qualifies as cannibal food.
that's been the at least part ^^
i was hoping that if i completely understood how i set a minimum value, the max value would be self explanatory.
so in the end, yes, i was asking about using one human meat along with 9 other ingredients.
pgames-food 2 Aug, 2023 @ 11:45am 
(at first i thought they had lots of human meat and just wanted to use most of that up first, and then other types of meat, in only 1 recipe bill, rather than making multiple, but now im not sure maybe they are indeed trying to fulfil a cannibal need for a meal, but only 1, but the 'at least' threw me off - i guess i need at least 1 more coffee lol) :lunar2019piginablanket:
codeoptimist  [author] 2 Aug, 2023 @ 8:40am 
@SquareCubiC, I don't really understand the question. Are you trying to conserve human meat by using only the 1 required to qualify as cannibal/humanlike? You said "at least" though, won't they already use as much as they can? Are you asking for the ability to set a minimum or a maximum on the nutrition from a specific meat source? 🤔 I haven't really "played" RimWorld in a long time, I hardly even remember how the exact ingredient consumption works.
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8 2 Aug, 2023 @ 5:26am 
is there any way, that allows me to create cooking bills for meals that allow me to setup a ratio for ingredients? like at least 1 human meat rest whatever meat?
i know that i could use stockpile limits and ingredient search radius and such to do that, but that would require way too much space as well as hauling jobs plus, it wouldnt be as reliable 😦
BlackSmokeDMax 20 Jul, 2023 @ 5:35am 
Thanks! Will give this a try a little later today hopefully!
codeoptimist  [author] 19 Jul, 2023 @ 11:22pm 
Mod updated, can now filter by insect / humanlike meals, which I think is pretty cool.

That was a big architecture change (always on the roadmap) and now it basically supports *ANY* type of filter I might add in the future, not just a range of numbers. So, woohoo!

Probably done with this mod for now except bug fixes.
codeoptimist  [author] 17 Jul, 2023 @ 6:13am 
@pgames-food, @Sebaty5, 😊👍
codeoptimist  [author] 17 Jul, 2023 @ 6:12am 
@dinhkhiem199833, I believe you but I can't reproduce that. (And the mod doesn't know/care when storage was made, there is no per-stockpile initialization or anything like that can be missed or messed up. 🤷‍♂️)
pgames-food 17 Jul, 2023 @ 3:11am 
(welcome back codeoptimist) :lunar2019piginablanket:
Kaden Ha 17 Jul, 2023 @ 2:12am 
My old storages do not accept anything after I installed this mod, only newly built/created storages, despite the exact filters, accept items. So now I have to tear down every storage to get this mod working.
Sebaty5 16 Jul, 2023 @ 11:06pm 
Thank you for the update. I haven't been able to check it out yet, but your work is much appreciated.
codeoptimist  [author] 16 Jul, 2023 @ 1:17pm 
New version 3.0.0, overhauled and updated for RimWorld v1.4 ❤️

- at: 3.0.0
desc: |-
• Overhauled to write cleanly to save files, be compatible with all mods, and eliminate unnecessary object creation (improving performance).

• Whether or not a filter requires a stat to exist is now conveyed by ✔ for required, 〰 for not, and ✖ for disabled.

• Added Ⓘ button to open an information panel (the settings dialog).
codeoptimist  [author] 9 Jan, 2023 @ 8:37pm 
@Sebaty5 I'll check it out. While You're Up is about to reach final version.
Sebaty5 9 Jan, 2023 @ 9:20am 
could this be marked as compatible for 1.2-1.4?
as i have not noticed anything not working, but this is still on 1.1
Jetroid 1 Jan, 2022 @ 8:22am 
I'm having the same issue as evoc; the buttons appear but don't do anything. Any newcomers should wait and look out for the 1.3 + tag until downloading.

It's a shame because this mod seemed to be exactly what I was looking for!
codeoptimist  [author] 24 Aug, 2021 @ 2:38pm 
"Also, would it be possible to add the filter to workbenches?"
Already are. But apparently not on 1.3 until updated.

Been slaving over Jobs of Opportunity, v3.0 update almost done with some important bug fixes.
evoc 24 Aug, 2021 @ 2:22pm 
Unfortunately doesn't work for me in 1.3. The buttons are there, but nothing happens when pressing them.

Also, would it be possible to add the filter to workbenches?
Sebaty5 20 Jul, 2021 @ 2:11pm 
I am glad to hear that i wont have to miss out on this mod. Thanks a lot for your contribution to this community.
BlackSmokeDMax 20 Jul, 2021 @ 2:01pm 
Thx codeoptimist, glad to see you are still around!
codeoptimist  [author] 20 Jul, 2021 @ 1:59pm 
@Sebaty5, not sure! I wouldn't be real surprised though. Oh yeah I never did set it as compatible with 1.2 😅, it indeed required no code changes for that version of RW.

I just published JoO 's update for RimWorld 1.3 a few minutes ago. Which you may have just seen. This one will probably be next, will take a little longer so I can update my environment for it, so I can add future features easier.
Sebaty5 20 Jul, 2021 @ 1:48pm 
I hate to be that guy but will this work in 1.3 too? Worked fine in 1.2 as fare as i noticed
Taemaly 11 Feb, 2021 @ 9:40am 
Looking forward to your update :)
codeoptimist  [author] 26 Jan, 2021 @ 2:54pm 
This mod probably works fine on 1.2 even though it's not marked as compatible.
Likely would have been updated already but I've been solving work emergencies. 😬
Hopefully February. Thanks for your interest guys.
HoshiGiniro 24 Jan, 2021 @ 12:56pm 
is this mod still working in 1.2? it says it might not. when is the next update ?
Starcluster 10 Jan, 2021 @ 10:46pm 
Does this mod still work?
platinumhawkzz 23 Sep, 2020 @ 7:30am 
I think this type of mod is completely necessary if you want a clear flow-chart like path for how different goods are produced and sold. Now I'm even more eager for an update!
WaxWorm 15 Aug, 2020 @ 5:31am 
Awesome! Can't wait! ;)
codeoptimist  [author] 15 Aug, 2020 @ 4:56am 
Thanks @WaxWorm, I actually have a planned compatibility improvement I'll be adding with a 1.2 patch that should fix this. 😉
WaxWorm 15 Aug, 2020 @ 2:46am 
I posted an error report here and here .
codeoptimist  [author] 28 May, 2020 @ 12:26pm 
@krzarb, should be fixed now!
codeoptimist  [author] 27 May, 2020 @ 10:13pm 
@krzarb, I was afraid you'd say that. Yeah same here. What did they do to my precious input code. 😭
krzarb 27 May, 2020 @ 10:00pm 
Hi. Now that the game has officially updated, I am now once again having difficulty with keyboard inputs for stockpile ranges. The sliders still work fine though.
krzarb 26 May, 2020 @ 1:18am 
Hi again. You can disregard my last post. I was playing around with the unstable branch, but since reverting back to the stable version the keyboard input is working fine again for the stockpile filters.
krzarb 25 May, 2020 @ 5:20pm 
Hi. I seem to have lost the ability to have text input for the filter values. The sliders are still working fine, but when I try to type in values no change is made. I'm currently trying to set a minimum market value for a weapon's stockpile. Are you able to reproduce this at all?
codeoptimist  [author] 18 May, 2020 @ 10:32am 
@AeroAtar, Thank you! I couldn't reproduce this one, there must be a third mod involved? But I have (probably) fixed it anyway.
@BlackSmokeDMax, 👍
AerosAtar 17 May, 2020 @ 4:58am 
@codeoptimist Found another one for you: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1545144173 ;)

[HugsLib][ERR] Hold_Open_Opens_Doors caused an exception during OnDefsLoaded: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at CustomThingFilters.CustomThingFilters+Patch_StorageAndIngredients+StorageSettings_StorageSettings_Patch.CreateCustomFilter (RimWorld.StorageSettings __instance) [0x00005] in <3d9e9e1c44b341bd9ad0d598d65a84fb>:0
BlackSmokeDMax 14 May, 2020 @ 4:56am 
That's ok, I'll just keep on with my current method. The extra couple steps only take a minute or so. I keep shortcut links on my desktop to all three of: archive location, manual mod install location, and steam workshop download location. Just a couple quick copy/pastes and I'm done. If it were too big of a deal, i could always use Fluffy's mod manager to do it as well. Appreciate the mods!
codeoptimist  [author] 14 May, 2020 @ 3:41am 
@AerosAtar, Fixed! Thank you so much for the report!! The log was EXTREMELY helpful.
@krzarb, 😁
@BlackSmokeDMax, 😁 Sadly mine aren't install-able from GitHub 🙁 (it clutters up my code repo quite a bit to make that possible, so I've decided not to for now)
AerosAtar 14 May, 2020 @ 2:26am 
Seems to have compatibility issues with Terraform Rimworld and Remote Tech.

Hugslib Log in case it helps: https://gist.github.com/6b2263bd570f738e37a83799244620ad
krzarb 7 May, 2020 @ 1:47pm 
The mods working very well for me now. The interface revamp is a nice touch too :steamhappy:
BlackSmokeDMax 7 May, 2020 @ 8:42am 
lol, right after I did the workshop download method apparently. I appreciate the github update, that is the way I normally download mods!
codeoptimist  [author] 6 May, 2020 @ 7:15pm 
For those who care, I finally just updated the GitHub repo with all changes since adding 1.1 support 5 weeks ago. <3 https://github.com/CodeOptimist/rimworld-custom-thing-filters