Advertisement
rungholt

tlavadrop

Aug 5th, 2023 (edited)
1,110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. local function setupLava()
  2.     turtle.digDown()
  3.     turtle.down()
  4.     turtle.digDown()
  5.     turtle.select(16)
  6.     turtle.placeDown()
  7.     turtle.select(1)
  8.     turtle.up()
  9. end
  10.  
  11. local function itemsIn()
  12.     for i = 1, 15 do
  13.         turtle.select(i)
  14.         turtle.suck()
  15.     end
  16. end
  17.  
  18. local function itemsOut()
  19.     for i = 1, 15 do
  20.         turtle.select(i)
  21.         turtle.dropDown()
  22.     end
  23.     turtle.select(1)
  24. end
  25.  
  26. local function getBackLava()
  27.     turtle.down()
  28.     turtle.select(16)
  29.     turtle.placeDown()
  30.     turtle.select(1)
  31.     turtle.up()
  32.     turtle.up()
  33. end
  34.  
  35. local function start()
  36.     setupLava()
  37.     for i = 1, 8 do
  38.         itemsIn()
  39.         itemsOut()
  40.     end
  41.     getBackLava()
  42. end
  43.  
  44. start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement