Mekanism Resistive Heater Input Source
lua
telem.input.mekanism.resistiveHeater (
peripheralID: string,
categories?: string[] | '*'
)Mod Dependencies
Requires Mekanism.
See the Usage section for a complete list of the metrics in each category.
| Name | Type | Default |
|---|---|---|
peripheralID | string | nil |
| Peripheral ID of the Resistive Heater | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua | ||
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_resistiveHeater', telem.input.mekanism.resistiveHeater('right', '*'))
:cycleEvery(5)()Given a Resistive Heater peripheral on the right side of the computer, this appends the following metrics to the backplane (grouped by category here for clarity):
Basic
| Name | Value | Unit |
|---|---|---|
mekresheater:energy_filled_percentage | 0.0 - 1.0 | |
mekresheater:energy_usage_target | 0.0 - inf | FE/t |
mekresheater:energy_usageMekanism 10.3+ | 0.0 - inf | FE/t |
mekresheater:temperature | 0.0 - inf | K |
Advanced
| Name | Value | Unit |
|---|---|---|
mekresheater:environmental_loss | 0.0 - 1.0 |
Energy
| Name | Value | Unit |
|---|---|---|
mekresheater:energy | 0.0 - inf | FE |
mekresheater:max_energy | 0.0 - inf | FE |
mekresheater:energy_needed | 0.0 - inf | FE |