Combinator bit shift by 'Each'

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Discookie
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu Mar 29, 2018 5:16 pm
Contact:

Combinator bit shift by 'Each'

Post by Discookie »

As the title says, currently the arithmetic combinators support the 'Each' operators in their output and left input slots.

Today I encountered a use case where I wanted to calculate `(1 << x)` for many values [to extract specific bits of a value].
Currently this is not possible via a single combinator - only with separate combinators for each value.

My suggestion is to allow the 'Each' value in either of the combinator input slots, but not both of them at the same time.
This way would not cause any consistency issues while allowing other cases as well, eg. `(constant / x) or (constant - x)`.
Post Reply

Return to “Ideas and Suggestions”