cleanup + example start

This commit is contained in:
kepler155c@gmail.com
2019-11-17 18:21:48 -07:00
parent 64ec8c82d3
commit 922c391bf2
16 changed files with 95 additions and 49 deletions

8
ignore/scripts/setHome Normal file
View File

@@ -0,0 +1,8 @@
_G.requireInjector(_ENV)
local Config = require('config')
local pt = turtle.enableGPS()
if pt then
local config = Config.load('gps', { })
config.home = pt
Config.update('gps', config)
end