Advertisement
djgaven588

EMC Generating Turtle

Feb 8th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local dustBottom = true
  2.  
  3. while true do
  4.     for i=1, 11 do
  5.         if i ~= 4 and i ~= 8 then
  6.             if (turtle.getItemCount(i) == 0) then
  7.                 turtle.select(i)
  8.                 if i == 6 then
  9.                     if dustBottom then
  10.                         turtle.suckUp()
  11.                     else
  12.                         turtle.suckDown()
  13.                     end
  14.                 else
  15.                     if dustBottom then
  16.                         turtle.suckDown()
  17.                     else
  18.                         turtle.suckUp()
  19.                     end
  20.                 end
  21.             end
  22.         end
  23.     end
  24.  
  25.     turtle.select(16)
  26.     turtle.craft()
  27.     turtle.drop()
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement