plethora app fixes
This commit is contained in:
@@ -64,11 +64,11 @@ local function harvest(blocks)
|
|||||||
elseif b.name == 'minecraft:chest' then
|
elseif b.name == 'minecraft:chest' then
|
||||||
local summed = turtle.getSummedInventory()
|
local summed = turtle.getSummedInventory()
|
||||||
for _,v in pairs(summed) do
|
for _,v in pairs(summed) do
|
||||||
if v.count > 32 then
|
if v.count > 48 then
|
||||||
if turtle._goto(Point.above(b)) then
|
if turtle._goto(Point.above(b)) then
|
||||||
for k,v2 in pairs(summed) do
|
for k,v2 in pairs(summed) do
|
||||||
if v2.count > 32 then
|
if v2.count > 16 then
|
||||||
turtle.dropDown(k, v2.count - 32)
|
turtle.dropDown(k, v2.count - 16)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ local peripheral = _G.peripheral
|
|||||||
local read = _G.read
|
local read = _G.read
|
||||||
local turtle = _G.turtle
|
local turtle = _G.turtle
|
||||||
|
|
||||||
|
UI:configure('scanningMiner', ...)
|
||||||
|
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
local options = {
|
local options = {
|
||||||
chunks = { arg = 'c', type = 'number', value = -1,
|
chunks = { arg = 'c', type = 'number', value = -1,
|
||||||
|
|||||||
Reference in New Issue
Block a user