Advertisement
praetorianer777

Untitled

Sep 1st, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --initialisierung
  2.  
  3. function fGRABEN()
  4.   while turtle.detectUp() == true do
  5.     turtle.digUp()
  6.   end
  7.   if turtle.detect() == true then
  8.     turtle.dig()
  9.   end
  10.   turtle.forward()
  11. end
  12.  
  13. while true do
  14.   for i=1,8 do
  15.     fGRABEN()
  16.   end
  17.     turtle.turnLeft()
  18.     fGRABEN()
  19.     turtle.turnLeft()
  20.   end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement