Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- succes, data = turtle.inspect()
- print("checking: ",data.metadata)
- if (succes and data.metadata == 7) then
- print("crop ready!")
- redstone.setOutput("right", true)
- sleep(0.3)
- redstone.setOutput("right", false)
- end
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement