turtle.getFuelLimit
From ComputerCraft Wiki
Function turtle.getFuelLimit | |
Added by version 1.6 of ComputerCraft, this command returns the maximum amount of fuel a turtle may store. By default, a regular turtle may hold 20,000 units, and an advanced model 100,000 units; both values can be changed in ComputerCraft.cfg. In builds prior to 1.6, turtles may store practically unlimited amounts of fuel. | |
Syntax | turtle.getFuelLimit() |
Returns | "unlimited" if fuel is disabled, otherwise the maximum fuel level. |
Part of | ComputerCraft |
API | turtle |