Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Advanced Rabbit Miner ]]--
- TIRACM = WFAC
- --[[ Functions ]]--
- function shouldRefuel()
- if turtle.getFuelLevel() < 64 then
- print("Refueling, Please Wait a Minute...")
- sleep(2)
- turtle.refuel( 10 )
- print("Turtle Refueled!")
- sleep(1)
- TIRACM = true
- end
- function storeItems()
- turtle.select(1)
- turtle.dropUp()
- turtle.select(2)
- turtle.dropUp()
- turtle.select(3)
- turtle.dropUp()
- turtle.select(4)
- turtle.dropUp()
- turtle.select(5)
- turtle.dropUp()
- turtle.select(6)
- turtle.dropUp()
- turtle.select(7)
- turtle.dropUp()
- turtle.select(8)
- turtle.dropUp()
- turtle.select(9)
- turtle.dropUp()
- turtle.select(10)
- turtle.dropUp()
- turtle.select(11)
- turtle.dropUp()
- turtle.select(12)
- turtle.dropUp()
- turtle.select(13)
- turtle.dropUp()
- turtle.select(14)
- turtle.dropUp()
- turtle.select(15)
- end
- function goUp()
- if TIRACM = false then
- print("Going Up!")
- shouldRefuel()
- while TIRACM = false do
- turtle.up()
- if TIRACM = WFAC then
- print("Im Back!")
- print("Storing Items In The Chest!")
- sleep(2)
- storeItems()
- end
- function checkTIRACM(false) -- When The Turtle Hits Bedrock, This Will Be Executed
- if turtle.down() == false then
- TIRACM = false
- end
- function checkTIRACM(WFAC) -- When The Turtle Hit's The Chest This Will Be Executed
- if turtle.up() == false then
- TIRACM = WFAC
- end
- function goDown()
- shouldRefuel()
- print("Going Down!")
- while TIRACM = true do
- turtle.digDown()
- turtle.Down()
- end
- end
- end
- end
- --[[ Code ]]--
- N = "Side-Kick"
- V = "1.0"
- print(N)
- print(V)
- print("---------------------")
- print("Want Me To Go Mining?")
- write("(y/n): ")
- input = read()
- if input == "y" or then
- shouldRefuel()
- elseif input == "n" then
- os.shutdown()
- else
- print("Sorry I Dont Understand Your Command.")
- print("Try: y or n (Its Case Sensitve!)")
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement