Make startfuel more robust

This commit is contained in:
Dominic Zimmer 2020-07-10 23:52:53 +02:00
parent 20caa43f8b
commit b8a9ab5342

View File

@ -1,6 +1,7 @@
args = {...}
x, z, direction = 0, 0, 0
turtlestate = {
startfuel = 0,
name = os.getComputerLabel(),
id = os.getComputerID(),
fuel = "",
@ -637,8 +638,7 @@ function doRefuel2()
end
end
updateState({ startfuel = turtle.getFuelLevel() })
print(turtlestate["startfuel"])
sleep(4)
--print(turtlestate["startfuel"])
end
slots = { {7,-6}, {7, -7}, {7, -8}, {7,-5}, {7,-4} }