did stuff
This commit is contained in:
parent
51c1d7d147
commit
c9884f10fb
@ -58,10 +58,10 @@ local function inventoryRework()
|
||||
--store items away
|
||||
if not spaceAvailable and chestAvailable then
|
||||
--turtle.up()
|
||||
tutel.up()
|
||||
turtle.up()
|
||||
basic.secureDigUp()
|
||||
--turtle.up()
|
||||
tutel.up()
|
||||
turtle.up()
|
||||
basic.secureDigUp()
|
||||
turtle.select(chestSlot)
|
||||
turtle.placeUp()
|
||||
@ -77,9 +77,9 @@ local function inventoryRework()
|
||||
end
|
||||
end
|
||||
--turtle.down()
|
||||
tutel.down()
|
||||
turtle.down()
|
||||
--turtle.down()
|
||||
tutel.down()
|
||||
turtle.down()
|
||||
end
|
||||
|
||||
if not spaceAvailable and not chestAvailable then
|
||||
@ -94,15 +94,15 @@ end
|
||||
local function recursiveOreMining()
|
||||
for i=0, 3 do
|
||||
--turtle.turnLeft()
|
||||
tutel.left()
|
||||
turtle.left()
|
||||
blockFound, blockData = turtle.inspect()
|
||||
if isOre(blockData) then
|
||||
tutel.secureDig()
|
||||
--turtle.forward()
|
||||
tutel.forward()
|
||||
turtle.forward()
|
||||
recursiveOreMining()
|
||||
--turtle.back()
|
||||
tutel.back()
|
||||
turtle.back()
|
||||
end
|
||||
end
|
||||
|
||||
@ -110,20 +110,20 @@ local function recursiveOreMining()
|
||||
if isOre(blockData) then
|
||||
tutel.secureDigUp()
|
||||
--turtle.up()
|
||||
tutel.up()
|
||||
turtle.up()
|
||||
recursiveOreMining()
|
||||
--turtle.down()
|
||||
tutel.down()
|
||||
turtle.down()
|
||||
end
|
||||
|
||||
blockFound, blockData = turtle.inspectDown()
|
||||
if isOre(blockData) then
|
||||
tutel.secureDigDown()
|
||||
--turtle.down()
|
||||
tutel.down()
|
||||
turtle.down()
|
||||
recursiveOreMining()
|
||||
--turtle.up()
|
||||
tutel.up()
|
||||
turtle.up()
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user