Difference between revisions of "Turtle.refuel"
From ComputerCraft Wiki
(Added a "added by" to better support mod fuels) |
|||
| Line 67: | Line 67: | ||
| Vanilla | | Vanilla | ||
|- | |- | ||
| − | | Mushroom | + | | Mushroom Blocks |
| 18 | | 18 | ||
| Vanilla | | Vanilla | ||
|} | |} | ||
Revision as of 15:41, 30 August 2012
| Fills the turtle with fuel. | |
| Syntax | turtle.refuel() |
| Returns | boolean true if fuel, else false. |
| Part of | ComputerCraft |
| API | turtle |
Examples
| 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 Blocks | 18 | Vanilla |