Advertisement
BransYT

8.31

Aug 31st, 2024 (edited)
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. -- 1 - white
  2. -- 2 - blue
  3. -- 3 - glass
  4.  
  5. image = {
  6.  
  7. {1, 2, 2, 2, 1},
  8. {2, 0, 0, 0, 2},
  9. {2, 0, 0, 0, 2},
  10. {2, 0, 0, 0, 2},
  11. {1, 2, 2, 2, 1},
  12. }
  13. function buildline(line)
  14. for i = 1,#line do
  15. slot=line[i]
  16. if slot ~= 0 then
  17. turtle.select(slot)
  18. turtle.placeDown()
  19. end
  20. turtle.forward()
  21. end
  22. for W = 1,#line do
  23. turtle.back()
  24. end
  25. turtle.turnRight()
  26. turtle.forward()
  27. turtle.turnLeft()
  28. end
  29.  
  30. for i=1, #image do
  31. buildline(image[i])
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement