Page 1 of 1

Arithmetic Combinators (subtraction and division change)

Posted: Thu Aug 06, 2015 7:22 am
by vampiricdust
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.

Re: Arithmetic Combinators (subtraction and division change)

Posted: Thu Aug 06, 2015 8:12 am
by deepdriller
What do you mean, "setting a hard value"?
Surely you can't mean something what the constant combinators already do?

Re: Arithmetic Combinators (subtraction and division change)

Posted: Thu Aug 06, 2015 9:28 am
by vampiricdust
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.

Re: Arithmetic Combinators (subtraction and division change)

Posted: Thu Aug 06, 2015 9:39 am
by deepdriller
Honestly, I have no idea what you're trying to say.

Re: Arithmetic Combinators (subtraction and division change)

Posted: Thu Aug 06, 2015 10:20 am
by ratchetfreak
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

Re: Arithmetic Combinators (subtraction and division change)

Posted: Thu Aug 06, 2015 12:11 pm
by vampiricdust
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.

Image

Re: Arithmetic Combinators (subtraction and division change)

Posted: Fri Aug 07, 2015 6:24 am
by MF-
I think that's why the introduced the constant combinators.
Because using a smart chest and filling it with real items would be clunky.

Re: Arithmetic Combinators (subtraction and division change)

Posted: Fri Aug 07, 2015 3:14 pm
by Peter34
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.