Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 12
- b = 0
- while b < a do
- turtle.forward()
- b = b+1
- end
- if b == a and turtle.getItemCount(1) < 1 then
- turtle.select(2)
- turtle.placeUp()
- turtle.select(1)
- turtle.suckUp()
- turtle.select(2)
- turtle.digUp()
- turtle.select(1)
- turtle.placeDown()
- b = 0
- end
- if b == a and turtle.getItemCount(1) > 0 then
- turtle.placeDown()
- b = 0
- end
- turtle.select(2)
Add Comment
Please, Sign In to add comment