Mekanism Infusing Factory Input Source
lua
telem.input.mekanism.infusingFactory (
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 Infusing Factory | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_infusingFactory', telem.input.mekanism.infusingFactory('right', '*'))
:cycleEvery(5)()
Given a Infusing Factory 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 |
---|---|---|
mekmetalinfuse:input_count_sum | 0 - inf | item |
mekmetalinfuse:infuse_item_count | 0 - inf | item |
mekmetalinfuse:infuse_filled_percentage | 0.0 - 1.0 | |
mekmetalinfuse:output_count_sum | 0 - inf | item |
mekmetalinfuse:energy_usage | 0.0 - inf | FE/t |
mekmetalinfuse:energy_filled_percentage | 0.0 - 1.0 |
Advanced
Name | Value | Unit |
---|---|---|
mekmetalinfuse:auto_sort | 0 or 1 | |
mekmetalinfuse:comparator_level | 0 - 15 |
Input
Name | Value | Unit |
---|---|---|
mekmetalinfuse:infuse | 0.0 - inf | B |
mekmetalinfuse:infuse_capacity | 0.0 - inf | B |
mekmetalinfuse:infuse_needed | 0.0 - inf | B |
Energy
Name | Value | Unit |
---|---|---|
mekmetalinfuse:energy | 0.0 - inf | FE |
mekmetalinfuse:max_energy | 0.0 - inf | FE |
mekmetalinfuse:energy_needed | 0.0 - inf | FE |
Recipe
Name | Value | Unit |
---|---|---|
mekmetalinfuse:recipe_progress_N Indexed per process | 0 - inf | t |
mekmetalinfuse:ticks_required | 0 - inf | t |