Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- turtle.select(1)
- mow=turtle.digDown()
- if mow==true then
- print("I cut something")
- drop=turtle.drop()
- if drop==true then
- print("I moved it ahead")
- else
- print("I couldn't drop it")
- end
- else
- flower=turtle.detectDown()
- print(flower)
- if flower == true then
- os.loadAPI("sendbreak")
- else
- print("nothing to mow")
- end
- end
- sleep(0.2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement