mirror of
https://github.com/kepler155c/opus
synced 2025-01-11 16:20:26 +00:00
neural support
This commit is contained in:
parent
25a917a220
commit
00461483e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user