Circuit Not Included

If you liked this item, please rate it up on Steam Workshop page.

Author: edu apenas

Last revision: 3 May at 15:44 UTC (1)

File size: 532.87 KB

On Steam Workshop

Description:

If you’re like me and enjoy building complex automation, but don’t want to waste a ton of resources and space building 8 logic gates, this mod is for you!

With Circuit Not Included, you are able to create your own custom circuits. You can define the input ports and how the output ports react to them through boolean expressions.


Buildings

The mod adds 13 new buildings, available under the "Computing" research, and accessible in the "Automation" tab. They are:

  • Circuit 1×3
  • Circuit 1×4
  • Circuit 1×5
  • Circuit 2×2
  • Circuit 2×3
  • Circuit 2×4
  • Circuit 2×5
  • Circuit 3×3
  • Circuit 3×4
  • Circuit 3×5
  • Circuit 4×4
  • Circuit 4×5
  • Circuit 5×5

How to use

To create a circuit, you must first place one of the aforementioned buildings on the map. Every building features a button to edit its circuit.

Inside the circuit, you can create input and output ports. An input port has only a related ID, while output ports have an ID and an expression. In the expression, you can reference input ports and use the following syntax to write custom logic:

Operators followed by their precedence:

  • ! = NOT
  • * = AND
  • # = XOR
  • + = OR

Parentheses can also be used to control precedence.
Expression Example: !(a + b) * (c # d).
The input ports a, b, c, and d must exist in the circuit for it to work. It’s that simple!

This is how it appears in the game:

Tips

You can use the mod Blueprints Expanded to save your templates.

Contribution

Found a bug? Have a suggestion? Feel free to open an issue on GitHub[github.com]. You are also welcome to contribute to the mod if you’d like!

Link to open bug issue: https://github.com/eduardo-kurek/ONI-Mods/issues/new?template=1-bug.yml

Credits

The automation used in the images was created by Engineer Troy, in this video

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.