Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = 0
- e = 0
- h = 0
- local x,y,z = gps.locate(2)
- while true do
- if i >= 9 then
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- i = i - i
- e = e + 1
- print(e)
- print(h)
- print(It)
- if e >= 2 then
- if It >= 64 then
- repeat
- turtle.up()
- until(turtle.detectUp())
- if turtle.detectUp() then
- turtle.dropUp(64)
- repeat
- turtle.down()
- until(turtle.detectDown())
- else
- turtle.up()
- end
- else
- turtle.digDown()
- turtle.down()
- e = e - e
- h = h + 1
- end
- end
- elseif i <= 10 then
- i = i + 1
- turtle.dig()
- turtle.forward()
- SeSo = turtle.getSelectedSlot()
- It = turtle.getItemCount(SeSo)
- if y == 5 then
- turtle.up()
- if y == 100 then
- print("Job Done")
- break
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment