Advertisement
Guest User

carve

a guest
Mar 31st, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. turtle.up()
  2. direction = "r"
  3. for i=1,16 do
  4.     for j=1,16 do
  5.         turtle.dig()
  6.         turtle.digUp()
  7.         turtle.digDown()
  8.         turtle.forward()
  9.     end
  10.     if direction == "r" then
  11.         turtle.turnRight()
  12.         turtle.forward()
  13.         turtle.turnRight()
  14.         direction = "l"
  15.     else
  16.         turtle.turnLeft()
  17.         turtle.forward()
  18.         turtle.turnLeft()
  19.         direction = "r"
  20.     end
  21.    
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement