Advertisement
camarajohnny

fluixDrop

Mar 25th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local ME = peripheral.wrap("top")
  2. local go = true
  3. local slot = 1
  4.  
  5. turtle.select(1)
  6. turtle.dropDown()
  7. print("wait for signal")
  8. while rs.getBundledInput("back") == 0 do
  9. sleep(0.5)
  10. end
  11.  
  12. print("fluix drop")
  13. while go do
  14. go = ME.pushItem("down",slot,1,64)
  15. turtle.dropDown()
  16. if rs.getBundledInput("back") == 0 then
  17. go = false
  18. end
  19. slot = (slot + 1) % 3
  20. end
  21. print("done1")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement