From 044166251469a9c57e86a44f87e72946c417b4c5 Mon Sep 17 00:00:00 2001 From: kepler155c Date: Thu, 29 Mar 2018 21:43:16 -0400 Subject: [PATCH] wireless crafting --- apps/chestManager.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/chestManager.lua b/apps/chestManager.lua index 50cf91e..1f0adb6 100644 --- a/apps/chestManager.lua +++ b/apps/chestManager.lua @@ -485,6 +485,7 @@ local function craftItems(craftList, allItems) end -- remote processing +--[[ if modem then for key,item in pairs(craftList) do if not Craft.recipes[key] and item.crafted < item.count then @@ -492,6 +493,7 @@ local function craftItems(craftList, allItems) end end end +--]] if not controllerAdapter and not canCraft then for _,item in pairs(craftList) do @@ -1434,6 +1436,7 @@ jobMonitor() UI:setPage(listingPage) listingPage:setFocus(listingPage.statusBar.filter) +--[[ Event.on('modem_message', function(e, side, sport, dport, item) debug({ e, side, sport, dport, item }) if dport == 205 and type(item) == 'table' then @@ -1444,6 +1447,7 @@ Event.on('modem_message', function(e, side, sport, dport, item) config.trashDirection) end end) +--]] Event.onInterval(5, function()