Advertisement
bryceio

Computercraft Endoflame Turtle

Feb 20th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function drop()
  2.     turtle.drop(4)
  3.     turtle.turnLeft()
  4. end
  5. local function pick()
  6.     turtle.suck()
  7.     turtle.turnLeft()
  8. end
  9.  
  10. while true do
  11.     if redstone.getInput("top") == false then
  12.         if turtle.suckDown(16) then
  13.             drop()
  14.             drop()
  15.             drop()
  16.             drop()
  17.             sleep(3)
  18.             pick()
  19.             pick()
  20.             pick()
  21.             pick()
  22.             turtle.dropDown(16)
  23.             sleep(100)
  24.         else
  25.             sleep(300)
  26.         end
  27.     end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement