Circuit Box


Walk into a 2x2 box and build a combinator circuit inside it; 2 inputs + 2 outputs (red+green each), tag-linked copies stay in sync, powered by copper wire, zero per-tick script cost. Vibe-coded (written mostly by an AI assistant): use at your own risk, back up your saves.

Content
2 days ago
2.1
12
Circuit network Blueprints

Changelog

Version: 0.1.0
Date: 2026-11-03
  Info:
    - First public release. The mod was largely written by an AI coding assistant ("vibe-coded"),
      tested with automated headless tests and a little hands-on play. Expect bugs; back up your saves.
  Features:
    - Circuit box: a 2x2 block you walk into to build a combinator circuit in its own private room.
    - Two input and two output ports, each taking a red and a green wire (4 channels in, 4 out).
    - Tags: boxes with the same tag share one circuit; edits are copied to all of them on exit or Apply.
      Any box can be detached to become independent.
    - The box costs its own item plus everything built inside; missing items are taken from the player
      or delivered by construction robots. Mining a box refunds everything that was paid.
    - Powered from outside with a copper wire; the interior is part of the outside electric network.
    - Blueprints and copy-paste carry the tag, the interior and the outside wires.
  Optimizations:
    - No per-tick script work: signals and power pass through the engine's own wires.