Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- a = args[1]-1
- function Item()
- turtle.digUp()
- turtle.select(1)
- turtle.placeUp()
- for i=2,16,1 do
- turtle.select(i)
- turtle.dropUp()
- end
- turtle.select(1)
- end
- --Startcheck: Chests und Fuel
- function Start()
- for o=2,16,1 do
- turtle.select(o)
- turtle.refuel()
- end
- while turtle.getFuelLevel()<(20*a+500) do
- f=(20*a+500)-turtle.getFuelLevel()
- print(" ")
- print("--------------------------------")
- print("Need more Fuel in Slot 2/16!")
- print(f)
- print("--------------------------------")
- sleep(10)
- for o=2,16,1 do
- turtle.select(o)
- turtle.refuel()
- end
- end
- while turtle.getItemSpace(1)>56 do
- f=turtle.getItemSpace(1)-56
- print(" ")
- print("--------------------------------")
- print("Need more Chests in Slot 1!")
- print(f)
- print("--------------------------------")
- sleep(10)
- end
- turtle.select(1)
- print(" ")
- print("--------------------------------")
- print("Starting Quarry!")
- print("--------------------------------")
- end
- function Weiter()
- turtle.dig()
- turtle.forward()
- turtle.dig()
- turtle.forward()
- end
- function L()
- for t=1,8,1 do
- turtle.digDown()
- turtle.turnRight()
- turtle.dig()
- turtle.turnLeft()
- turtle.dig()
- while turtle.down()==true do
- turtle.digDown()
- turtle.dig()
- turtle.turnRight()
- turtle.dig()
- turtle.down()
- turtle.digDown()
- turtle.dig()
- turtle.turnLeft()
- turtle.dig()
- end
- for u=1,a,1 do
- turtle.digUp()
- turtle.up()
- end
- Item()
- if t<8 then
- Weiter()
- end
- end
- end
- --Aktion
- Start()
- L()
- turtle.forward()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement