Advertisement
stepan_xerx

Untitled

Feb 23rd, 2024 (edited)
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. W = {
  2.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  3.       {0,0,0,0,1,1,1,1,0,0,0,0},
  4.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  5.  
  6.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  7.       {0,0,0,1,0,0,0,0,1,0,0,0},
  8.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  9.  
  10.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  11.       {0,0,0,1,0,0,0,0,1,0,0,0},
  12.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  13.    
  14.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  15.       {0,0,0,1,0,0,0,0,1,0,0,0},
  16.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  17.    
  18.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  19.       {0,0,0,1,0,0,0,0,1,0,0,0},
  20.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  21.      
  22.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  23.       {0,0,0,1,0,0,0,0,1,0,0,0},
  24.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  25.    
  26.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  27.       {0,0,0,1,0,0,0,0,1,0,0,0},
  28.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  29.    
  30.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  31.       {0,0,0,1,0,0,0,0,1,0,0,0},
  32.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  33.    
  34.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  35.       {0,0,0,1,0,0,0,0,1,0,0,0},
  36.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  37.    
  38.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  39.       {0,0,0,1,0,0,0,0,1,0,0,0},
  40.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  41.    
  42.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  43.       {0,0,0,1,0,0,0,0,1,0,0,0},
  44.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  45.    
  46.      {{0,0,2,0,0,0,0,0,0,2,0,0},
  47.       {0,2,2,1,1,1,1,1,1,2,2,0},
  48.       {0,0,2,0,0,0,0,0,0,2,0,0},},
  49.    
  50.      {{0,2,2,2,2,2,2,2,2,2,2,0},
  51.       {2,2,2,2,2,2,2,2,2,2,2,2},
  52.       {0,2,2,2,2,2,2,2,2,2,2,0},},
  53.    
  54.      {{0,0,2,2,2,2,2,2,2,2,0,0},
  55.       {0,2,2,2,2,2,2,2,2,2,2,0},
  56.       {0,0,3,3,2,2,2,2,2,2,0,0},},
  57.      
  58.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  59.       {0,0,0,0,0,4,4,0,0,0,0,0},
  60.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  61.    
  62.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  63.       {0,0,0,0,0,4,4,0,0,0,0,0},
  64.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  65.    
  66.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  67.       {0,0,0,0,0,4,4,0,0,0,0,0},
  68.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  69.    
  70.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  71.       {0,0,0,0,0,4,4,0,0,0,0,0},
  72.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  73.    
  74.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  75.       {0,0,0,0,0,3,3,0,0,0,0,0},
  76.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  77.    
  78.      {{0,0,0,0,0,0,0,0,0,0,0,0},
  79.       {0,0,0,0,0,3,3,0,0,0,0,0},
  80.       {0,0,0,0,0,0,0,0,0,0,0,0},},
  81.  
  82. }
  83. for z = 1,#W do
  84.   for y = 1,#W[z] do
  85.       for x = 1,#W[z][y] do
  86.         slot = W[z][y][x]
  87.         if slot ~= 0 then
  88.           turtle.select(slot)
  89.           turtle.placeDown()
  90.         end
  91.         turtle.forward()
  92.       end
  93.       for a = 1,#W[z][y] do
  94.          turtle.back()
  95.       end
  96.       turtle.turnLeft()
  97.       turtle.forward()
  98.       turtle.turnRight()
  99.   end
  100.   turtle.turnRight()
  101.   for A = 1,#W[z] do
  102.     turtle.forward()
  103.   end
  104.   turtle.turnLeft()
  105.   turtle.up()
  106. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement