Difference between revisions of "Turtle.refuel"

From ComputerCraft Wiki
Jump to: navigation, search
Line 14: Line 14:
 
}}
 
}}
 
|Fuel Values=
 
|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.
  
 
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.
 
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
+
}}
 +
--Work in progress, please fix my horrible wiki skills

Revision as of 14:16, 28 July 2012


Grid Redstone.png  Function turtle.refuel
Fills the turtle with fuel.
Syntax turtle.refuel()
Returns boolean whether the item is a fuel.
Part of ComputerCraft
API turtle

Examples

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


--Work in progress, please fix my horrible wiki skills