diff --git a/sys/network/snmp.lua b/sys/network/snmp.lua index 77fdd15..af79aab 100644 --- a/sys/network/snmp.lua +++ b/sys/network/snmp.lua @@ -146,6 +146,12 @@ local function sendInfo() info.inventory = turtle.getInventory() info.slotIndex = turtle.getSelectedSlot() end + if device.neuralInterface then + info.status = device.neuralInterface.status + if not info.status and device.neuralInterface.getMetaOwner then + info.status = 'health: ' .. device.neuralInterface.getMetaOwner().health + end + end device.wireless_modem.transmit(999, os.getComputerID(), info) end end