Advertisement
fouttu

excavation2 mineturtle

Aug 29th, 2015
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. print("diametre")
  2. max = read()
  3. print(max)
  4.   for i = 1,max do
  5.     for j = 1,i do
  6.     turtle.dig()
  7.     turtle.forward()
  8.     end
  9.    turtle.turnRight()
  10.   for j = 1,i do
  11.     turtle.dig()
  12.     turtle.forward()
  13.     end
  14.   turtle.turnRight()
  15.   end
  16.   print("fini")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement