RimWorld

RimWorld

Use Best Materials
96 Comments
Yoann 31 Jul, 2024 @ 12:37am 
https://gist.github.com/HugsLibRecordKeeper/d6b33e68dad39cb3152c6ad005047a10

There is no issue with empty modlist, and the issue happens when storages start to be "far" from workbench (~17 tiles away).
I can try to find the conflicting mod when I finished to update my modlist to 1.5.
Kathanon  [author] 30 Jul, 2024 @ 2:18pm 
Could you post a log?
Yoann 30 Jul, 2024 @ 1:56pm 
I still have the same issue with shelves, and never used "Performance Fish".
Blacksoul 5 Jul, 2024 @ 4:59am 
i would have 2 suggestions:
-it would be great to add a way to create a custom rule for "best".
-at the very least, an option to "minimize" the cost of the crafting. For instance if we're just training a low level crafter, we can set him to use the cheapest materials for all his bills
HotdogMoisturiser 21 Jun, 2024 @ 7:52pm 
Id love to see this concept adapted to other stuff like building materals
Koichi 10 Jun, 2024 @ 4:52pm 
How have I never heard of this mod? Instant subscribe.
Kathanon  [author] 26 Apr, 2024 @ 7:34am 
Updated for RimWorld 1.5.
Kathanon  [author] 23 Apr, 2024 @ 2:52am 
About the problems with shelves commented on below: The problem isn't actually with shelves, but a partial incompatibility with Performance Fish - see description for details.
Madlark 21 Apr, 2024 @ 7:11am 
^_^
Kathanon  [author] 20 Apr, 2024 @ 7:05pm 
Yes.
Madlark 20 Apr, 2024 @ 6:39pm 
Ummm... Any chance this is getting updated to 1.5? Please?
Yoann 24 Oct, 2023 @ 11:51pm 
It's not really working for me also, since I store most of my stuff in shelves.
It seems pawns only look inside the nearest shelf...
Just now, crafted a plainleather corset when wolfskin is available, then try to do same with formal vest ("use best by armor" checked)
tw_boring 14 Jul, 2023 @ 8:13am 
I post on the board.
Kathanon  [author] 14 Jul, 2023 @ 2:46am 
Unfortunately the log does not contain any relevant errors. I need more details.

What recipe did you craft?
What settings did you have for the crafting bill (particularily the ones added by the mod).
What materials did it use and what were you expecting?
Where and how were the expected and used materials stored?
Can you try without any preformance mods?
tw_boring 14 Jul, 2023 @ 2:37am 
it seems didn't work. it didn't chose Best Materials
https://gist.github.com/HugsLibRecordKeeper/054ad4caf9052f3c672be35bdbdf3f16
Kathanon  [author] 4 Jul, 2023 @ 10:00am 
I have considered it. I think it is a good idea, but haven't decided to put any time into it yet. I may in the future, but I don't know.
Bennington 4 Jul, 2023 @ 9:41am 
Love this mod! I'm curious what you think about doing this for cooking food? Like cooking what spoils first, cheapest meals, etc.
ProfileName 9 May, 2023 @ 9:05am 
Oh hey! I forgot to say, thanks for fixing the issue, Kathanon. I guess what you did for Thranos fixed things for me.
ProfileName 9 May, 2023 @ 5:39am 
Oh, let me say this: I never really use old saves...

That, and a lot of mods are apparently able to throw these errors and I'm not sure if VE is the cause of a lot of... the spam. Could be something else not interacting well. Who knows.
Kathanon  [author] 8 May, 2023 @ 3:45pm 
Ah, that is due to a mistake I made in the last update - sorry. Unfortunately not the issue that @ProfileName encountered.
Should be fixed now.

Thanks for telling me so I could fix it. :)
Thranos 8 May, 2023 @ 1:35pm 
I've gotten the "UI shadow" bug the other guy mentioned below, specifically when checking 'details' on bills for benches from 'Reclaim, Reuse, Recycle' and 'MendAndRecycle', the 'recycle apparel' bill on any tailoring station (again from MendAndRecycle), the 'disassemble prosthesis' bill from I believe EPOE, 'shred mechanoid' in the machining station (from VANILLA), the "dismantle warhead" bill from Rimatomics, ANY butchering station, vanilla included, and others. All of these bills involve whole items/corpses as crafting ingredients, with no other additional ingredients.

Hope this helps.
Kathanon  [author] 8 May, 2023 @ 8:28am 
I made one more tweak, but that's the last thing I can see that could possibly be a problem.
To make the error less intrusive, I made it just be inactive for items that give this error (still giving it once in the log).

Your log file contains a bunch of XML errors. Did you change your mod setup for an old save? That can cause various issues. Otherwise I suspect that one of your other mods causes one of the fabrics from Biomes! Caverns to have a broken item definition.
ProfileName 8 May, 2023 @ 6:36am 
Note, I think this only occurs when *both* the item is a Clothing Item, and it's possible to select a Textile type stuffable...
ProfileName 8 May, 2023 @ 6:30am 
Same error, still going on. It could be that Jewelbug, Pillbug and Wooly Spider are probably why the thing isn't working. No idea, though, I'm not a log reader.

https://gist.github.com/HugsLibRecordKeeper/b1898c74d8c7840678ebd657d5117853
ProfileName 7 May, 2023 @ 3:20pm 
Sure. I'll do a new session Tomorrow, and hopefully, it works.
Kathanon  [author] 7 May, 2023 @ 2:50pm 
That was among the things I tried. I suspect that the trigger is another one of your 700+ mods. :P

I changed one thing that could be the issue. Please unsubscribe, wait a few seconds and then subscribe again, to force Steam to update the mod. Also please let me know if it solved the problem.
ProfileName 7 May, 2023 @ 2:16pm 
It was an Electric Tailoring Table, and all I did was create the recipe (any recipe that involves the materials seems to do), before hitting the Details button.
The UI is completely gone, save for its shadow, and the error happens every frame.
It could be a different mod, but. I do have RimPy, but couldn't identify exactly what was going on through the Log Analyzer.
Kathanon  [author] 7 May, 2023 @ 12:19pm 
@ProfileName
I was not able to reproduce the error. What were you doing when it occurred? (What workstation, what recipe, what did you do in the UI?)
ProfileName 7 May, 2023 @ 8:34am 
Well, apparently, the new Biomes! mod for Caves probably throws an error with this mod installed, but I'm not too sure if I'm reading it correctly. Here's the HugsLib (using OwlHugs branch).

https://gist.github.com/HugsLibRecordKeeper/6f6038f2b474532a86e6ff566e8b0357
Three 10 Apr, 2023 @ 5:43am 
Just subscribed to this interesting mod. :HKIndustry:
I hope you let the RimPy team know what order it should be loaded in. :floppy:
Thanks for the great job. :steamthumbsup:
Kathanon  [author] 3 Apr, 2023 @ 11:46pm 
You are welcome. :)
tw_boring 3 Apr, 2023 @ 11:32pm 
Thx u for your mod. :steamthumbsup: :steamhappy:
SY1102 9 Mar, 2023 @ 6:48am 
OK
Kathanon  [author] 9 Mar, 2023 @ 6:41am 
If you want to contribute a translation, just post a link to the translated file and what language it is.
Kathanon  [author] 9 Mar, 2023 @ 4:17am 
Turns out I only did half of what is needed to add translation support and then forgot the rest. Sorry about that. It's added now.
SY1102 8 Mar, 2023 @ 10:25pm 
Could you provide a language pack? Some functions do not support Core, and only English will be displayed
Kathanon  [author] 7 Mar, 2023 @ 5:24pm 
You could try one of the other similar ones I mentioned below.
ProfileName 7 Mar, 2023 @ 4:29pm 
Eh, the only thing that breaks breaks is the occasional mod update. Categorized Bill Dropdown was always nice. Was. I'm occasionally getting onto my game to diagnose through my modathon, so.
Kathanon  [author] 7 Mar, 2023 @ 12:30pm 
The only mod I can see involved in those exceptions is Categorized Bill Dropdown.
Also - 837 mods? Would be a miracle if nothing breaks...
ProfileName 7 Mar, 2023 @ 10:42am 
Oh, I've got an old - but still very recent - link. I talked it over in a Discord chat. https://gist.github.com/8010faf0c52c9be5d53d102d4c1acf79
Kathanon  [author] 6 Mar, 2023 @ 2:05pm 
I cannot reproduce with only ModularWeapons, Recipe icons, Categorized Bill Dropdowns and this mod.
I did however get several exceptions from ModularWeapons, but they occurred whith only it and Harmony active. I would recommend not using ModularWeapons based on that.

Can you post a link to an error log? Ctrl-F12 with HugsLib active.
ProfileName 6 Mar, 2023 @ 12:41pm 
Yeah, Categorized Bill Dropdown, sorry.
Kathanon  [author] 6 Mar, 2023 @ 10:35am 
I can't find "Bill Categories". Do you mean "Categorized Bill Menus", "Categorized Bill Dropdown" or "Categorized Crafting Bills"?
Kathanon  [author] 6 Mar, 2023 @ 10:30am 
OK, I'll see what I can do about it.
ProfileName 6 Mar, 2023 @ 10:03am 
Oh, really? Not yet? Well... symptoms are as follows:
- Visual Exception tells me an error every tick (roughly)
- Exception filling window occurs when pointing at "Butcher Creature" (butcher rotten's bill is unaffected)
- All other bills merge underneath Butcher Creature
- Bill can't be created, but info panel can be opened (no hyperlinks? I think it also lacks information on the panel too)

And that's about it.
Kathanon  [author] 6 Mar, 2023 @ 6:54am 
@ProfileName
What are the symptoms?
The meal bills filter that Victor suggested has not been implemented yet.
ProfileName 6 Mar, 2023 @ 6:52am 
Potential conflict. This mod, with Bill Categories, ModularWeapons and/or Recipe Icons. I'm not sure which of these could be the cause, I'm just going through who recently updated and trying to diagnose on date. (Then again, that filter for meal bills could've broken butchering.)
Kathanon  [author] 31 Jan, 2023 @ 5:31pm 
That's a good suggestion. I may do that.
Victor 31 Jan, 2023 @ 3:00pm 
Might I suggest a filter for meal bills to use ingredients that are closer to spoiling?
Malminas 3 Jan, 2023 @ 8:14pm 
Thanks!