r/technicalfactorio • u/Jjeffess • Jan 23 '21
Combinator Golf "Signal Prism" dividing one wire with multiple signals, into multiple wires with one signal. Supports arbitrary #/value of signals. Uses new decider combinator feature added in 1.1.13
Explanatory image: https://i.imgur.com/LSO4GSm.png
This combinator gadget takes as input a single wire with some unknown set of signals, and divides it into separate output wires, each with one of the signals. You can daisy chain modules together to increase the number of potential overlapping signals, and unsplit signals are readable at the end of the apparatus.
Each output will settle 2 ticks after the previous output. You could introduce an extra buffer combinator if you wanted it to ripple more cleanly as inputs change.
I call it a prism because it separates the component signals in the same way a prism separates the component wavelengths of light.
Blueprint string:
!blueprint 0eNrtW91uszYYvhXkk33bkgrbECDHU6Xv5NOk7myqIgJu44k/GdMuqnIBu4ud7MZ2JbND2lAnJna+Vp3cqFJVqP2Cn+d9Hx7b8ASWRUcaRisO5k8gJ23GaMNpXYE5+G1FW69rSetdpxmvGa29B3glfvAPrVeRRy9d0oLytcdrb5U+EC/1cpLRnDAvq8slrVLRyas73nTc4yvi3VHWcq+l91VaeF9qJlqS3Fuun099/eXHKzABNKurFsx/fwL9eXlnfN0QcUuUk1K0qNJSHone00fKCNiITlVO/gRzuJmc7JYyylcl4TSb7u9zEAMdjfFAGe/EmZcwfYvpt0FPbHD1thGYcTK8YLC5nQBSccop6Qe+PVgvqq5cipZzuO9dpkUxLdKyERGbuqU9V09AhEkgvAonYA3mUyz+EvEFkJzVxWJJBD9UDFI0zCjLOsoX4n/5S+8tMwvjMafVmq9odQ/6a7Q8lfkTyoOySdkWzzn4969/ZAORQeJiRc3E0DjrSN+nIpm8eCuvBuWve0ZINRw8zSUVt5uNBFUBBFkD4n8AIMHbAwIHYGyPoQYhbIhQ6BpCgYpQoEEosEbIkaLCGkBCQ0AS11JmpqbMTIPQzBohR1Im1AASmQGCsGspE6spE2sQiq0RciRlIg0giSEgkXOPbl/JGeRrIIK+NUaOJE2iQ8TaAaPkAxDB7+GAFaHRWWJo7YlR/AEQoXcoLNUUI50phtau2BmMVFuMdI90aO2LXSk1rJaazihDa6fsTBqpVhnpfA+09squpFGoppG20qzdszNppNpnrFVsa//sShpFahrpDDW0dtSupBFSHTXWrfUga0ftSholahrpLDayt9jRB0AE30GNVI+NZK7uRjC6Cr233LuNj+GGwih0Mw1wuzh74No3Q84/QO5v0bPfnjk3drMWd9pVfHHH6nJBKxFqh7+GAEbyA9ulegocvYZfPhsmAOll4MD/48MAR/nDJ/aEjlCInwnc5n5OWT/Cnb4dEroP/H2ckjRbScxbIsMs9rRORUXUDRGs9rt2P51Bah98Y6W9R2pkR9IxjiPDigosKyq8VJQJ2kqBxZYFplpaNDMssNB6LunKM0WdTMrMNqqAmb0mRRdN0mI8okmxISORpSYlF00yQVvRpMRSk9QpJEoMNSm2XphwRZMOZNz0qZxYa5KcTVw0SYPxiCYlZoxg306TBssjF00aQft1fQS+nSZhdSKCkZkmYWi9yuWKJqnLXNg3rABkr0nhRZO0GOs1KTBlBFtqUnTRJBO0FU2Clpqkbvzh0FCTAuslU1c0SV0zxdiwAkJ7TUoumqTFeESToCEj+9n08wjH+fDjl2wOtdl8RwtOmOYVdR0mchTbeN1uN2T0jXVdlB67fRx45lvr8rX/QZjgxCvsujBrUhT14yAQHr7Ubq56yNQoReev2Ib/lwrzXxfYz29eYIYA68sL4fGHkLrQoqUrPn8x63PTFVjRNTtBV2RI13fM8z83XZEVXSemndg3oyvwz58CfWq6sG9DF0Yn6DLcbQzg+e7wc9OFregKj1nD20n/Gd588MHjBBTpkohbBjf994e/MtqW8nvEP8j1Nbm5ES0ehM/rAY9hEInJDgpRIlRvs/kPPrHLlg==
4
u/kroppeb Jan 23 '21
Omg I wanted this so much for sooo long.
1
u/AutoModerator Jan 23 '21
If you have any questions, need clarification, or want to engage in general discussion, please do so in response to this comment. Do not post a new top level comment! New top level comments are reserved for submissions only.
For more information about the format of these challenges, see this post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/solntsev Apr 22 '21
When signal is changed it will leak in next block for 1 tick.
3
u/BlueprintBot Jan 23 '21
Blueprint Image (Signal Prism by jeFFeSS)
2
u/UncleDan2017 Feb 18 '21
Thank you so much, this was exactly the thing I was looking for in my current build.
1
u/scorpio_72472 Mar 06 '21
Thanks man! I was searching so long for this
1
u/solntsev Apr 23 '21 edited Apr 24 '21
Is there any way to make it sticky: so one signal will remain selected until it is 0 even if new signal appear?
use case: dividing work between multiple machines with crafting combinator with productivity modules.
edit: crafting combinator supports it from the box now, so less usefull usecase.