This commit is contained in:
kepler155c
2018-10-31 20:10:27 -04:00
parent 865d642e5c
commit 44f8e61f2f
3 changed files with 3 additions and 4 deletions

View File

@@ -523,7 +523,7 @@ end
local success, msg local success, msg
if not fs.exists(DICTIONARY_FILE) or options.setTrash.value then 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') print('\nPress enter when ready')
read() read()
addTrash() addTrash()

View File

@@ -194,7 +194,6 @@ end
function page:transfer(item, count) function page:transfer(item, count)
local response = self:sendRequest({ request = 'transfer', item = item, count = count }) local response = self:sendRequest({ request = 'transfer', item = item, count = count })
debug(response)
if response then if response then
item.count = response.current - response.transferred item.count = response.current - response.transferred
self.grid:draw() self.grid:draw()

View File

@@ -188,8 +188,8 @@ function Craft.craftRecipe(recipe, count, inventoryAdapter, origItem)
for _, request in pairs(origItem.ingredients) do for _, request in pairs(origItem.ingredients) do
if request.crafted >= request.count then if request.crafted >= request.count then
if request.pending then if request.pending then
debug('??') _debug('??')
debug(request) _debug(request)
end end
request.status = nil request.status = nil
request.statusCode = Craft.STATUS_SUCCESS request.statusCode = Craft.STATUS_SUCCESS