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.
Arithmetic Combinators (subtraction and division change)
Moderator: ickputzdirwech
- vampiricdust
- Filter Inserter
- Posts: 317
- Joined: Wed Jan 14, 2015 1:31 am
- Contact:
-
- Fast Inserter
- Posts: 185
- 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?
Surely you can't mean something what the constant combinators already do?
- vampiricdust
- Filter Inserter
- Posts: 317
- 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.
-
- Fast Inserter
- Posts: 185
- 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.
-
- Filter Inserter
- Posts: 952
- Joined: Sat May 23, 2015 12:10 pm
- Contact:
Re: Arithmetic Combinators (subtraction and division change)
he want to be able to say 2500 - water without having to add a constant combinatordeepdriller wrote:Honestly, I have no idea what you're trying to say.
- vampiricdust
- Filter Inserter
- Posts: 317
- Joined: Wed Jan 14, 2015 1:31 am
- Contact:
Re: Arithmetic Combinators (subtraction and division change)
I'm sorry, suppose I should given my wording more thought.deepdriller wrote:Honestly, I have no idea what you're trying to say.
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.
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.
Because using a smart chest and filling it with real items would be clunky.
Re: Arithmetic Combinators (subtraction and division change)
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.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.