Unbox101

BotaniaEndoflameCoalDump

Jul 18th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. EndoflameCount = 13
  2.  
  3. function attemptRefuel()
  4.     if turtle.getFuelLevel() < 1000 then
  5.         turtle.refuel(1)
  6.         print("Refueled")
  7.     end
  8. end
  9. while true do
  10.     if turtle.getItemCount() > EndoflameCount then
  11.         attemptRefuel()
  12.         turtle.dropDown(EndoflameCount)
  13.         sleep(420)
  14.     else
  15.         print("Out Of Fuel! (Blocks Of Coal)")
  16.         sleep(2)
  17.     end
  18. end
Add Comment
Please, Sign In to add comment