Refuel
From ComputerCraft Wiki
This page is a stub. Please help us by expanding it.
|
Refuel is a built in program for turtles that will make turtles search their inventory and use any fuels they find, up to the limit specified in the command. The limit specifies the number of fuel items to be consumed, not the total amount of fuel, so "refuel 2" could consume two lava buckets (2,000 fuel total), or two wooden shovels (20 fuel total), depending on which items it first comes across in the turtle's inventory.
Usage: refuel <amount>
Example | |
Uses up to 10 fuel items | |
Code |
refuel 10 |