[Twinsen] Arithmetic Combinator: First input can't set constant
[Twinsen] Arithmetic Combinator: First input can't set constant
The second input of the arithmetic combinator allows you to set a constant. The first input does not. This means that for certain operations, you have to use a constant combinator to put the constant you need into a signal, and read that in the first input. For example, if I want to do the operation 2^SIGNAL, I have to use a constant combinator to put the number 2 into a virtual signal, and then use that signal to do CONSTANT^SIGNAL.
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
While more of a feature request, I implemented it since it makes sense.
I made it so both inputs of the Arithmetic Combinator can use a constant.
Implemented in Version: 0.16.0
I made it so both inputs of the Arithmetic Combinator can use a constant.
Implemented in Version: 0.16.0
-
- Fast Inserter
- Posts: 230
- Joined: Wed Jun 08, 2016 6:16 pm
- Contact:
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
is it then so that you can set "each" into the second slot also, so i can for examle do each^each or something?
that would be good.
that would be good.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
Can you make this available on the API too? (In case you didn't already.)
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
The lua api changed also, you will see the new usage format in the docs.
As far as each^each I don't plan on adding that.
As far as each^each I don't plan on adding that.
-
- Fast Inserter
- Posts: 230
- Joined: Wed Jun 08, 2016 6:16 pm
- Contact:
Re: [Twinsen] Arithmetic Combinator: First input can't set constant
so 100/each wont work either?Twinsen wrote:As far as each^each I don't plan on adding that.
aww