remove dependency on device global + milo backup config

This commit is contained in:
kepler155c@gmail.com
2019-03-11 23:48:53 -04:00
parent f2a8a7e639
commit b43761faf1
21 changed files with 79 additions and 125 deletions

View File

@@ -3,12 +3,11 @@ local Event = require('event')
local UI = require('ui')
local Util = require('util')
local args = { ... }
local colors = _G.colors
local device = _G.device
local ni = device.neuralInterface
local args = { ... }
local colors = _G.colors
local peripheral = _G.peripheral
local SHIELD_SLOT = 2
local ni = peripheral.find('neuralInterface')
local context = args[1]
if not context.state.autostore then