Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function makeTree()
- turtle.select(1)
- turtle.place()
- turtle.select(2)
- turtle.place()
- end
- function cutTree()
- turtle.dig()
- turtle.forward()
- while turtle.detectUp() do
- turtle.digUp()
- turtle.up()
- end
- while not turtle.detectDown() do
- turtle.down()
- end
- turtle.back()
- end
- function depositWood()
- turtle.select(3)
- turtle.dropDown()
- turtle.select(4)
- turtle.dropDown()
- end
- for i = 1, 64 do
- makeTree()
- cutTree()
- depositWood()
- end
- print ("Job Done!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement