1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-19 17:57:39 +00:00

neural + copy file path

This commit is contained in:
kepler155c@gmail.com
2018-02-19 22:19:49 -05:00
parent 00461483e1
commit fc9981bff0
2 changed files with 9 additions and 2 deletions

View File

@@ -149,7 +149,9 @@ local function sendInfo()
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
info.status = 'health: ' ..
math.floor(device.neuralInterface.getMetaOwner().health /
device.neuralInterface.getMetaOwner().maxHealth * 100)
end
end
device.wireless_modem.transmit(999, os.getComputerID(), info)