Autocrafter rewrite#206
Conversation
|
I wish the new output redirection's default was what it was historically: output all items. |
|
I chose to make keeping the replacements the default because that's what happens when you manually craft something, so it's the more intuitive behavior. Also, only unchanged replacements are kept, so items that are replaced with different items (empty buckets, bottles, etc) are still sent to the output. |
|
Some observations:
|
Yes, this is how it should be, the behavior before was wrong IMO. Also, recipes using groups are preferred when setting the recipe by the output, so it should be possible to manually set those same recipes.
They were also ignored before, so nothing has changed. Now however, you can use |
|
Why doesn't sending the recipe the legacy way just redirect to the new Using the set & input way, even
|
It does, but you need to format it correctly, including empty tables:
Yeah, items with multiple recipes are a limitation, technic LV battery boxes is another one that comes to mind. |
It's been a while since I last did a big rewrite, and like the others, this has been a long time coming.
Here's the big list of changes and new features (most of them at least), in no particular order:
on_craftcallbacks, this does reduce performance slightly but fixes many crafting issues.command = "action"message format.TODO:
Update translations with new strings and remove unused ones.To be done in a later PR.Closes #63, fixes #67, closes #80, closes #133, fixes #162, closes #171, closes #189, fixes pandorabox-io/pandorabox.io#479 (finally), fixes pandorabox-io/pandorabox.io#872, closes pandorabox-io/in-game#164.
I think this might be a record for the most issues closed by one PR 👀
Pings for the people who might be interested: @SwissalpS @S-S-X @fluxionary @MCLV-pandorabox