Advertisement
Triacontakai

koolKwarry

Feb 21st, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. -- KoolKwarry(v1)
  2. -- Triacontakai
  3. -- For use in CC v1.75
  4. -- THIS IS JUST THE LOGIC STRUCTURE!!!
  5.  
  6. local xoff = 0;
  7. local zoff = 0;
  8. local yoff = 0;
  9.  
  10. function forceForward()
  11.   if (turtle.detect()==true)
  12.     turtle.dig();
  13.   end
  14.   move forward
  15. end
  16. function forceDown()
  17.   if (block down)
  18.     mine below block
  19.   end
  20.   if (block picked up is cobble, dirt, gravel, limestone, andesite, diorite, or any other derivatives of stone)
  21.     drop item
  22.   end
  23.   move down
  24. end
  25. function quarryDown(x)
  26.   while (bedrock is not detected down)
  27.     forceDown()
  28.     x = x + 1
  29.   end
  30.   return x
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement