Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1, 3 Landmarks
- -- 2, Quarry
- -- 3, Energy Tesseract
- -- 4, Dump Enderchest
- -- 5, Fuel Enderchest
- function reFuel()
- turtle.select(16)
- turtle.digDown()
- turtle.dropUp()
- turtle.select(5)
- turtle.placeDown()
- turtle.select(15)
- turtle.suckDown()
- turtle.refuel(64)
- turtle.select(5)
- turtle.digDown()
- end
- function mFor()
- turtle.detect()
- if turtle.detect() == true then
- turtle.select(16)
- turtle.dig()
- turtle.dropUp()
- turtle.select(1)
- end
- turtle.forward()
- end
- function quarryPlace()
- turtle.select(3)
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.place()
- turtle.digUp()
- turtle.select(4)
- turtle.placeUp()
- turtle.turnRight()
- turtle.back()
- turtle.select(2)
- turtle.place()
- end
- function forBack()
- local dis = 0
- turtle.select(16)
- turtle.digDown()
- turtle.placeUp()
- turtle.select(5)
- turtle.placeDown()
- turtle.select(1)
- while dis < 63 do
- mFor()
- dis = dis + 1
- end
- turtle.select(1)
- turtle.place()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(5)
- turtle.compareDown()
- while turtle.compareDown() == false do
- mFor()
- end
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.select(5)
- turtle.digDown()
- turtle.select(1)
- end
- function quarryBreak()
- turtle.select(2)
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(3)
- turtle.dig()
- turtle.select(4)
- turtle.digUp()
- turtle.turnLeft()
- turtle.back()
- end
- -- Actual Running Program
- reFuel()
- turtle.select(1)
- forBack()
- mFor()
- turtle.turnLeft()
- mFor()
- turtle.turnLeft()
- turtle.turnLeft()
- forBack()
- turtle.forward()
- turtle.turnLeft()
- turtle.back()
- turtle.place()
- turtle.attack()
- quarryPlace()
- print("done")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement