Mekanism Chemical Infuser Input Source ​
lua
telem.input.mekanism.chemicalInfuser (
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 Chemical Infuser | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage ​
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_chemicalInfuser', telem.input.mekanism.chemicalInfuser('right', '*'))
:cycleEvery(5)()
Given a Chemical Infuser 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 |
---|---|---|
mekcheminfuser:input_left_item_count | 0 - inf | item |
mekcheminfuser:input_left_filled_percentage | 0.0 - 1.0 | B |
mekcheminfuser:input_right_filled_percentage | 0.0 - inf | |
mekcheminfuser:input_right_item_count | 0 - inf | item |
mekcheminfuser:output_filled_percentage | 0.0 - inf | |
mekcheminfuser:output_item_count | 0 - inf | item |
mekcheminfuser:energy_usage | 0.0 - inf | FE/t |
mekcheminfuser:energy_filled_percentage | 0.0 - 1.0 |
Advanced ​
Name | Value | Unit |
---|---|---|
mekcheminfuser:comparator_level | 0 - 15 |
Input ​
Name | Value | Unit |
---|---|---|
mekcheminfuser:input_left | 0.0 - inf | B |
mekcheminfuser:input_left_capacity | 0.0 - inf | B |
mekcheminfuser:input_left_needed | 0.0 - inf | B |
mekcheminfuser:input_right | 0.0 - inf | B |
mekcheminfuser:input_right_capacity | 0.0 - inf | B |
mekcheminfuser:input_right_needed | 0.0 - inf | B |
Output ​
Name | Value | Unit |
---|---|---|
mekcheminfuser:output | 0.0 - inf | B |
mekcheminfuser:output_capacity | 0.0 - inf | B |
mekcheminfuser:output_needed | 0.0 - inf | B |
Energy ​
Name | Value | Unit |
---|---|---|
mekcheminfuser:energy | 0.0 - inf | FE |
mekcheminfuser:max_energy | 0.0 - inf | FE |
mekcheminfuser:energy_needed | 0.0 - inf | FE |