ZNZNCOOP

FindUran

Jan 14th, 2015
194
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ServerID= 0
  2. rednet.open('right')
  3. function findUran()
  4.    turtle.select(16)
  5.    if (turtle.compare()) then
  6.       rednet.send(ServerID,'Find')
  7.       turtle.dig()
  8.    end
  9.    turtle.turnLeft()
  10.    if (turtle.compare()) then
  11.       rednet.send(ServerID,'Find')
  12.       turtle.dig()
  13.    end
  14.    turtle.turnLeft()
  15.    if (turtle.compare()) then
  16.       rednet.send(ServerID,'Find')
  17.       turtle.dig()
  18.    end
  19.    turtle.turnLeft()
  20.    if (turtle.compare()) then
  21.       rednet.send(ServerID,'Find')
  22.       turtle.dig()
  23.    end
  24.    turtle.turnLeft()
  25. end
  26. Level= 64
  27. while true do
  28.    findUran()
  29.    turtle.digDown()
  30.    Level= Level-1
  31.    turtle.down()
  32.    if (Level < 10) then
  33.       for i=Level,64 do
  34.          turtle.up()
  35.       end
  36.       turtle.dig()
  37.       turtle.forward()
  38.       turtle.dig()
  39.       turtle.forward()
  40.       turtle.dig()
  41.       turtle.forward()
  42.       Level= 64
  43.    end
  44. end
RAW Paste Data