Advertisement
RTS_Dmitriy

Untitled

Sep 19th, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- 1 - red
  2. -- 2 - black
  3. -- 3 - white
  4. -- 4 - glass
  5.  
  6. line1={4,4,4,4,4,4,4,4}
  7. line2={4,4,4,4,2,2,4,4}
  8.  
  9.  
  10. function buildLine(line)
  11.     for i = 1,12 do
  12.         slot=line[i]
  13.         turtle.select(slot)
  14.         turtle.placeDown()
  15.         turtle.forward()
  16.     end
  17. end
  18.  
  19. buildLine(line1)
  20. buildLine(line2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement