Skip to content

/autocraft

Script-provided

Registered by autocraft. Start it with /lua run autocraft.

Syntax

/autocraft <recipe name> [count] [finish|quality|balanced]
/autocraft stop
/autocraft status
/autocraft mode <finish|quality|balanced>
/autocraft dump

Description

Persistent auto-craft daemon: give it a recipe name (read live from the open Recipe Book) and a count, and it clicks Begin, fires reaction arts every round, and reports the result — repeating for as many combines as you asked for, without you touching the crafting window again.

Requires event-driven crafting

/lua run autocraft refuses to load if eq2.on_craft_round isn't available in the running build — unlike /craft, it has no chat-parsing fallback.

Recipe argument

The recipe is entered by name, not ID — the numeric recipe ID isn't shown anywhere in-game. Have your Recipe Book open (press N) so the script can resolve names against it; it captures the window the first time it's shown and keeps using that capture even if you close the book again.

A trailing token is peeled off the name if it matches: a bare number becomes count, and finish/quality/balanced becomes the mode. A recipe name that genuinely ends in a digit (rare) is handled by retrying resolution with the full name if the trimmed version doesn't match anything.

If a name matches more than one recipe, /autocraft lists the candidates and asks you to type more of the name.

Subcommands

Subcommand What
<recipe name> [count] [mode] Queue a craft job. Rejected if a job is already running — stop it first.
stop Stop after the current combine.
status Print busy state, current mode, and the active engine session's round/event/countered counts.
mode <finish\|quality\|balanced> Set the default mode for future jobs that don't specify one.
dump Print the parsed reaction-art map (after at least one craft has loaded the engine).
help / (no argument) Print usage.

Modes

Set per-job as a trailing argument, or persistently with mode:

Mode Behavior
finish (default) Fire the progress art to complete the combine as fast as possible.
quality Fire the durability art to protect the quality tier.
balanced Progress until durability gets low, then switch to protecting it.

Examples

/lua run autocraft
/autocraft Elm Round Shield 5
/autocraft Tin Spatha 3 quality
/autocraft mode balanced
/autocraft status
/autocraft dump
/autocraft stop
/lua stop autocraft

Not the same as /craft

/craft is a one-shot script you launch per recipe, addresses the recipe by numeric ID or a separately-cached name, and expects you to click Begin yourself. /autocraft is loaded once, stays resident, takes recipe names straight from the open Recipe Book, clicks Begin for you, and queues jobs through its own command instead of a launch argument. Don't run both against the same combine.

See also

  • /craft — the one-shot alternative; also explains the ID-watch launch mode.
  • lib.craftengine, lib.recipes — the mode/reaction-art engine and Recipe Book reader behind this script.