diff --git a/de_react_auto b/de_react_auto index dd66d95..70b21bb 100644 --- a/de_react_auto +++ b/de_react_auto @@ -931,6 +931,20 @@ local function updateDisplay() mon.write("Output (Power): ") mon.setTextColor(colors.lime) mon.write(formatNumber(outputFlow) .. " RF/t") + y = y + 1 + + -- Net power gain + local netPower = outputFlow - inputFlow + mon.setCursorPos(1, y) + mon.setTextColor(colors.white) + mon.write("Net Power: ") + if netPower >= 0 then + mon.setTextColor(colors.lime) + mon.write("+" .. formatNumber(netPower) .. " RF/t") + else + mon.setTextColor(colors.red) + mon.write(formatNumber(netPower) .. " RF/t") + end y = y + 2 -- Instructions