Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Script will chop a gree down from the base of tree up. Then will return to base.
- --Will only strip out 1 section of tree chunk at a time.
- --Excellent for chopping down those twilight oaks.
- local count = 0
- function checkfuel()
- if turtle.getFuelLevel()<10 then
- turtle.select(1)
- turtle.refuel(10)
- end
- end
- if turtle.detect() then
- turtle.dig()
- end
- checkfuel() --check the fuel level. if needed refuel.
- turtle.forward()
- while turtle.detectUp() do
- turtle.digUp()
- checkfuel()
- turtle.up()
- count = count + 1
- end
- for i = 1, count do
- checkfuel()
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement