forked from gigabit101/StevesFactoryManager
-
-
Notifications
You must be signed in to change notification settings - Fork 56
'EXCEPT' keyword broken in conditions? #319
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingneeds reproductionReliably reproducing the problem helps fix itReliably reproducing the problem helps fix it
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds reproductionReliably reproducing the problem helps fix itReliably reproducing the problem helps fix it
Tested this very simple script
EVERY 20 TICKS DO
IF test_check HAS GT 0 * EXCEPT bee_cage
THEN
INPUT fluid:: FROM test_input
OUTPUT 1 fluid:: TO test_output
END
END
'test_check HAS GT 0 * EXCEPT bee_cage' seems to always resolve to TRUE, no matter which item is in test_check
Demonstration video
https://www.youtube.com/watch?v=pT09vt8GrDs
The video has a code with a condition slightly different but both the code used in the video AND the code above have been tested with the same simple setup (visible in the video).