Advanced Combinator

by zomis

Make combinators great again! One combinator to rule them all.

Content
3 years ago
0.16 - 1.1
1.36K
Circuit network

g Help required

3 years ago

Where can i find the commands / syntax / description for command parameter /examples?

Doesn't work as expected, outputs always Red
if(compare(value_of_signal(signal(signal_type(fluid/mineral-water),const(1))),<,const(25000)),set_simple(1,virtual/signal-yellow,const(1)));
if(compare(value_of_signal(signal(signal_type(fluid/mineral-water),const(1))),<,const(1000)),set_simple(1,virtual/signal-red,const(1)));

signal(a,b) what is b? >> const(1)

3 years ago
(updated 3 years ago)

ok found the solution, but commands / syntax / description for command parameter /examples would be helpfull anyway

set_simple(1,virtual/signal-green,const(1));
if(compare(value_of_signal(max_signal(network(top,green))),<,const(25000)),set_simple(1,virtual/signal-yellow,const(1)));
if(compare(value_of_signal(max_signal(network(top,green))),<,const(1000)),set_simple(1,virtual/signal-red,const(1)));

set_simple(a >> a is slot number?
max_signal/min_signal explanation?
network(top/left... explanation?

How to input at green and output at red only?

3 years ago

set_simple(a >> a is slot number?

Yes, 'a' is a slot number, starting at 1.

max_signal/min_signal explanation?

This gets the highest or lowest value of an entire circuit network.

network(top/left... explanation?

This will read the circuit network on an entity that is adjacent to the Advanced Combinator. Because the advanced combinator is technically only an output, although it can read its own values from the previous tick.

How to input at green and output at red only?

Place a lamp or something beside the Advanced Combinator, connect a green wire to the lamp. Connect the Advanced Combinator with a red wire and use the network(top/left/right/bottom) function to read the value from the lamp.

I know that this mod is a bit complicated. Powerful, but complicated.

New response