Files
opus-apps/common/etc/scripts/goHome
2019-11-25 15:29:25 -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