Update 'controller/Controller.lua'

added automatic refuel
This commit is contained in:
manuel committed 2023-01-10 20:22:40 +00:00
1 parent 9ec4ba1e93
commit ddf13c76e4
1 file changed
+3
+3
View File
@@ -100,6 +100,9 @@ function Controller:autoWood()
self:updateDisplay(4)
self:doAction(self.slaveID, "plantTree")
end
if self.turtleFuelLevel < 1000 then
self:doAction(self.slaveID, "refuel")
end
end
end