Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- slot = 1
- local function checkSlot()
- if turtle.getItemCount(slot) == 0 then
- slot = slot +1
- turtle.select(slot)
- end
- end
- turtle.select(slot)
- while true do
- while turtle.detectUp() do
- turtle.back()
- turtle.place()
- end
- turtle.turnRight()
- turtle.back()
- turtle.turnLeft()
- if not turtle.detectUp() then
- turtle.forward()
- turtle.turnRight()
- end
- ----------------------------------------
- while turtle.detectUp() do
- turtle.back()
- turtle.place()
- end
- turtle.turnLeft()
- turtle.back()
- turtle.turnRight()
- if not turtle.detectUp() then
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment