Advertisement
Commandcracker

lava

Jan 29th, 2021 (edited)
210
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if turtle then
  2.     local limit = turtle.getFuelLimit()
  3.     local x,y = term.getCursorPos()
  4.     while true do
  5.         fuel = turtle.getFuelLevel()
  6.         term.setCursorPos(x,y)
  7.         print(fuel..'/'..limit)
  8.         if limit == fuel then
  9.             break
  10.         end
  11.         turtle.refuel()
  12.         turtle.place()
  13.         turtle.refuel()
  14.        
  15.     end
  16. else
  17.     print("Only for Turtles!")
  18. end
Advertisement
RAW Paste Data Copied
Advertisement