Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Reihe()
- for p=1,7,1 do
- turtle.digUp()
- turtle.forward()
- turtle.forward()
- end
- turtle.digUp()
- turtle.forward()
- end
- function Fuel()
- for o=1,16,1 do
- turtle.select(o)
- turtle.refuel()
- end
- while turtle.getFuelLevel()<(200) do
- f=300-turtle.getFuelLevel()
- print(" ")
- print("--------------------------------")
- print("Need more Fuel in Slot 1/12!")
- print(f)
- print("--------------------------------")
- sleep(10)
- for o=1,16,1 do
- turtle.select(o)
- turtle.refuel()
- end
- end
- end
- Fuel()
- turtle.select(1)
- if turtle.detectDown()==true then
- for i=1,3,1 do
- Reihe()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- Reihe()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.turnLeft()
- end
- Reihe()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- Reihe()
- turtle.turnRight()
- for r=1,14,1 do
- turtle.forward()
- end
- turtle.turnRight()
- else
- print("--------------------------------")
- print("No surface bolow detected!")
- print("Do you want to build now?")
- print("Type -Decke-")
- print("--------------------------------")
- end
- shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement