Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Program:
- -- mine
- -- Original program by Direwolf20
- -- Modified by Kzorith
- -- Description:
- -- Operates the mining wells and MFFS caterpillar drive
- -- Hardware requirements:
- -- 1 Advanced Mining Turtle
- -- 1 Rednet cable
- -- print what we are doing
- print("Mining for 8 seconds")
- -- make sure the rednet cable is ready
- turtle.select(1)
- -- place it under the turtle
- turtle.placeDown()
- -- set a redstone signal to activate the tesseract
- -- (mine is white)
- rs.setBundledOutput("bottom",colors.white)
- -- wait 8 seconds for the mining operation to complete
- -- (I'm not pumping as much power into this as DW20 does)
- sleep(8)
- -- turn off all restone signals
- rs.setBundledOutput("bottom",0)
- -- print what we are doing
- print("Moving platform")
- -- wait 5 seconds
- sleep(5)
- -- set a redstone signal to activate the MFFS caterpillar drive
- -- (Move is orange)
- rs.setBundledOutput("bottom",colors.orange)
- -- make sure that the MFFS
- sleep(1)
- -- turn off all restone signals
- rs.setBundledOutput("bottom",0)
- -- break the rednet cable
- turtle.digDown()
- -- move the turtle forward
- turtle.forward()
- -- wait 4 seconds for the platform to catch up
- sleep(4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement