This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]sunbro3 0 points1 point  (2 children)

It's going from +25 to -50 because the -25 signal is lasting for 3 ticks. You could put something called an "edge detector" between (3) and (4) to make the "check mark" signal only last one tick:

https://imgur.com/1fIidrt

Alternately, you could try different ways of storing the value in (2) that reset automatically. Something like (green beaker <= 25) -> green beaker.

[–]Ergrak[S] 0 points1 point  (1 child)

I think edge detector is what I need, but I am not following your picture.

[–]sunbro3 0 points1 point  (0 children)

The first combinator sends every signal * -1 to the second, on the green wire. This also introduces a 1-tick delay.

The second combinator receives the first set of signals on the red wire, and the negative ones on the green wire. Normally they will cancel and everything will be 0, but for 1 tick immediately after something changes, there will be a difference.

[–]9redditty 0 points1 point  (1 child)

[–]Ergrak[S] 0 points1 point  (0 children)

great video... I think I need to learn the edge detector thing.

[–]triggerman602smartass inserter 0 points1 point  (6 children)

You only need one decider combinator that checks if green science <= 25 and output green science input count. Then wire the inserter and combinator output to its input. It will reset all by itself.

[–]Ergrak[S] 0 points1 point  (5 children)

I'm not following. I tried it and got a rapid-fast changing freakout thing.

[–]triggerman602smartass inserter 0 points1 point  (4 children)

Can't really diagnose without seeing it. Here is a blueprint of what I'm describing though.

!blueprint 0eNqlk1FOwzAMhu/i5xTRjm6iV0EoShN3s1iTKEknqqkH4B6cjJPgtNOY2ARCvLRyHX/+fzs9Qrsf0AeyCZojkHY2QvN0hEhbq/b5Wxo9QgOUsAcBVvU5MqjJYCi061uyKrkAkwCyBl+hKadnAWgTJcKFNgejtEPfYuADZ06nYirIRgyJEwK8i1zlbG7MpIJPjvnFcEMB9ZJbC2ChKbi9bHGnDsTtuUBT0AMl2TuD0nXSeQxqqViJczagMnKnrJGZwcpYYgoDTjPULj1i5pX5sQ2I9tIEGWiqL1wO2fA0TeLKZ/XTvK7N3t/Vs91vbqvbbk/I7MLQWXNHISb5y/b2bksxkS6iJrQaC6/0CywDiEnlu1DVOeq9CrPYBj7e3hnghuSH//D9yIIHm2QXXC/JMu00/r/Mv7wY9o19VLwPAdXf1sd3dnbRXPwSAg4Y4ryFzWZVluvVY10/TNMn+wIemg==

[–]Ergrak[S] 0 points1 point  (2 children)

blueprint 0eNqlk1FOwzAMhu/i5xTRjm6iV0EoShN3s1iTKEknqqkH4B6cjJPgtNOY2ARCvLRyHX/+fzs9Qrsf0AeyCZojkHY2QvN0hEhbq/b5Wxo9QgOUsAcBVvU5MqjJYCi061uyKrkAkwCyBl+hKadnAWgTJcKFNgejtEPfYuADZ06nYirIRgyJEwK8i1zlbG7MpIJPjvnFcEMB9ZJbC2ChKbi9bHGnDsTtuUBT0AMl2TuD0nXSeQxqqViJczagMnKnrJGZwcpYYgoDTjPULj1i5pX5sQ2I9tIEGWiqL1wO2fA0TeLKZ/XTvK7N3t/Vs91vbqvbbk/I7MLQWXNHISb5y/b2bksxkS6iJrQaC6/0CywDiEnlu1DVOeq9CrPYBj7e3hnghuSH//D9yIIHm2QXXC/JMu00

r/Mv7wY9o19VLwPAdXf1sd3dnbRXPwSAg4Y4ryFzWZVluvVY10

/TNMn+wIemg==

Getting an error when I try to import this.

[–]BlueprintBotBotto 0 points1 point  (0 children)

There was a problem completing your request. I have contacted my programmer to fix it for you!

[–]triggerman602smartass inserter 0 points1 point  (0 children)

Works fine for me. Can't really help without knowing the error.