turtle.refuel
From ComputerCraft Wiki
Revision as of 15:41, 30 August 2012 by 84.210.103.226 (Talk)
| 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 |