Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function checkFuel()
- local fuel = turtle.getFuelLevel()
- if (fuel < 200) then
- turtle.select(16)
- turtle.refuel(2)
- turtle.select(1)
- end
- end
- local function farmCanes()
- turtle.up()
- turtle.dig()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnLeft()
- turtle.dig()
- turtle.turnLeft()
- turtle.down()
- end
- local function goChest()
- turtle.up()
- turtle.up()
- turtle.select(1)
- turtle.dropUp()
- turtle.down()
- turtle.down()
- end
- while true do
- checkFuel()
- farmCanes()
- goChest()
- sleep(1088)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement