the final day i might break everything in the next 15 minutes to solve a bug commit
Use direction instead of target tile for secondary direction. This fixes the weird relations but breaks arbitrary directions.