Posted 04 August 2012 - 06:18 AM
computercraft 1.41, minecraft 1.25
turtle.getFuelLevel() returns an error for almost any program.
————————————–
baked-in programs like
/rom/programs/turtle/go
do work correctly.
However,
If I copy go to /
and try to run it
then the go copy fails as well.
example:
—————————
#> edit test
if turtle.getFuelLevel() < 10 then
print("low fuel")
end
#> test
test:1: attempt to index ? (a nil value)
turtle.getFuelLevel() returns an error for almost any program.
————————————–
baked-in programs like
/rom/programs/turtle/go
do work correctly.
However,
If I copy go to /
and try to run it
then the go copy fails as well.
example:
—————————
#> edit test
if turtle.getFuelLevel() < 10 then
print("low fuel")
end
#> test
test:1: attempt to index ? (a nil value)