.
This commit is contained in:
parent
a0d003ad10
commit
e38fe600f7
@ -931,6 +931,20 @@ local function updateDisplay()
|
|||||||
mon.write("Output (Power): ")
|
mon.write("Output (Power): ")
|
||||||
mon.setTextColor(colors.lime)
|
mon.setTextColor(colors.lime)
|
||||||
mon.write(formatNumber(outputFlow) .. " RF/t")
|
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
|
y = y + 2
|
||||||
|
|
||||||
-- Instructions
|
-- Instructions
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user