You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A.E.G.I.S. is a CC:Tweaked autocraft in plain Lua. The first version was really basic — no dependency tree, no scheduler, just pulling ready components from a chest for one-level crafts. But I got so hooked on the process itself that after half a year of endless tweaking and feature creep the project grew way bigger than I'd originally planned — kind of a factory core in a single computer. 12k lines in and I'm still poking at it. Ah right — the factory must grow.
When you request an item, A.E.G.I.S. keeps the taught recipes on disk, walks the dependency tree, checks what's already sitting in your vaults, and sends the missing ingredients to whichever free machines it knows about.
Teaching is interactive: drop the ingredients into T.BOX (3x3 for turtle crafts, or just place them for a machine recipe), pick the machine, hit SCAN. That's it — recipe is saved. Next time you order that item, the system walks the dependencies itself and crafts everything up to the final product. More details in the Teaching recipes section.
How well a specific machine works comes down to what the mod exposes to the CC:Tweaked peripheral API — the system only ever sees what the peripheral tells it. See Known limitations.
Requirements
Advanced Computer — must be placed directly to the left of the monitor wall.
Advanced Monitors — 5x3 or larger is comfortable, other layouts work too.
Crafty Turtle — Advanced Turtle running turtle/startup.lua, used for 3x3 grid recipes.
Storage — connected chests, vaults, drawers or tanks.
T.BOX — one barrel or chest used as staging area for teaching recipes and item delivery.
Wired network — modems on every machine/chest, connected by cable, activated (red ring on).
Quick setup
Install & tag
Drop computer/startup.lua onto the Advanced Computer, turtle/startup.lua onto the turtle, then reboot. On the monitor, open the NETWORK tab and tag your peripherals: storages → [VAULT], staging barrel → [T.BOX], crafting turtles → [TURTLE], fluid tanks → [TNK] (optional).
Teaching recipes (+RECIPES tab)
3x3 grid recipe
Lay ingredients in the 3x3 center of T.BOX, then +RECIPES → TURTLE → SCAN.
Machine recipe
Place ingredients in T.BOX, select the machine on the computer, then +RECIPES → MACHINES → SCAN.
Fluid / hybrid recipe
Solid items go into T.BOX, fluid type and mB volume are typed on the computer, then +RECIPES → FLUID → SCAN.
Alternatives (+ALT)
If an item already has a recipe, you can add another one as +ALT. At craft time the alts are checked top to bottom, first one that matches the stock is picked.
Editing
[E] in the recipes tab lets you swap the machine for a recipe, or reassign a whole machine tag across every saved recipe at once.
Autocrafting
Parallel execution
When you request an item, A.E.G.I.S. first looks at what's already in storage, then goes after the missing ingredients. Parts of the job that don't depend on each other can run at the same time if there are free machines. The header shows parallel X for active sub-tasks.
Multi-machine batching (pm3)
For recipes with probabilistic outputs the system just keeps feeding ingredients until the requested count is reached. pm3 on a task means 3 machines are working on it together.
Queue
You can queue several crafts at once. If one runs out of resources it gets a warning, stays in the queue, and the next order starts.
Tools
GT-style durability tools (saws, hammers, files) are supported. If a tool breaks mid-craft, A.E.G.I.S. crafts a replacement first, then resumes the parent job.
Cancel / cleanup
Output slots are cleared before a sub-task and again on finish. Pressing CANCEL stops the current craft and dumps output slots to vaults. It can't always pull from input slots though — some mods block that (see limitations).
Machines and groups
Auto-grouping
Machines that share a peripheral name auto-form a pool, so you don't have to configure anything for the usual case.
Custom groups
You can also group machines manually — e.g. split Create Depots into Depot Forge vs Depot Press. If you add a machine to a custom group, exclude it from auto-grouping, otherwise it ends up in both.
Exclusions & suffixes
Individual machines can be excluded from a pool, or given a display suffix (SUF) in the NETWORK tab without breaking pooling.
Multiblocks
Multiblocks with separate input and output hatches are supported.
Fluids
Hybrid & sequential pouring
Solid+fluid recipes work, mB is tracked, and multiple fluids can be poured in sequence. For machines with more than one fluid hatch, route the fluids through transfer tanks with hatches attached.
Fluid stock & OPTIMIZE
The stock view shows how much of each fluid is in which tank. OPTIMIZE scans, merges and defrags fluid storage.
KEEP-FLUID
KEEP-FLUID sets an automated mB buffer for a fluid, similar to KEEP for items.
KEEP (auto-stocking)
Threshold → target
KEEP uses two numbers per item: a threshold and a target. Crafting starts only when stock drops below the threshold and stops once it reaches the target. So the system doesn't re-trigger a craft after every single item consumed.
Priority order
KEEP entries run in the order you set them — higher entries first.
Idle execution
KEEP runs automatically when the system has been idle for ~3 minutes and no manual craft is active. Can be paused at any time.
Storage
STOCK & request
STOCK gives one unified view of everything in the connected vaults. From there you can request items straight into free T.BOX slots.
OPTIMIZE
OPTIMIZE on the stock view walks every vault and merges unstacked stacks of the same item.
LOGICK transfer rules
LOGICK replaces item/fluid pipes with rule-based transfers. Rules can be Standard, Provider (pull-only) or conditional IF like *move wood if charcoal < 32*.
Remote and integrations
RedNet remote
Run remote_control on a pocket computer with an Ender Modem to order items and follow live progress from anywhere in loaded chunks.
GitHub sync
Recipe library can be exported/imported via a GitHub Personal Access Token. The token is masked in the UI and dropped from RAM on reboot.
ntfy push
Optional push notifications to your phone when a craft finishes.
Known limitations
Some mods don't expose machine input/output inventories through the CC:Tweaked peripheral API. For those you can usually put a chest between the machine and the network — guide.
Some mods let you push into an input slot but not pull out of it. CANCEL can't always recover items from those input slots — check them by hand after a cancel.
Multiblocks may need transfer chests or separate input/output hatches, depending on how the mod wires them up.
CC:Tweaked computers have a 1 MB filesystem cap. If new recipes stop saving or vanish on reboot, the computer folder is full — delete old .BAK files.
Solid-fuel furnaces need a specific setup — guide.
Machines must stay chunk-loaded for a job to keep running.
The Advanced Computer must sit directly to the left of the monitor wall — the layout code assumes this.
Keep an eye on free vault and tank space at the top of the monitor. If there's nowhere to unload, collection tasks stall.
In practice, most machines from most mods should work with Modern Industrialization / Create / Greg_th / PneumaticCraft, etc. For some mods, such as Mekanism, which don't have integration with CC, you'll need workarounds — for example, chests for transferring items.