print("about to cut tree"); if turtle.getFuelLevel() > 100 then -- turtle.select(1); -- from under the tree if turtle.detect() then turtle.dig(); end; turtle.forward(); -- dig till nothing while turtle.detectUp() do turtle.digUp(); turtle.up(); end; -- whille going back, scrap leaves around while not turtle.detectDown() do for i=1,4 do turtle.turnLeft(); if turtle.detect() then turtle.dig(); end; end; turtle.down(); end; print("done"); else print ("fuel plz"); end;