Actions

Module

Temperature

From Unofficial Stationeers Wiki

Revision as of 16:37, 27 August 2025 by DLx (talk | contribs) (Created a temperature module for easy conversions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Temperature/doc

local p = {}
function p.main(frame)
  local k = tonumber(frame.args[1] or "0") or 0
  local c = k - 273.15
  return string.format("%g K (%.0f °C)", k, c)
end
return p