feat(tutle-utils): add digAllUp method

This commit is contained in:
Guillaume ARM 2024-05-26 00:55:28 +02:00
parent c639157bdb
commit c030b03a11

View File

@ -178,6 +178,16 @@ turtleUtils.digAll = function()
end
end
turtleUtils.digAllUp = function()
while true do
local ok, err = turtle.digUp()
if not ok then
return ok, err
end
end
end
turtleUtils.countFreeSlots = function()
local freeSlots = 0