Files
opus-apps/common/etc/scripts/goHome
2019-03-12 20:05:04 -04: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