Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Check()
- while (turtle.getItemSpace(13)+turtle.getItemSpace(14)+turtle.getItemSpace(15)+turtle.getItemSpace(16))>0 do
- f=(turtle.getItemSpace(13)+turtle.getItemSpace(14)+turtle.getItemSpace(15)+turtle.getItemSpace(16))
- print(" ")
- print("--------------------------------")
- print("Need more Bricks in Slots 13/16!")
- print(f)
- print("--------------------------------")
- sleep(10)
- end
- for o=1,12,1 do
- turtle.select(o)
- turtle.refuel()
- end
- while turtle.getFuelLevel()<(300) do
- f=300-turtle.getFuelLevel()
- print(" ")
- print("--------------------------------")
- print("Need more Fuel in Slot 1/12!")
- print(f)
- print("--------------------------------")
- sleep(10)
- for o=1,12,1 do
- turtle.select(o)
- turtle.refuel()
- end
- end
- end
- function D()
- for d=13,15,1 do
- turtle.select(d)
- for c=1,2,1 do
- turtle.turnRight()
- turtle.placeDown()
- for r=1,15,1 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.placeDown()
- for r=1,15,1 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnRight()
- turtle.forward()
- end
- end
- turtle.select(16)
- turtle.turnRight()
- turtle.placeDown()
- for r=1,15,1 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.placeDown()
- for r=1,15,1 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- turtle.placeDown()
- for r=1,15,1 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.placeDown()
- for r=1,15,1 do
- turtle.forward()
- turtle.placeDown()
- end
- turtle.turnLeft()
- for r=1,15,1 do
- turtle.forward()
- end
- turtle.turnLeft()
- turtle.turnLeft()
- print(" ")
- print("--------------------------------")
- print("Clear Chests? Type -Chest-")
- print("--------------------------------")
- end
- --Aktion
- if turtle.detectDown()==false then
- Check()
- D()
- else
- print(" ")
- print("--------------------------------")
- print("The surface already exist!")
- print("--------------------------------")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement