Add startfuel debugg
This commit is contained in:
parent
9f60686676
commit
20caa43f8b
@ -491,7 +491,7 @@ end
|
||||
|
||||
function updateState(update)
|
||||
for k,v in pairs(update) do
|
||||
turtlestate[tostring(k)] = v
|
||||
turtlestate[k] = v
|
||||
end
|
||||
drawStatus()
|
||||
end
|
||||
@ -637,6 +637,8 @@ function doRefuel2()
|
||||
end
|
||||
end
|
||||
updateState({ startfuel = turtle.getFuelLevel() })
|
||||
print(turtlestate["startfuel"])
|
||||
sleep(4)
|
||||
end
|
||||
|
||||
slots = { {7,-6}, {7, -7}, {7, -8}, {7,-5}, {7,-4} }
|
||||
|
Loading…
Reference in New Issue
Block a user