SHARE
TWEET

circle

a guest Jul 21st, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. turtle.refuel()
  2. list = {7,13,17,19,21,23,25,27,27,29,29,29,31,31,31,31}
  3. dec = {0,3,2,1,1,1,1,1,0,1,0,0,1,0,0,0,0}
  4. x = table.getn(list)
  5.  
  6. for deep = 0,50 do
  7.  
  8. for i=1,x do
  9.     turtle.digDown()
  10.     for k=1,list[i]-1 do
  11.         turtle.dig()
  12.         turtle.forward()
  13.         turtle.digDown()
  14.     end
  15.     turtle.turnLeft()
  16.     turtle.turnLeft()
  17.     for k=1,list[i]-1 do
  18.         turtle.forward()
  19.     end
  20.     turtle.turnLeft()
  21.     turtle.dig()
  22.     turtle.forward()
  23.     turtle.turnRight()
  24.     for k=1,dec[i+1] do
  25.         turtle.dig()
  26.         turtle.forward()
  27.     end
  28.     turtle.turnLeft()
  29.     turtle.turnLeft()
  30. end
  31.  
  32. for i=x-1,1,-1 do
  33.     turtle.digDown()
  34.     for k=1,list[i]-1 do
  35.         turtle.dig()
  36.         turtle.forward()
  37.         turtle.digDown()
  38.     end
  39.     turtle.turnLeft()
  40.     turtle.turnLeft()
  41.     for k=1,list[i]-1 do
  42.         turtle.forward()
  43.     end
  44.     turtle.turnLeft()
  45.     turtle.turnLeft()
  46.    
  47.     for k=1,dec[i] do
  48.         turtle.dig()
  49.         turtle.forward()
  50.     end
  51.     turtle.turnRight()
  52.     turtle.dig()
  53.     turtle.forward()
  54.     turtle.turnLeft()
  55. end
  56.  
  57. turtle.turnLeft()
  58.  
  59. for i=0,(2*x)-1 do
  60.     turtle.forward()
  61. end
  62.  
  63. for a=1,deep do
  64.     turtle.up()
  65. end
  66. for slot = 1,16 do
  67.     turtle.select(slot)
  68.     turtle.drop()
  69. end
  70. turtle.turnRight()
  71.  
  72. for a=0,deep+1 do
  73.     turtle.down()
  74. end
  75. 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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top