SHARE
TWEET

Quarry

a guest Oct 21st, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function setzen()
  2.  
  3.   turtle.digDown()
  4.   turtle.down()
  5.   turtle.digDown()
  6.  
  7.  
  8.   turtle.select(2)
  9.   turtle.placeDown()
  10.  
  11.   turtle.up()
  12.   turtle.select(1)
  13.   turtle.placeDown()
  14.  
  15.   turtle.turnLeft()
  16.  
  17. end
  18.  
  19. function los(i)
  20.  
  21.     while i > 0 do
  22.       if turtle.detect() == true then
  23.         turtle.dig()
  24.         turtle.forward()
  25.       else
  26.         turtle.forward()
  27.       end
  28.     i = i - 1
  29.     term.clear()
  30.     term.setCursorPos(1,1)
  31.     end
  32.  
  33. end
  34.  
  35.  
  36.  
  37.  
  38. print("in den ersten Slot mind. 4 EnderMarker")
  39. print("in den zweiten Slot Cobblestone")
  40. print("BlockAnzahl pro laenge eingeben")
  41. local input = tonumber(read())
  42.  
  43. los(input)
  44. setzen()
  45. los(input)
  46. setzen()
  47. los(input)
  48. setzen()
  49. los(input)
  50. setzen()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top