Closed Fred4106 closed 6 years ago
This is the result of existing version (left) and my patch (right).
10:
X = X + 1
X % 3 >= 1 => 10
=> 20
20:
Y = Y + 1
Y % 3 <= 1 => 30
=> 10
30:
Z = Z + 1
Z % 3 != 2 => 20
=> 10
@Fred4106 Thanks a bunch for taking the time to do this
Looks like Factorio expects utf8 char codes for those operators. 2264 corresponds to <= 2265 corresponds to >= 2260 corresponds to !=
I was having a hell of a time figuring out why none of my generated circuits was doing anything. Turns out factorio will throw out entities it cant understand. When it tried to read in combinators with those ops, it would silently throw them out.
My ghetto version https://state-machine-fixed.herokuapp.com/ produces functioning blueprints