From 60550a883dcf7ff5bedb285c414c5b6b74c30e9e Mon Sep 17 00:00:00 2001 From: Olav Bakke Svendsen Date: Thu, 12 Oct 2023 08:12:49 +0200 Subject: [PATCH] Coloring --- steam/temporary-coal-feeder.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/steam/temporary-coal-feeder.lua b/steam/temporary-coal-feeder.lua index 306d813..80a64bf 100644 --- a/steam/temporary-coal-feeder.lua +++ b/steam/temporary-coal-feeder.lua @@ -80,7 +80,8 @@ local print_stats = function(monitor, stock) monitor.write(string.gsub(str, "^%s++%s*", "")) monitor.setCursorPos(1,12) monitor.write("refreshes once every minute") - + + monitor.setTextColor(1) coal_at_boot = coal_at_boot or total_coal minutes_passed = minutes_passed + 1 if minutes_passed < 0 then -- 2.30.2