Mekanism Heat Generator Input Source ​
lua
telem.input.mekanism.heatGenerator (
peripheralID: string,
categories?: string[] | '*'
)
Mod Dependencies
Requires Mekanism and Mekanism Generators.
See the Usage section for a complete list of the metrics in each category.
Name | Type | Default |
---|---|---|
peripheralID | string | nil |
Peripheral ID of the Heat Generator | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage ​
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_heatGenerator', telem.input.mekanism.heatGenerator('right', '*'))
:cycleEvery(5)()
Given a Heat Generator 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 |
---|---|---|
mekheatgen:fuel_item_count | 0 - inf | item |
mekheatgen:lava_filled_percentage | 0.0 - 1.0 | |
mekheatgen:temperature | 0.0 - inf | K |
mekheatgen:energy_filled_percentage | 0.0 - 1.0 | |
mekheatgen:production_rate | 0.0 - inf | FE/t |
Advanced ​
Name | Value | Unit |
---|---|---|
mekheatgen:transfer_loss | 0.0 - inf | |
mekheatgen:environmental_loss | 0.0 - inf | |
mekheatgen:comparator_level | 0 - 15 |
Fuel ​
Name | Value | Unit |
---|---|---|
mekheatgen:lava | 0.0 - inf | B |
mekheatgen:lava_capacity | 0.0 - inf | B |
mekheatgen:lava_needed | 0.0 - inf | B |
Energy ​
Name | Value | Unit |
---|---|---|
mekheatgen:energy | 0.0 - inf | FE |
mekheatgen:max_energy | 0.0 - inf | FE |
mekheatgen:energy_needed | 0.0 - inf | FE |
mekheatgen:max_energy_output | 0.0 - inf | FE/t |