Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkCrop()
- local a,data=turtle.inspectDown()
- size=data.state.age
- if tonumber(size)==7 then
- turtle.digDown()
- turtle.placeDown()
- end
- end
- while true do
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.turnLeft()
- turtle.forward()
- checkCrop()
- turtle.turnLeft()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.turnRight()
- turtle.forward()
- checkCrop()
- turtle.turnRight()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.turnLeft()
- turtle.forward()
- checkCrop()
- turtle.turnLeft()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.forward()
- checkCrop()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- turtle.dropDown()
- turtle.dropDown()
- sleep(300)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement