Priority settings for substitutable autocrafting ingredients
AlisonHuang777 opened this issue ยท 3 comments
Describe the feature
For example: I have a crafting pattern for 2x Oak Planks -> 4x Sticks with substitution enabled. I send a crafting request to craft them. But I don't have any Oak Planks, only Spruce Planks and Birch Planks are present. Since I mainly use Spruce for decoration, so I prioritize it, this way the autocrafting process will use Birch Planks.
Reasons why it should be considered
For example, Archwood Planks from Ars Nouveau are used to craft its own mod's items, so you definitely don't want to use them for crafting Sticks. If this feature is present, we can prevent this situation.
Additional details
We can go further on this: not only priority, but also whitelist/blacklist.
(Sorry for my poor English wording but I hope you get my point.)
@Geccpls Your idea is great, but it will not work for the second scenario (the Archwood one), which an un-prioritization (or a blacklist) is desired.
The best thing I can think of, only if it's possible to implemented, is to have an GUI for viewing all the substitutable ingredients, and blacklist/whitelist them or prioritize them per need.
There's a way to make this work without adding a new feature; Using your example, make 3 recipes with substitutions turned off, using each of oak/spruce/birch. Place two pattern providers with molecular assemblers. Put the oak recipe in one pattern provider and increase the priority of the machine, then put the birch and spruce in the other. The system will now preferentially use oak planks over birch and spruce, and will not use any other planks.
If you decide you DO want to use other planks, but only if none of oak, birch, or spruce are available, you can create a substitutions ON recipe and place that in a third pattern provider with a lower priority.
@AlisonHuang777 You could just keep adding no-substitution patterns for every wood type, though that's pretty understandably not an ideal option. Depending on how many wood types you actually want to use it could be a lot of patterns.
I feel like the generally accepted solution to this problem is to just like... make a huge excess of one wood type which you use for all your crafting lol.