Make startfuel more robust
This commit is contained in:
parent
20caa43f8b
commit
b8a9ab5342
@ -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} }
|
||||
|
Loading…
Reference in New Issue
Block a user