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