Closed ZenonSeth closed 1 month ago
Eh, I should have probably added here instead:
In MCL, creating even stacks, say 8x8, consumes only the 8 needed for one craft, while still crafting 8. The behaviour of requesting all the summed stacks is the same.
Release 1.2.4 should now fix this, along with improving the crafting inventory usability by allowing moving items within it, and replacement of items.
Limiting the stacksize to 1 would probably have been easier, but instead I made both the Crafting Supplier and Autocrafter (both affected by this bug) take only the minimum required recipes. This was a bit more difficult because of replacements, but it should now work correctly, while keeping replacements accurate.
Also has been published on ContentDB.
Confirming it works. Could the same principle (if I got right what you did) be implemented to import the recipe by clicking with an item on the output? For example clicking on the crafting supplier output holding a furnace automatically sets the ghost items to the recipe for the furnace.
Yes, that's possible, minetest provides a function to get the crafting recipes for an item. Two things make it a bit more challenging to implement though:
Still, it's possible, and for most items it could work just fine. Will keep it in mind to implement, but want to try and take care of some previous bugs/requests first.
Going to close this as done, as it should be now fixed correctly.
E.g. if the recipe is like so: Then when requested to craft 1 item the crafting supplier will erroniously:
Two ways to solve this:
Created from discussion in https://github.com/ZenonSeth/logistica/issues/17