SHARE
TWEET

Untitled

xmann110 Aug 15th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getLogs()
  2.     turtle.select(2)
  3.     local items = turtle.getItemCount()
  4.     if items < 32 then
  5.         turtle.select(1)
  6.         turtle.placeDown()
  7.         turtle.select(2)
  8.         turtle.suckDown(64 - items)
  9.         turtle.select(1)
  10.         turtle.digDown()
  11.         turtle.select(2)
  12.     end
  13.     turtle.turnLeft()
  14.     turtle.turnLeft()
  15.     turtle.down()
  16. end
  17.  
  18. turtle.select(2)
  19. turtle.refuel(64)
  20. getLogs()
  21.  
  22. while true do
  23.     for i=1, 51 do
  24.         turtle.forward()
  25.         getLogs()
  26.         turtle.placeUp()
  27.     end
  28. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top