Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function downLayer()
- turtle.digDown()
- turtle.down()
- end
- function turnLeft()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- end
- function turnRight()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- end
- function x()
- for i = 1, 15, 1 do
- turtle.dig()
- turtle.forward()
- end
- turnLeft()
- end
- function zEnd()
- for i = 1, 15, 1 do
- turtle.dig()
- turtle.forward()
- end
- end
- function chunk12()
- for i = 1, 8, 1 do
- x()
- z()
- end
- deposit()
- end
- function chunk3()
- for i = 1, 7, 1 do
- x()
- z()
- end
- x()
- zEnd()
- deposit()
- end
- function z()
- for i = 1, 15, 1 do
- turtle.dig()
- turtle.forward()
- end
- turnRight()
- end
- function layer()
- chunk12()
- chunk12()
- chunk3()
- end
- function sleep()
- for i = 1, 4, 1 do
- turtle.turnLeft()
- end
- end
- function deposit()
- turtle.digUp()
- turtle.placeUp()
- s = 2
- for i = 1, 13, 1 do
- s = s + 1
- turtle.select(s)
- turtle.dropUp()
- end
- turtle.select(1)
- turtle.digUp()
- end
- function lavaFuel()
- turtle.select(2)
- turtle.placeUp()
- turtle.select(3)
- turtle.suckUp()
- turtle.refuel()
- turtle.dropUp()
- sleep()
- turtle.suckUp()
- turtle.refuel()
- turtle.dropUp()
- turtle.select(2)
- turtle.digUp()
- turtle.select(1)
- end
- function startPosition()
- turtle.turnLeft()
- for i = 1, 47, 1 do
- turtle.forward()
- end
- turtle.turnLeft()
- end
- function chunk(y)
- for i = 1, y - 5, 1 do
- lavaFuel()
- downLayer()
- layer()
- startPosition()
- end
- end
- write("What is your Y level?")
- local y = read()
- print("Removing Chunk ...")
- chunk(y)
Advertisement
Add Comment
Please, Sign In to add comment