Files
opus-apps/common/etc/scripts/goHome
kepler155c@gmail.com 3246579ab1 cleanup
2020-04-16 23:11:59 -06:00

8 lines
174 B
Plaintext

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