HappySunChild

WaterDrain

Jun 27th, 2022 (edited)
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. local args = { ... }
  2.  
  3. local xsize = tonumber(args[1]) or 1
  4. local ysize = tonumber(args[2]) or 1
  5.  
  6. turtle.placeDown()
  7. turtle.digDown()
  8. turtle.down()
  9.  
  10. for y = 1, ysize do
  11.     for x = 1, xsize do
  12.         turtle.place()
  13.         turtle.dig()
  14.         turtle.forward()
  15.     end
  16.  
  17.     turtle.placeDown()
  18.     turtle.digDown()
  19.     turtle.down()
  20.     turtle.turnRight()
  21.     turtle.turnRight()
  22. end
  23.  
Add Comment
Please, Sign In to add comment