## Arithmetic Combinators (subtraction and division change)

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

vampiricdust
Filter Inserter
Posts: 314
Joined: Wed Jan 14, 2015 1:31 am
Contact:

### Arithmetic Combinators (subtraction and division change)

As they are now, you cannot set a value the left hand value without assigning a value to a signal. Considering that the order in which you divide or subtract makes a huge difference in the outcome, than it would great if we could set a hard value for the left hand input.

The main reason I want this is in use using a storage tank as a digital control switch. Initially it'll only be a night time detector with the ability to ramp power up based on the available power. Other uses would be using fractions to control liquid levels so that production could be finely controlled. Like if production were based on available resources; So if I had 10 times the copper of iron, I could slow production of iron heavy items and ramp up copper heavy items.

deepdriller
Fast Inserter
Posts: 182
Joined: Sat Apr 11, 2015 7:52 pm
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

What do you mean, "setting a hard value"?
Surely you can't mean something what the constant combinators already do?

vampiricdust
Filter Inserter
Posts: 314
Joined: Wed Jan 14, 2015 1:31 am
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

I mean inside the Arithmetic Combinator, if you want to do say 2500 for a storage tank capacity - how much water is in the tank, I have to use a combinator just to pass this value. It's not really a big thing, but since subtraction & division are dependent on the order of inputs, some leeway with them would be great.

deepdriller
Fast Inserter
Posts: 182
Joined: Sat Apr 11, 2015 7:52 pm
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

Honestly, I have no idea what you're trying to say.

ratchetfreak
Filter Inserter
Posts: 950
Joined: Sat May 23, 2015 12:10 pm
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

deepdriller wrote:Honestly, I have no idea what you're trying to say.
he want to be able to say 2500 - water without having to add a constant combinator

vampiricdust
Filter Inserter
Posts: 314
Joined: Wed Jan 14, 2015 1:31 am
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

deepdriller wrote:Honestly, I have no idea what you're trying to say.
I'm sorry, suppose I should given my wording more thought.

What I want to do is take this rig I'm messing with and take 2474 - *water in tank* because I want the amount from full (2474 being the full amount during the day). I cannot use one arithmetic to make it work like that, which isn't a big deal, I can use a constant, send a signal, and then use that, but just seemed odd I could not set it in one. For me, it would be nice to be able to set the left side like the right can in the picture below, but just for the subtraction & division operations. In all other operations the actual side doesn't matter.

MF-
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

I think that's why the introduced the constant combinators.
Because using a smart chest and filling it with real items would be clunky.

Peter34
Smart Inserter
Posts: 1096
Joined: Mon Nov 10, 2014 12:44 pm
Contact:

### Re: Arithmetic Combinators (subtraction and division change)

MF- wrote:I think that's why the introduced the constant combinators.
Because using a smart chest and filling it with real items would be clunky.
One benefit if a Constant Combinator is - as far as I know - that you can link the same Constant Combinator to multiple Arithmetic Combinators. That way, if you want tochange the value 2500 to 2000 for all of the Arithmetic ones, you only have to make one change, to the Constant, instead of one separate change to each of the Arithmetic Combinators.