Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fuelcount = turtle.getItemCount(2) --64 charcoal in the slot
- function fuel()
- if fuelcount > 1 then
- if turtle.getFuelLevel() < 10 then
- turtle.select(2)
- turtle.refuel(1)
- end
- else
- update() --updates relevent info and prints it to the screen
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement