attack program - new
This commit is contained in:
@@ -76,6 +76,9 @@ local function dropOff()
|
|||||||
local inv = turtle.getSummedInventory()
|
local inv = turtle.getSummedInventory()
|
||||||
for _, slot in pairs(inv) do
|
for _, slot in pairs(inv) do
|
||||||
if slot.count >= 16 then
|
if slot.count >= 16 then
|
||||||
|
if turtle.getFuelLevel() < 1000 then
|
||||||
|
turtle.refuel(slot.name, 16)
|
||||||
|
end
|
||||||
turtle.dropDownAt(chest, slot.name)
|
turtle.dropDownAt(chest, slot.name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user