Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local t = turtle
- local dup = t.digUp
- function Dig()
- t.dig()
- dup()
- end
- function move()
- t.forward()
- end
- function drop()
- t.select(16)
- for slot = 1,15 do
- t.select(slot)
- t.drop()
- t.select(16)
- t.dig()
- t.select(1)
- end
- function fullInv()
- if t.getItemCount(15) > 60 then
- drop()
- else
- return
- end
- function right()
- t.turnRight()
- turtle.dig()
- t.forward()
- t.digUp()
- t.turnRight()
- end
- function left()
- t.turnLeft()
- turtle.dig()
- t.forward()
- t.digUp()
- t.turnLeft()
- end
- function row()
- Dig()
- move()
- fullInv()
- end
- for i = 1,10 do
- row()
- right()
- row()
- left()
- row()
- right()
- end
Advertisement
Add Comment
Please, Sign In to add comment