sim icon indicating copy to clipboard operation
sim copied to clipboard

Allow for boolean operators

Open mathiasbockwoldt opened this issue 5 years ago • 0 comments

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.

mathiasbockwoldt avatar Mar 10 '20 13:03 mathiasbockwoldt