Advertisement
snekuu

sapi

Apr 25th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. function walk(dist)
  2.     print("Turtle moving" .. tostring(dist))
  3.     for i=1,dist do
  4.         turtle.forward()
  5.     end
  6. end
  7.  
  8. function hole(diameter,depth)
  9.     for i=1,depth do
  10.         for i=1,4 do
  11.             for i=1,diameter do
  12.             turtle.dig()
  13.             turtle.forward()
  14.             end
  15.             turtle.turnLeft()
  16.         end
  17.         turtle.digDown()
  18.         turtle.down()
  19.     end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement