refined storage initial update - wip

This commit is contained in:
kepler155c
2018-03-26 15:13:12 -04:00
parent f62b760174
commit e532ee60f3
7 changed files with 83 additions and 2464 deletions

View File

@@ -147,18 +147,6 @@ function ChestAdapter:provide(item, qty, slot, direction)
end)
end
function ChestAdapter:eject(item, qty, direction)
if not _G.turtle then
error('Only a turtle can eject')
end
local s, m = pcall(function()
self:provide(item, qty)
_G.turtle.emptyInventory()
end)
return s, m
end
function ChestAdapter:extract(slot, qty, toSlot)
if toSlot then
self.pushItemIntoSlot(self.direction, slot, qty, toSlot)