SHARE
TWEET

Build

WOLFIII Sep 16th, 2019 (edited) 90 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. end
  12.  
  13. term.write("Wie breit soll die Fläche sein?")
  14. local lob = read()
  15. while turtle.getFuelLevel() < lob*7 do
  16.  local q = turtle.getFuelLevel()
  17.   if turtle.getFuelLevel() < lob*7 then
  18.    term.write("Fuel Level is at "..q.." But needs to be "..lob*7)
  19.    term.write("Please put Fuel in 1st slot")
  20.    os.sleep(5)
  21.    turtle.refuel()
  22.   end
  23. end
  24.    term.write("Baue eine "..lol.." lange und "..lob.." breite Fläche")
  25.  
  26. local sslot = 1
  27. turtle.select(sslot)
  28. sslot = (sslot%16)+1
  29. turtle.select(sslot)
  30. turtle.getItemCount(sslot)
  31.  
  32. for b =1,lob/2 do
  33.  
  34.    for a = 1,lol do
  35.       turtle.dig()
  36.       turtle.digDown()
  37.       turtle.placeDown()
  38.       turtle.forward()
  39. while turtle.getItemCount(sslot) < 1 do
  40.   sslot = (sslot%16)+1
  41. end
  42. turtle.select(sslot)
  43.      end
  44.  
  45.    for a = 1,1 do
  46.       turtle.digDown()
  47.       turtle.placeDown()
  48.       turtle.turnRight()
  49.       turtle.forward()
  50.       turtle.turnRight()
  51.      end
  52.  
  53.    for a = 1,lol do
  54.       turtle.dig()
  55.       turtle.digDown()
  56.       turtle.placeDown()
  57.       turtle.forward()
  58. while turtle.getItemCount(sslot) < 1 do
  59.   sslot = (sslot%16)+1
  60. end
  61. turtle.select(sslot)
  62.      end
  63.  
  64.    for a = 1,1 do
  65.       turtle.digDown()
  66.       turtle.placeDown()
  67.       turtle.turnLeft()
  68.       turtle.forward()
  69.       turtle.turnLeft()
  70.      end
  71.  
  72. end
  73.    for c = 1,16 do
  74.     turtle.select(c)
  75.    end
  76.  turtle.select(1)
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