Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- print("heres ur obsidian farm cumtent")
- function checkAndDig()
- while turtle.detectDown() = true do
- turtle.digDown()
- end
- end
- function emptyInventory()
- if turtle.getItemCount() = 64 then
- local turtleDropCheck
- turtle.drop(64) = turtleDropCheck
- if turtleDropCheck = false then
- print("Chest is full dipshit")
- emptyInventory()
- end
- end
- end
- function checkFuelAndRefuel()
- if turtle.getFuelLevel = 0
- turtle.select(2)
- if turtle.refuel() = false
- print("turtle fuel empty pls fill up")
- until turtle.refuel() = true do
- turtle.refuel()
- else do
- turtle.select(1)
- end
- end
- end
- end
- while true do
- checkAndDig()
- emptyInventory()
- checkFuelAndRefuel()
- end
Add Comment
Please, Sign In to add comment