Advertisement
StuBob

temp

Dec 1st, 2022 (edited)
928
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. width=40
  2. depth=16
  3. for i=1,width do
  4.     for j=1,depth do
  5.         turtle.dig()
  6.         if j < depth then turtle.forward() end
  7.     end
  8.     if (i % 2 == 0) then
  9.         turtle.turnRight()
  10.         turtle.dig()
  11.         turtle.forward()
  12.         turtle.turnRight()
  13.     else
  14.         turtle.turnLeft()
  15.         turtle.dig()
  16.         turtle.forward()
  17.         turtle.turnLeft()
  18.     end        
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement