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 Share your creations!

6 years ago

Share how you are using this. Both because I am interested in how you are using this and because others might want to use something similar.

Here's one configuration that gets the number of ticks that has passed and converts it to hours, minutes, seconds

comment(This gets the time and outputs to signals H M S for Hour, Minutes, Seconds, respectively);
set(const(1),virtual/signal-T,gameData(tick));
set(const(2),virtual/signal-S,div(current(1),const(60)));
set(const(3),virtual/signal-H,div(current(2),const(3600)));
set(const(4),virtual/signal-M,mod(div(current(2),const(60)),const(60)));
set(const(2),virtual/signal-S,mod(current(2),const(60)));

New response