Advertisement
stepan_xerx

Untitled

Feb 15th, 2024 (edited)
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. W = {
  2.     {0,2,2,0,0,2,2,0},
  3.     {2,3,3,2,2,3,3,2},
  4.     {2,3,3,3,3,3,3,2},
  5.     {2,3,3,3,3,3,3,2},
  6.     {0,2,3,3,3,3,2,0},
  7.     {0,0,2,3,3,2,0,0},
  8.     {0,0,0,2,2,0,0,0}
  9. }
  10. for y = 1,#W do
  11.     for x = 1,#W[y] do
  12.       slot = W[y][x]
  13.       if slot ~= 0 then
  14.         turtle.select(slot)
  15.         turtle.placeDown()
  16.       end
  17.       turtle.forward()
  18.     end
  19.     for a = 1,#W[y] do
  20.        turtle.back()
  21.     end
  22.     turtle.turnLeft()
  23.     turtle.forward()
  24.     turtle.turnRight()
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement