05-26-2021, 07:58 AM
I have to apologize for not having made a minimal lud with the relevant issue. But I'm guessing this has to do with the recent update to (step). In the attached lud there is a forward moving stack that is allowed to move backwards. I cannot see how. Any ideas?
The to-region of the move is defined like this:
If the stack is odd, the to-sites should be in front of the stack, if it is even they should be behind it. But they are both, as illustrated in the attached image and the attached trial.
The to-region of the move is defined like this:
Code:
(define "EmptyInRange"
(sites Distance
(step
(if
(is Odd ("StackSize" (from)))
Forwards
Backwards
)
(to
if:(= 0 ("StackSize" (to)))
)
)
from:(from)
(range 1 ("StackSize" (from)))
)
)