Difference between revisions of "Refuel"
From ComputerCraft Wiki
(Adding usage note) |
|||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
Refuel is a [[Built In Turtle Programs|built in program for turtles]] that will make turtles search their inventory and use any [[fuel]]s 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. | Refuel is a [[Built In Turtle Programs|built in program for turtles]] that will make turtles search their inventory and use any [[fuel]]s 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:''' <tt>refuel <amount></tt> | ||
{{Example | {{Example |
Revision as of 15:16, 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.
Usage: refuel <amount>
Example | |
Uses up to 10 fuel items | |
Code |
refuel 10 |