Advertisement
jkhsjdhjs

Turtle Programm für Computercraft

Aug 30th, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. float x=0, y=0
  2. while (x<=1) do
  3.     turtle.dig()
  4.     turtle.forward()
  5.     while (y<=4) do
  6.         turtle.dig()
  7.         turtle.digUp()
  8.         turtle.turnRight()
  9.         turtle.dig()
  10.         turtle.turnLeft()
  11.         turtle.up()
  12.         y=y+1
  13.     end
  14.     y=0
  15.     turtle.dig()
  16.     turtle.turnRight()
  17.     turtle.dig()
  18.     turtle.turnLeft()
  19.     turtle.forward()
  20.     while (y<=0) do
  21.         turtle.dig()
  22.         turtle.turnRight()
  23.         turtle.dig()
  24.         turtle.turnLeft()
  25.         turtle.down()
  26.         y=y+1
  27.     end
  28.     y=0
  29.     turtle.dig()
  30.     turtle.turnRight()
  31.     turtle.dig()
  32.     turtle.turnLeft()
  33.     x=x+1
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement