Skip to content

Allow for boolean operators #2

Description

@mathiasbockwoldt

I don't know if I just oversaw it, but is there any possibility to add boolean operators to the if statements?

For example, in the beach example (https://ncase.me/sim/?s=beach), if I want to add deep water that spawns when all 8 neighbours are water, I'd need something like if exactly 8 neighbours are water OR deep_water. I guess you could work your way around the need for this OR here, but it would be convenient to have.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions