This is a turtle program that does the same what the tunnel program does plus gps tracker and auto fuel. It's still in alpha so it's very buggy.
Turtle program: pastebin get WDHvTA7S miner
Computer program: pastebin get 678FS2UC tracker
1
[Alpha] Auto Miner With Gps Tracker
Started by theeboris, Jul 24 2013 01:03 PM
5 replies to this topic
#1
Posted 24 July 2013 - 01:03 PM
#2
#3
#4
Posted 20 October 2013 - 10:21 PM
My checkFuel() function, for reference:
function checkFuel() if turtle.getFuelLevel() <= 50 then turtle.select(16) --# you can change the fuel slot to whatever you want, I always use slot 16 turtle.refuel(1) end end
#5
Posted 21 October 2013 - 01:44 AM
awsmazinggenius, on 20 October 2013 - 10:21 PM, said:
My checkFuel() function, for reference:
function checkFuel() if turtle.getFuelLevel() <= 50 then turtle.select(16) --# you can change the fuel slot to whatever you want, I always use slot 16 turtle.refuel(1) end end
#6
Posted 26 October 2013 - 11:25 AM
I generally don't need it to be fancy, right after I move I call checkFuel() and it does the job. You could return true or false:
function checkFuel(a, s) if turtle.getFuelLevel() <= 50 then turtle.select(s) turtle.refuel(a) return true else return false end end
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users