Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- height = 0
- turtle.select(1)
- term.clear()
- term.setCursoerPos(1,1)
- print("Ready to cap off shafts!")
- print()
- print()
- print("Please ensure building material is in Slot 1")
- print("Place torches in Slot 16")
- print()
- print("Press any key to continue")
- read("input")
- local function tMove(dist)
- for i=1,dist do
- while turtle.forward() == false do
- turtle.attack()
- turtle.dig()
- sleep(0.5)
- end
- end
- end
- --Main
- turtle.turnLeft()
- while turtle.detect() == true do
- while turtle.up() == false do
- turtle.digUp()
- turtle.attackUp()
- sleep(0.5)
- end
- height = height + 1
- end
- turtle.turnRight()
- for i=1,4 do
- tMove(6)
- turtle.turnLeft()
- tMove(6)
- turtle.placeDown()
- turtle.select(16)
- turtle.place()
- turtle.select(1)
- turtle.turnRight()
- turtle.turnRight()
- end
- for i=1,height do
- while turtle.down() == false do
- turtle.attackDown()
- turtle.digDown()
- sleep(0.5)
- end
- end
- turtle.turnRight()
- turtle.turnRight()
Advertisement
Add Comment
Please, Sign In to add comment