Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.detectForward() then
- print("detected")
- turtle.dig()
- print("dug")
- while turtle.getItemSpace() == 64 do
- print("slot full")
- if turtle.getSelectedSlot() == 16 the
- print("slot 16")
- turtle.craft(64)
- print("crafted")
- turtle.dropDown(64)
- print("dropped")
- turtle.select(1)
- print("1 selected")
- else then
- turtle.select(turtle.getSelectedSlot() + 1)
- print(turtle.getSelectedSlot())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement