Guest User

Test

a guest
Sep 16th, 2019
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.write("Wie lang soll die Fläche sein?")
  2. local lol = read()
  3. while turtle.getFuelLevel() < lol*7 do
  4. local q = turtle.getFuelLevel()
  5. if turtle.getFuelLevel() < lol*7 then
  6. term.write("Fuel Level is at "..q.." But needs to be "..lol*7)
  7. term.write("Please put Fuel in 1st slot")
  8. os.sleep(5)
  9. turtle.refuel()
  10. end
  11.  
  12. term.write("Wie breit soll die Fläche sein?")
  13. local lob = read()
  14. while turtle.getFuelLevel() < lob*7 do
  15. local q = turtle.getFuelLevel()
  16. if turtle.getFuelLevel() < lob*7 then
  17. term.write("Fuel Level is at "..q.." But needs to be "..lob*7)
  18. term.write("Please put Fuel in 1st slot")
  19. os.sleep(5)
  20. turtle.refuel()
  21. end
  22.  
  23. end
  24. term.write("Baue eine "..lol.." lange und "..lob.." breite Fläche")
  25.  
  26. for b =1,lob do
  27.  
  28. for a = 1,lol do
  29. turtle.dig()
  30. turtle.placeDown()
  31. turtle.forward()
  32. end
  33.  
  34. for a = 1,1 do
  35. turtle.placeDown()
  36. turtle.turnRight()
  37. turtle.forward()
  38. turtle.turnRight()
  39. end
  40.  
  41. for a = 1,lol do
  42. turtle.dig()
  43. turtle.placeDown()
  44. turtle.forward()
  45. end
  46.  
  47. for a = 1,1 do
  48. turtle.placeDown()
  49. turtle.turnLeft()
  50. turtle.forward()
  51. turtle.turnLeft()
  52. end
  53.  
  54. end
  55. for c = 1,16 do
  56. turtle.select(c)
  57. end
  58. turtle.select(1)
RAW Paste Data