RimWorld

RimWorld

"Do Until" Filter
Possible bug with 'Automatic' Filter
As some mentioned in the comments, the automatic filter fails to count some bills, specially meals from mods like vanilla cuisine expanded or with modded ingredients like vanilla plants expanded. A quick fix was to set the filter back to Vanilla, but after a while it goes back to automatic. Also saving and loading sets all filters from Vanilla to Automatic. Does this have something to do with it being the default setting? Maybe making the Vanilla filter the defaut one can be a quick fix for now?
And as always, thanks a bunch for the amazing contributions to the modding community!
< >
Showing 1-6 of 6 comments
Kathanon  [developer] 14 Jul, 2024 @ 3:00am 
Do you still experience it getting reset to automatic after the fix I made to make it load properly?
Delmain 16 Jul, 2024 @ 8:37pm 
I think the issue is related to the filter for "meat". I started having issues with my "Do Until" filters just today (which is weird, considering there hasn't been an update since July 8th, but whatever).

For an example, I can look at my "Carnivore Fine Meals" bill. If I set it to Automatic, it says "Counting: Carnivore fine meal (filtered)". If I hover it, it says "Carnivore fine meal that contains:\n meat\n and does not contain:\n human meat\n insect meat\n twisted meat". (for the record, from here on I'm going to leave out newlines). In this mode, it's finding 1/20 carnivore fine meals.

If I change it to "Vanilla", it shows the 177 that I have (because my cooks have been going wild since the bill messed up).

If I change it to Custom, and leave "meat" unchecked in both Yes and No, but set human, insect, and twisted to No, then the filter shows "Counting: carnivore fine meal (filtered)" and hover says "Carnivore fine meal that does not contain: human meat, insect meat, twisted meat". This *also* properly shows my 177 carnivore fine meals. My meals contain a mixture of chicken meat, muffalo meat, and beef, so it does not (at least here) appear to have anything to do with modded ingredients (the save as a whole is very modded though).
Kathanon  [developer] 16 Jul, 2024 @ 8:40pm 
That is very useful information, I'll get to testing with that tomorrow. Thank you. :)
Kathanon  [developer] 17 Jul, 2024 @ 12:26pm 
That was the clue I needed. Thanks!
Delmain 17 Jul, 2024 @ 3:11pm 
If you're able to fix it, would you mind sharing what it was?

I hate trying to deal with the Meat defs since they are all created in C# at runtime. Trying to track down what values the various defs have when the game is running has been impossible for me.
thedarklightlord 17 Jul, 2024 @ 8:59pm 
Originally posted by Kathanon:
Do you still experience it getting reset to automatic after the fix I made to make it load properly?
Yes the mentioned update fixed the issue, thank you! I'll test the new update later and report if it fixed the counting issue with 'automatic' filter.
< >
Showing 1-6 of 6 comments
Per page: 1530 50