SHARE
TWEET

refuel

a guest Dec 23rd, 2012 27 Never
  1. function fuel()
  2. print ("refueling...")
  3. turtle.refuel(1)
  4. print("Current Fuel Level:" .. " " .. turtle.getFuelLevel())
  5. end
  6.  
  7. while turtle.getFuelLevel() < 1700 do
  8. fuel()
  9. end
RAW Paste Data
Top