From d1c5074c37bf7ae36255d5578943a8e63155ee8a Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 15:23:31 -0400 Subject: [PATCH] updated --- main.lua | 2 +- turbine_driver.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.lua b/main.lua index 16fc735..1f4c342 100644 --- a/main.lua +++ b/main.lua @@ -25,7 +25,7 @@ end local function runDisplay() monitor.clear() - monitor.setTextScale(0.75) + monitor.setTextScale(0.90) while true do if(isWarningState or isCriticalState or isShutdownState) then monitor.setBackgroundColor(colors.red) diff --git a/turbine_driver.lua b/turbine_driver.lua index 46c57dc..da5f48c 100644 --- a/turbine_driver.lua +++ b/turbine_driver.lua @@ -14,7 +14,8 @@ end local function report() local color = color() monitor.setBackgroundColor(color) + value = getValue() monitor.clearLine() - monitor.write("Turbine Steam Filled: " .. getValue() .. "%") + monitor.write("Turbine Steam Filled: " .. value .. "%") end return { report = report, watch = watch } \ No newline at end of file