Difference between revisions of "Turtle.refuel"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=turtle.refuel |args= |api=turtle |returns=boolean whether the item is a fuel. |addon=ComputerCraft |desc=Fills the turtle with fuel. |exampl...")
 
Line 13: Line 13:
 
|output=true if the item is a fuel, false if not
 
|output=true if the item is a fuel, false if not
 
}}
 
}}
{{Fuel values
+
|Fuel Values=
 +
{{
 
Fuel values with IC2 items, if somebody could pretty this up.
 
Fuel values with IC2 items, if somebody could pretty this up.
  

Revision as of 14:14, 28 July 2012

{{Function |name=turtle.refuel |args= |api=turtle |returns=boolean whether the item is a fuel. |addon=ComputerCraft |desc=Fills the turtle with fuel. |examples=

Grid paper.png  Example
Fills the turtle.withFuel
Code
print(turtle.refuel())
Output true if the item is a fuel, false if not



|Fuel Values= {{ Fuel values with IC2 items, if somebody could pretty this up.

bioFuelCan yields: 624 Movement. scrap yields: 21 Movement. woodTools yields: 12 Movement. lava yields: 1200 Movement. blazeRod yields: 144 Movement. woodBlocks yields: 18 Movement. stick yields: 6 Movement. sugarCane yields: 3 Movement. coalFuelCan yields: 1824 Movement. coal yields: 96 Movement. mushroom yields: 18 Movement. }} --wip