Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Logger v.0.1 by Neopherus --
- -- Logs = 1
- -- Saplings = 2
- -- Bonemeal = 3
- function plant()
- turtle.select(2)
- turtle.place()
- turtle.select(3)
- turtle.place()
- end
- function cut()
- turtle.dig()
- turtle.forward()
- while turtle.detectUp() do
- turtle.digUp()
- turtle.up()
- end
- end
- function back()
- while not turtle.detectDown() do
- turtle.down()
- end
- turtle.back()
- end
- tArgs = { ... }
- togo = tonumber(tArgs[1])
- for i=1,togo do
- plant()
- cut()
- back()
- end
Advertisement
Add Comment
Please, Sign In to add comment