diff --git a/Turtle/wheatDaemon.lua b/Turtle/wheatDaemon.lua index 2ec87ac..7d95d97 100644 --- a/Turtle/wheatDaemon.lua +++ b/Turtle/wheatDaemon.lua @@ -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