From dcb75ee52c399e81e7c925840b566cf6721e998e Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sun, 15 Jun 2025 15:55:25 -0400 Subject: [PATCH] updated --- environment_main.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/environment_main.lua b/environment_main.lua index 489e3fe..9b71f72 100644 --- a/environment_main.lua +++ b/environment_main.lua @@ -5,8 +5,9 @@ environment = peripheral.wrap("left") local function runMonitor() while true do - local rads = environment.getRadiationRaw() - print("Radiation Level: " .. rads) + local rads = environment.getRadiation(); + print("Radiation Level: " .. rads.radiation) + print("Radiation Unit: " .. rads.unit) sleep(1) end end