duncan9322

packer.lua

Mar 19th, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. -- packs scrap
  2. slots = {1, 2, 3, 5, 6, 7, 9, 10, 11}
  3. while true do
  4.     for _, slot in ipairs(slots) do
  5.         print(slot)
  6.         turtle.select(slot)
  7.         while not turtle.suck(1) do
  8.             sleep(0.25)
  9.         end
  10.     end
  11.     turtle.craft()
  12.     turtle.turnLeft()
  13.     turtle.turnLeft()
  14.     turtle.drop()
  15.     turtle.turnLeft()
  16.     turtle.turnLeft()
  17. end
  18.  
Add Comment
Please, Sign In to add comment