[0.12.1][Twinsen]Arithmetic Combinator Inconsistent behavior
Posted: Fri Jul 24, 2015 1:23 am
I noticed a few days ago that an arithmetic combinator set to do, say, "A + 1" will output nothing if it had no A signal in it's inputs, and that was disappointing but didn't seem like a bug per say. However, I've just found that, actually, it will output nothing only if it has no circuit network as an input. If it's input is wired to something, "A+1" will output 1 even if the input had no A signal on it. At the very least this is inconsistent; if the absence of a signal is meant to be an implied "0" then it shouldn't matter if it's actually wired or not, should it?
pics:
constant combinator - no values set at all, just something to connect the wire to
arithmetic combiner - non-existant '0' incremented and output
(skipping the light, it's just set to '0'>0
as you can see, with nothing wired into input on the combiner, it outputs nothing and the light is off...
wire it to the constant, which is still not outputting a signal on '0', but suddenly, it accepts the implied '0' as 0
I used a constant combinator with no values set, but wiring to anything seems to work - I tried a power pole, a chest, a smart inserter, all had the same behavior.
Obviously this is a minor thing, I figure it's either a 10 minute fix or going to be bumped to "not fixing" for some non-obvious reason, and I won't lose sleep either way, just thought I'd report it; this sort of inconsistency can potentially lead to very confusing situations.
:edit: issue (if you wanna call it that) still present after 0.12.1 update
pics:
constant combinator - no values set at all, just something to connect the wire to
arithmetic combiner - non-existant '0' incremented and output
(skipping the light, it's just set to '0'>0
as you can see, with nothing wired into input on the combiner, it outputs nothing and the light is off...
wire it to the constant, which is still not outputting a signal on '0', but suddenly, it accepts the implied '0' as 0
I used a constant combinator with no values set, but wiring to anything seems to work - I tried a power pole, a chest, a smart inserter, all had the same behavior.
Obviously this is a minor thing, I figure it's either a 10 minute fix or going to be bumped to "not fixing" for some non-obvious reason, and I won't lose sleep either way, just thought I'd report it; this sort of inconsistency can potentially lead to very confusing situations.
:edit: issue (if you wanna call it that) still present after 0.12.1 update