Advertisement
Tobnac

FTB FanProc: Drop and wait

Oct 1st, 2023 (edited)
923
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local inventorySize = 16
  2.  
  3. while 1 do
  4.     for i = 1, inventorySize do
  5.         turtle.select(i)
  6.         turtle.suckUp()
  7.     end
  8.     for i = 1, inventorySize do
  9.         turtle.select(i)
  10.         turtle.drop()
  11.     end
  12.  
  13.     sleep(40)
  14.  
  15.     for i = 1, inventorySize do
  16.         turtle.select(i)
  17.         turtle.suck()
  18.     end
  19.     turtle.turnLeft()
  20.     for i = 1, inventorySize do
  21.         turtle.select(i)
  22.         turtle.drop()
  23.     end
  24.     turtle.turnRight()
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement