Program I wrote to monitor my Draconic Evolution Energy Core:
-- Original by Merung (October, 2018)
local component = require("component")
local term = require("term")
local gpu = component.gpu
-- Setup components
if not component.isAvailable("draconic_rf_storage") then
print("Draconic Energy Core not connected. Please connect computer to Energy Core with an Adapter")
os.exit()
end
storage = component.draconic_rf_storage
if not component.isAvailable("screen") then
print("How do you expect to view this?")
os.exit()
end
-- Set Resolution
res_x = 120
res_y = 25
gpu.setRe
@Palagius the current version (and you may have fixed it since) displays a decimal place in the output. I added a function to fix that, if you want to incorporate it:
function remove_dec(num)
return string.format("%.0f", num)
end