Files
opus-apps/common/etc/scripts/goHome
2020-05-11 17:26:43 -06:00

7 lines
149 B
Plaintext

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