turtle.refuel
From ComputerCraft Wiki
Revision as of 14:57, 17 August 2012 by Cruor (Talk | contribs) (Added a "added by" to better support mod fuels)
Function turtle.refuel | |
Fills the turtle with fuel. | |
Syntax | turtle.refuel() |
Returns | boolean true if fuel, else false. |
Part of | ComputerCraft |
API | turtle |
Examples
Example | |
Fills the turtle with fuel | |
Code |
turtle.refuel() |
Output | Tries to consume the item, returns true if it is a fuel and false if not. |
Fuel Values
Fuel values for different items.
Item | Movement gained | Added by |
---|---|---|
Biofuel Can | 624 | IndustrialCraft |
Scrap | 21 | IndustrialCraft |
Coalfuel Can | 1824 | IndustrialCraft |
Peat | 96 | Forestry |
Wooden Tools | 12 | Vanilla |
Lava | 1200 | Vanilla |
Blaze Rod | 144 | Vanilla |
Wood Blocks | 18 | Vanilla |
Sticks | 6 | Vanilla |
Sugar Cane | 3 | Vanilla |
Coal | 96 | Vanilla |
Mushroom | 18 | Vanilla |