emagiannu

Untitled

May 20th, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. function metti()
  2. turtle.select(1)
  3. turtle.place()
  4. end
  5.  
  6. function prendi()
  7. turtle.select(1)
  8. turtle.dropDown()
  9. turtle.dig()
  10. end
  11.  
  12. function scarica()
  13. for i=2, 16 do
  14. turtle.select(i)
  15. turtle.dropDown()
  16. end
  17. turtle.select(1)
  18. end
  19.  
  20.  
  21. while true do
  22. event = os.pullEvent("redstone")
  23. metti()
  24. sleep(30)
  25. scarica()
  26. prendi()
  27. end
Advertisement
Add Comment
Please, Sign In to add comment