refactor common apps into its own package

This commit is contained in:
kepler155c@gmail.com
2019-03-12 20:05:04 -04:00
parent d8e0a669af
commit 81a7894037
22 changed files with 26 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
_G.requireInjector(_ENV)
local config = require('config').load('gps')
if config.home then
if turtle.enableGPS() then
return turtle.pathfind(config.home)
end
end