refactor: consolidate temperature reporting into temperature_driver and remove temperature_monitor

This commit is contained in:
2025-06-14 12:47:30 -04:00
parent dc85446d47
commit cd5815b77c
3 changed files with 12 additions and 3 deletions

10
coolant_driver.lua Normal file
View File

@@ -0,0 +1,10 @@
local function report()
local reactor = peripheral.find("fissionReactorLogicAdapter")
if reactor then
return reactor.getTemperature()
else
return "No reactor found"
end
end
return { report = report }