From 44f8e61f2fa8cdf9e4202beece1de66b8c7fd785 Mon Sep 17 00:00:00 2001 From: kepler155c Date: Wed, 31 Oct 2018 20:10:27 -0400 Subject: [PATCH] milo wip --- apps/scanningMiner.lua | 2 +- milo/MiloRemote.lua | 1 - milo/apis/turtle/craft.lua | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/scanningMiner.lua b/apps/scanningMiner.lua index 01f894c..76d6cac 100644 --- a/apps/scanningMiner.lua +++ b/apps/scanningMiner.lua @@ -523,7 +523,7 @@ end local success, msg if not fs.exists(DICTIONARY_FILE) or options.setTrash.value then - print('Place blocks into the turtles inventor to ignore, such as cobble, stone, gravel, etc.') + print('Place blocks into the turtles inventory to ignore, such as cobble, stone, gravel, etc.') print('\nPress enter when ready') read() addTrash() diff --git a/milo/MiloRemote.lua b/milo/MiloRemote.lua index 0df71c8..84c7c5a 100644 --- a/milo/MiloRemote.lua +++ b/milo/MiloRemote.lua @@ -194,7 +194,6 @@ end function page:transfer(item, count) local response = self:sendRequest({ request = 'transfer', item = item, count = count }) - debug(response) if response then item.count = response.current - response.transferred self.grid:draw() diff --git a/milo/apis/turtle/craft.lua b/milo/apis/turtle/craft.lua index d031b86..22b9481 100644 --- a/milo/apis/turtle/craft.lua +++ b/milo/apis/turtle/craft.lua @@ -188,8 +188,8 @@ function Craft.craftRecipe(recipe, count, inventoryAdapter, origItem) for _, request in pairs(origItem.ingredients) do if request.crafted >= request.count then if request.pending then - debug('??') - debug(request) + _debug('??') + _debug(request) end request.status = nil request.statusCode = Craft.STATUS_SUCCESS