Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dig3()
- repeat turtle.dig()
- until turtle.forward() == true
- turtle.digDown()
- while turtle.digUp() == true do
- sleep(0.4)
- end
- end
- print("place turtle on last torch, facing forward")
- print("put torches in slot 1, chests in slot 2 and press a button")
- print(turtle.getFuelLevel())
- read()
- turtle.turnLeft()
- for j = 1, turtle.getItemCount(1) do
- turtle.select(1)
- turtle.placeDown()
- dig3()
- for i = 1, 5 do
- if turtle.getItemCount(16) > 0 then
- turtle.select(2)
- turtle.placeDown()
- for k = 3, 16 do
- turtle.select(k)
- turtle.dropDown()
- end
- turtle.select(1)
- end
- if i % 2 == 1 then
- turtle.turnRight()
- dig3()
- turtle.turnRight()
- dig3()
- dig3()
- else
- turtle.turnLeft()
- dig3()
- turtle.turnLeft()
- dig3()
- dig3()
- end
- end
- turtle.turnLeft()
- dig3()
- turtle.forward()
- turtle.turnLeft()
- dig3()
- end
- turtle.select(1)
- turtle.placeDown()
- dig3()
- turtle.back()
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement