Update 'Turtle/wheatDaemon.lua'
This commit is contained in:
parent
624073bade
commit
da932012e0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user