there seems to be an error in the parsing of the combinator :
local maxStack = 2
out['signal-H'] = maxStack
local inSignal = green['wood']
local outSignal = 0
if (inSignal < maxStack) then
outSignal = inSignal
end
there is a wrong variable name in the screenshot, but the error does not change at all even if it was the correct variable name , this was an attempt to see if it go to the 2nd variable before the parser errored out, but no, it seems to happen at the =
the error says it's expecting a ']' near the = on line 6
here's the in-game screenshot of it :
https://imgur.com/a/mEZc7j8
as far as I know this code seems completely fine, if a little useless (didn't get past the 1st if in what i planned on making)
is this a bug within the parser or did I do something stupid that i've been overlooking?