Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkTree()
- if turtle.compare(1)==true then
- redstone.setOutput("left",true)
- sleep(3.5)
- redstone.setOutput("left",false)
- plantTree()
- end
- end
- function plantTree()
- turtle.turnRight()
- turtle.suck(4)
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.turnleft()
- turtle.select(2)
- turtle.place()
- turtle.turnRight()
- turtle.back()
- turtle.place()
- turtle.turnLeft()
- turtle.place()
- turtle.turnRight()
- turtle.back()
- turtle.place()
- end
- while true do
- checkTree()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement