turtle.refuel

From ComputerCraft Wiki
Revision as of 14:13, 28 July 2012 by 37.148.147.161 (Talk) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{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