run_plan
Execute multi-step Factorio operations as a cancellable chain, stopping all remaining actions if any step fails.
Instructions
Queue a sequence of actions (craft, insert, extract, mine, place, set_recipe, rotate, walk_to) as chained jobs. If one fails, the rest of the chain is cancelled. Waits for the last one up to wait_s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| wait_s | No | seconds to wait for the job to finish before returning its id (default 30; 0 = return at once) | |
| replace | No | cancel your running and queued jobs first instead of queueing behind them |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |