I agree with Pake; probably the best place to start looking! Tatwi has a slough of amazing scripts - including some interesting travel scripts.Pake said:Check out Falacy/Tatwi's links below. I believe he had done this (though it may have all been in lua, cant remember).
https://tatwi.wordpress.com/
https://github.com/Tatwi/legend-of-hondo