Closed increpare closed 3 years ago
In my fork I've added a comment a long time ago in the function directionalRule, saying "TODO: should'nt it also include 'perpendicular' and 'parallel' but exclude 'horizontal' and 'vertical'?" I guess it's the source of this problem.
https://github.com/ClementSparrow/Pattern-Script/blob/master/src/js/compiler/rule_parser.js
The "it" in that comment being the variable defined as:
var relativeDirections = ['^', 'v', '<', '>','horizontal','vertical'];
Lol. You saved me a few hours probably. Thanks.
https://www.puzzlescript.net/editor.html?hack=44c3cc19a7691abfb209bbd485c17f55
becomes