Skip to content

Autocrafter rewrite#206

Open
OgelGames wants to merge 8 commits into
masterfrom
autocrafter_rewrite
Open

Autocrafter rewrite#206
OgelGames wants to merge 8 commits into
masterfrom
autocrafter_rewrite

Conversation

@OgelGames

@OgelGames OgelGames commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

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:

  • Crafting now uses actual items from the inventory and calls on_craft callbacks, this does reduce performance slightly but fixes many crafting issues.
  • Setting a recipe by the output item now works correctly, and tries to select the best recipe available.
  • Added an option to keep non-consumables (items replaced with themselves) or all items (for digilines-controlled crafting), with a button to switch.
  • There are now more checks for what items will be accepted from tubes, and space will be reserved for missing ingredients (and outputs when keeping them).
  • Groups are handled better, and are shown in the recipe grid with "G" on the item.
  • Recipe and output lists can now have items shift-clicked out.
  • Catch-up is now limited to reduce lag spikes when an autocrafter has been unloaded for a long time.
  • Digilines-initiated crafting now uses a queue instead of crafting instantly, with a message sent back when crafting is finished.
  • Digilines support has been expanded with more features (including setting the recipe with the output item), and now supports the command = "action" message format.
  • The crafting time (and the new catch-up limit) can now be adjusted with a setting.
  • The autocrafter upgrade function is now run once by an LBM, instead of being repeatedly called before various actions.

TODO:

  • Lots of testing, preferably on the Pandorabox test server @BuckarooBanzay.
  • Update translations with new strings and remove unused ones.
  • Documentation?

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

@OgelGames OgelGames added enhancement New feature or request bugfix fixes a bug cleanup code and other cleanups labels Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment