cecell

loadingTurtle

Jul 12th, 2015
477
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. i=0
  2. betSlp=30
  3. while i==0 do
  4.   slots = {1,2,3,5,6,7,9,10,11}
  5.   for i, slot in ipairs(slots) do
  6.     turtle.select(slot)
  7.     while not turtle.compareUp() do
  8.       turtle.suckDown(64)
  9.       if not turtle.compareUp() then
  10.         sleep(betSlp)
  11.       end
  12.     end
  13.     while not turtle.getItemSpace()==0 do
  14.       turtle.suckDown(turtle.getItemSpace())
  15.       if not turtle.getItemSpace()==0 then
  16.         sleep(betSlp)
  17.       end
  18.     end
  19.   end
  20.   turtle.select(4)
  21.   turtle.craft(64)
  22.   turtle.drop(64)
  23. end
Advertisement
Add Comment
Please, Sign In to add comment