Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dig()
- turtle.dig()
- turtle.digUp()
- turtle.up()
- end
- function tree()
- if turtle.detect() == true then
- dig()
- dig()
- dig()
- dig()
- turtle.down()
- turtle.down()
- turtle.down()
- turtle.down()
- turtle.down()
- turtle.dig()
- turtle.up()
- end
- end
- repeat
- tree()
- turtle.turnRight()
- tree()
- turtle.turnRight()
- tree()
- turtle.turnRight()
- tree()
- turtle.turnRight()
- sleep(60)
- until
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement