Page 1 of 1

New Combinator to work on wires seperatly

Posted: Mon Apr 25, 2016 4:34 pm
by terror_gnom
Hi,

I have searched for this suggestion, but only checked the first 3 result pages of 200 ;)

I often miss a decider combinator, that can perform operations on 2 signals (and doesnt add up red and green).
It should allow every item and "all" at both sides of the comparison and "all" "itemcount" or "1" as output.

Some examples:


Constraint:
all green < all red; output all "itemcount"

Input:
green: 1231 iron, 12234 copper, 92 coal
red: 654 fish, 652 iron, 2314 wood, 5814 coal

Output:
654 fish, 2314 wood, 5814 coal


Constraint:
all green < iron red; output all "1"

Input:
green: 1231 iron, 12234 copper, 92 coal
red: 654 fish, 652 iron, 2314 wood, 5814 coal

Output:
1 coal

The same would be nice for arithmetic combinators where the operation is done on the same itemtype, but I dont see that many applications for it.

Constraint:
all green * all red; output all

Input:
green: 1231 iron, 12234 copper, 92 coal
red: 654 fish, 652 iron, 2314 wood, 5814 coal

Output:
802612 iron, 534888 coal



It is always possible to work around it, but it gets big and slow :(

Does someone like the idea?

Re: New Combinator to work on wires seperatly

Posted: Mon Apr 25, 2016 4:57 pm
by toramo
Yep :p

I like it. It looks more intuitive for me too.
When I started working with decider and combinator I first tried to use it this way.

We can do almost everything with the actual combinators / decider.
But it is like a low level code for me and un-intuitive.

For example, making AND / OR / XOR and every other logical comparison is difficult too.

Here is my wish list personnally :

One decider like you explained above.
One logical combinator (select the logic comparison you want to make AND / OR etc...) and it compare the 2 entries.
One memory cell. (so painfull to do it the way we can today with 2 decider).

Also one of the most useful combinator/decider I could have would be one you can 'program'

For example you open the progammable combinator and Inside it you can add any other already existing combinators we have today.
So with only one combinator you put on the map, you compile a bunch of different combinators that would take a lot of space and a very demotivating cable setup ...

Good idea tho, any improvment on combiantors are welcome IMO.
++

Re: New Combinator to work on wires seperatly

Posted: Fri May 13, 2016 8:21 pm
by y.petremann
As you don't see application of per cable operations, One thing is using one combinator group to run a lot of similar operation with the "each" signal, I post some of them :
  • Additions (already there by putting both signals in any combinator)
  • Substrations (already there like addition, you can multiply each of one wire by -1 then merge he signals)
  • Logic gates (can't be done without a big circuit)
  • Multiplication (can't be done, need a per item circuit)
  • Division (can't be done, need a per item circuit)
  • Timers (can't be done, need a per item circuit)
  • ...