Posted 28 October 2012 - 01:48 AM
If I was to make some mfsu's close to my reactors, is there a way to display the amount of power being stored in a total amount of all the mfsu's being used on a 3x5 monitor?
Yes, you can use ccSensors.
function GetPowerStorage()
-- Get sensor details
mf_targets = sensors.getAvailableTargetsforProbe(m_sensor_side, m_sensor_name, "EUStorage");
mf_value = sensors.getSensorReadingAsDict(m_sensor_side, m_sensor_name, mf_targets[1], "EUStorage");
-- Assign Values
m_max_storage = mf_value.maxStorage;
m_curr_storage = mf_value.energy;
m_tier = mf_value.tier;
end