From 5f4c5368b7eb60fe39c43e2632ba8d84b9146aef Mon Sep 17 00:00:00 2001 From: Emma Lysne Date: Sat, 8 Feb 2025 02:45:59 -0800 Subject: [PATCH 1/2] Change kW -> mW conversion threshold from 1000 to 10000 --- nuclearesrpc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuclearesrpc.py b/nuclearesrpc.py index 83e0da4..0ba1912 100644 --- a/nuclearesrpc.py +++ b/nuclearesrpc.py @@ -123,9 +123,9 @@ def find_nucleares() -> psutil.Process | None: else: details = f"Reactor Online: {round(dvars['CORE_TEMP'])}\u00B0C" pwr = round(dvars["GENERATOR_0_KW"] + dvars["GENERATOR_1_KW"] + dvars["GENERATOR_2_KW"]) - if 0 < pwr < 1000: + if 0 < pwr < 10000: status = f"Producing {pwr} kW" - elif pwr > 1000: + elif pwr > 10000: status = f"Producing {round(pwr/1000)} mW" else: status = "Generator Offline" From adea3f5e3634180ce0f227c95332482918914baf Mon Sep 17 00:00:00 2001 From: Emma Lysne Date: Sat, 8 Feb 2025 03:16:51 -0800 Subject: [PATCH 2/2] Change conversion thresholds and add release builder --- .github/workflows/release.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e69de29