Posted 01 April 2012 - 09:21 AM
hey guys i've been trying to create a top-notch advanced lumberjack to cut down jungle trees using two turtles but for some weird reason on most of the trees it sleeps in the leaves on the top
can some pro help?
heres the code
can some pro help?
heres the code
turtle.dig()
turtle.forward()
while turtle.detectUp() and not turtle.detect() do
turtle.digUp()
turtle.up()
end
while turtle.detectUp() and turtle.detect() do
turtle.digUp()
turtle.up()
end
while turtle.detect() and not turtle.detectUp() do
turtle.dig()
turtle.forward()
end
while turtle.detectUp() and turtle.detect() do
turtle.digUp()
turtle.up()
end
while turtle.detectUp() and not turtle.detect() do
turtle.digUp()
turtle.up()
end
while not turtle.detectDown() and not turtle.detect() and not turtle.detectUp() do
turtle.down()
end
while turtle.detectDown() and not turtle.detect() and not turtle.detectUp() do
turtle.digDown()
turtle.down()
end
while not turtle.detectDown() and not turtle.detect() and not turtle.detectUp() do
turtle.down()
end
repeat until not turtle.detect() and turtle.detectDown() and not turtle.detectUp()