Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function goForward()
- while not turtle.forward() do
- print("get out of my WAAAAAAAAY!")
- turtle.dig()
- turtle.attack()
- end
- if turtle.getItemCount(1) == 1 then
- sleep(10000000)
- end
- end
- --[[
- -- Get to the first block
- for i=1,62 do goForward() end
- ]]--
- function markQuarry()
- print("Marking")
- turtle.digDown()
- turtle.placeDown()
- turtle.turnLeft()
- -- Get to the far block
- for i=1,63 do goForward() end
- turtle.digDown()
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- -- Get back to the first
- for i=1,63 do goForward() end
- turtle.turnLeft()
- -- Get to the last
- for i=1,63 do goForward() end
- turtle.digDown()
- turtle.placeDown()
- -- Get to the next spot
- for i=1,4 do goForward() end
- end
- -------------
- while true do
- -------------
- markQuarry()
- ---
- end
- ---
Advertisement
Add Comment
Please, Sign In to add comment