Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Fuckthetree_exe
- --Setup Area
- local counter = 0
- local counterBool = false
- local verticalBool = false
- repeat
- if counterBool == false then
- if counter == 0 then
- for i = 1, 16 do -- loop through the slots
- turtle.select(i) -- change to the slot
- if turtle.refuel(0) then -- if it's valid fuel
- local stack = turtle.getItemCount(i)
- turtle.refuel(stack) -- consume half the stack as fuel
- else
- turtle.dropDown()
- end
- end
- end
- if counter > 50 then
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- counter = 0
- counterBool = true
- end
- else
- if counter > 50 then
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- counter = 0
- counterBool = false
- end
- end
- if verticalBool == false then
- for i = 1, 114 do
- turtle.digUp()
- turtle.up()
- end
- verticalBool = true
- turtle.forward()
- else
- for i = 1, 114 do
- turtle.digDown()
- turtle.down()
- end
- verticalBool = false
- turtle.forward()
- end
- counter = counter + 1
- until 1 == 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement