Page 1 of 1

A wrapper for circuit combinators

Posted: Thu Mar 03, 2022 8:02 am
by Zentay
TL;DR
A box that you place on the ground which can contain other circuit combinators and allows you to hide the complexity of the design and better document how it works and should be used.

What ?
It's circuit combinator that when placed in the world looks like a 2x2 box with 2 green and 2 red inputs, and 1 and 1 green outputs. It doesn't do anything by itself, but you can open it and place other circuit combinators inside. This allows you to hide the complexity of the circuitry and only present a few inputs/outputs to the player in a standardized format.

While viewing the wrapper's insides, you can also place "comments" to explain how different parts work. A comment is a short text label outside the buildable grid, and an arrow pointing to one of the tiles. This allows a more detailed documentation.

The wrapper has functionality to make it visually distinct. You can set a signal icon that will be displayed on the box. You can set the color of the box. Maybe it even has a little light with configurable color. This helps a player look at a wrapper and immediately recognize what type it is.

The wrapper is similar to the concept of wrapper in programming and it also helps documenting complex circuits.
Why ?
It solves several problems with the circuit combinators.
1. Lack of documentation outside of blueprints. Complex circuits are also hard to document with text only.
2. Can't tell at a glance what several circuit combinators wired to each other do, or where the inputs and outputs are.
3. No way to hide irrelevant complexity.

Re: A wrapper for circuit combinators

Posted: Fri Mar 04, 2022 3:53 pm
by ssilk

Barotrauma inplemented circuit boxes in their latest update

Posted: Tue Nov 21, 2023 4:07 pm
by Impatient
Just want to report that.

Maybe this would be a feature for Factorio v2.1?

Re: A wrapper for circuit combinators

Posted: Tue Nov 21, 2023 6:08 pm
by Koub
[Koub] Merged into the relevant existing suggestion thread.

Re: A wrapper for circuit combinators

Posted: Tue Nov 21, 2023 8:15 pm
by DarkShadow44
FWIW, there's also Compact Circuits. Has the added benefit that you can use it similar to logistic groups: Change one combinator, all of the same kind get edited as well. Could be really useful, and I'd love that in base game - although I doubt it'll happen. :D

Re: A wrapper for circuit combinators

Posted: Wed Nov 22, 2023 5:12 pm
by Hares
DarkShadow44 wrote: Tue Nov 21, 2023 8:15 pm FWIW, there's also Compact Circuits. Has the added benefit that you can use it similar to logistic groups: Change one combinator, all of the same kind get edited as well. Could be really useful, and I'd love that in base game - although I doubt it'll happen. :D
I also use the mentioned CC mod, was one of its first users. It's pretty cool idea but I don't think this should be in the base vanilla.
It could be too complicated for the new user, and 3rd-party mod is a perfect way for this feature.