Skip to content

'EXCEPT' keyword broken in conditions? #319

Description

@Qonabe

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reproductionReliably reproducing the problem helps fix it

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions