Assembly Combinator

by joalon

Adds assembly combinators that allow programming signal logic using a simple assembly-like language

Content
a month ago
2.0
200
Circuit network

Changelog

Version: 0.8.1
Date: 30. 05. 2026
  Bugfixes:
    - Restore CPU metatables on save/load so combinators keep working after reloading a save (fixes crash: attempt to call method 'set_wire_signals' (a nil value))
Version: 0.8.0
Date: 23. 05. 2026
  Features:
    - WSIG accepts an immediate integer count (e.g. WSIG o1, copper-plate, 42)
    - RSIG reports an error for unknown signal names instead of silently reading 0
  Bugfixes:
    - Read all wire signals on the network, not just those whose type was "item" (RSIG silently returned 0 in Factorio 2.0)
    - Use defines.wire_connector_id for get_circuit_network (fixes wire reading and the "Connected" GUI label in Factorio 2.0)
    - Validate the output signal name and guard set_slot with pcall so a misspelled signal in WSIG surfaces as a combinator error instead of crashing the game
Version: 0.7.0
Date: 19. 04. 2026
  Features:
    - Added entity preview to the assembly combinator GUI
    - Added an output on/off switch to suppress signal output without halting the program
  Improvements:
    - Grouped the code editor and Save button so Save stretches to match the editor width
    - Widened the code editor
Version: 0.6.2
Date: 24. 03. 2026
  Bugfixes:
    - Fixed cut-and-paste not preserving the assembly combinator program
    - Fixed copy-paste settings (shift+click) not transferring the program
    - Fixed cloned combinators retaining stale circuit network outputs
    - Fixed assembly combinators not being registered when built by robots or scripts
  Features:
    - Assembly combinator programs are now preserved in blueprints
Version: 0.6.1
Date: 23. 03. 2026
  Bugfixes:
    - Fixed crash when mining non-combinator entities (e.g. Ultracube items)
    - Fixed on_entity_died not cleaning up assembly combinators
    - Fixed one erroring combinator blocking all others from processing
Version: 0.6.0
Date: 04. 03. 2026
  Improvements:
    - Fixed mod portal metadata publishing
Version: 0.5.0
Date: 04. 03. 2026
  Improvements:
    - Improved CI/CD pipeline for mod portal publishing
Version: 0.4.0
Date: 04. 03. 2026
  Bugfixes:
    - Fixed crashes from invalid input in CPU state machine
Version: 0.3.0
Date: 12. 08. 2025
  Major Features:
    - Overhauls the assembly combinator GUI
    - Adds error reporting and an error flag
Version: 0.2.0
Date: 29. 07. 2025
  Major Features:
    - Now supports: HLT, NOP, ADDI, SUB, SLT, SLTI, WAIT, WSIG, JAL, BEQ BNE
    - Adds labels
    - Adds o0 .. 03 as output registers which can be written to with WSIG
Version: 0.1.0
Date: 27. 07. 2025
  Major Features:
    - Initial release.