Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function plant()
- for i= 1, 7 do
- turtle.placeDown(turtle.select(1))
- turtle.forward()
- end
- end
- function backUp()
- for j=1, 7 do
- turtle.back()
- end
- end
- function harvest()
- for k= 1, 7 do
- turtle.digDown()
- turtle.suckDown()
- sleep(1)
- turtle.forward()
- end
- end
- function dropOff()
- turtle.back()
- turtle.dropDown(turtle.getItemCount(turtle.select(2)) )
- turtle.dropDown(turtle.getItemCount(turtle.select(1))-7 )
- turtle.forward()
- end
- while true do
- --plant()
- --backUp()
- --sleep(60)
- harvest()
- backUp()
- dropOff()
- sleep(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement