Difference between revisions of "Refuel"
From ComputerCraft Wiki
(Created page with "{{Stub|Needs more info about the program itself, perhaps listing the code?}} Refuel is a built in program for turtles that will make turtles searc...") |
(→See also) |
||
Line 9: | Line 9: | ||
== See also == | == See also == | ||
+ | * [[CraftOS Shell]] | ||
* [[turtle.refuel]] | * [[turtle.refuel]] | ||
* [[turtle.getFuelLevel]] | * [[turtle.getFuelLevel]] |
Revision as of 14:34, 29 August 2014
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.
Example | |
Uses up to 10 fuel items | |
Code |
refuel 10 |