Update 'Turtle/wheatDaemon.lua'
This commit is contained in:
1 parent
624073bade
commit
da932012e0
1 file changed
+4
@@ -27,6 +27,10 @@ function answer(message, id)
|
||||
elseif(message == "refuel") then
|
||||
wheat:refuel()
|
||||
rednet.send(id, "refueled", "confirm")
|
||||
elseif(message == "getLastHarvestDuration") then
|
||||
rednet.send(id, tostring(wheat.lastHarvestDuration))
|
||||
elseif(message == "getLastYield") then
|
||||
rednet.send(id, tostring(wheat.lastYield))
|
||||
end
|
||||
rednet.send(id, "could not resolve message", "error")
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user