Multiple operations in an Arithmetic combinator

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

DisRuptive1
Burner Inserter
Burner Inserter
Posts: 18
Joined: Mon Mar 20, 2017 5:35 am
Contact:

Multiple operations in an Arithmetic combinator

Post by DisRuptive1 »

TL;DR
I want to do multiple arithmetic operations in one combinator
What?
I want to put multiple signals into one combinator and do sequential arithmetic operations on those signals including their interactions with each other. Each line's output will give the input count of the first signal of that line. Subsequent uses of that signal in later operations will use the new input count. For instance, if W=4:
  • W + 7
  • W * 2
The output would be W=22 , not 19. Nor would it be 15, PEMDAS will not be followed, operations will go in order from top to bottom.
Why?
To save space and make combinators a bit more understandable by keeping multiple operations houses within a single combinator.
Additional concerns
I think an additional output option should be added, "As". Imagine the following:
  • T + 4
  • W - 5000
  • T / W
The combinator is going to have both T and W outputs. Input count might not pick up the correct signal or add up the signals together. If we want to modify the output signal to R, we'd need an additional option (maybe toggleable) that says, "T As R".
eugenekay
Smart Inserter
Smart Inserter
Posts: 1204
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: Multiple operations in an Arithmetic combinator

Post by eugenekay »

Post Reply

Return to “Ideas and Suggestions”