turtle.getFuelLimit
From ComputerCraft
Jump to navigation
Jump to search
turtle.getFuelLimit Function | |
---|---|
Syntax turtle.getFuelLimit() | |
Returns | number fuel |
API | turtle |
Source | CC:Tweaked |
Returns a number representing the maximum amount of fuel (block moves) the turtle can possibly hold.
|
|||
Get the maximum amount of fuel the current turtle can have | |||
Code | print("I can hold ", turtle.getFuelLimit(), "fuel!")
|
||
Output | I can hold 100000 fuel!
|