Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("persistence")
- persistence.store("currentFace",0)
- persistence.store("currentRadius",0)
- persistence.store("currentX",0)
- persistence.store("currentZ",0)
- persistence.store("digCount",0)
- term.clear()
- term.setCursorPos(1,1)
- print("Miner reset at starting position")
- print("Welcome to SpiralMine 1.0")
- print("What radius would you like to mine to: ")
- endRadius = io.read()
- persistence.store("endRadius",endRadius)
- print("SpiralMine is ready to mine an area of radius "..endRadius.." centered around the turtle.")
- print("Simply run the program 'spiral' to initiate the mine, or set spiral to run on startup for automatic reset")
- print("Please ensure that you have a refueling enderchest in slot(15) and an unloading enderchest in slot(16)")
- print("Happy mining!")
Advertisement
Add Comment
Please, Sign In to add comment