Files
opus-apps/ignore/scripts/goHome
kepler155c@gmail.com 922c391bf2 cleanup + example start
2019-11-17 18:21:48 -07:00

8 lines
169 B
Plaintext

_G.requireInjector(_ENV)
local config = require('config').load('gps')
if config.home then
if turtle.enableGPS() then
return turtle.pathfind(config.home)
end
end