Advertisement
Guest User

take2

a guest
Sep 18th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. while true do
  2. if turtle.detectForward() then
  3. print("detected")
  4. turtle.dig()
  5. print("dug")
  6. while turtle.getItemSpace() == 64 do
  7. print("slot full")
  8. if turtle.getSelectedSlot() == 16 the
  9. print("slot 16")
  10. turtle.craft(64)
  11. print("crafted")
  12. turtle.dropDown(64)
  13. print("dropped")
  14. turtle.select(1)
  15. print("1 selected")
  16. else then
  17. turtle.select(turtle.getSelectedSlot() + 1)
  18. print(turtle.getSelectedSlot())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement