In that case, here’s the current version. Let me know how it works and if anything breaks unexpectedly.
Enhanced Route Finding 10-v1.i7x (9.9 KB)
It works basically how you’d expect, but be aware: “through” is for rooms, “using” is for doors. (This is a bit unintuitive but it seemed better than relying on the type-checker to distinguish between descriptions of rooms and descriptions of doors.) So you’ll want “the best route from X to Y using doors traversable by the player”.