Mekanism Compressing Factory Input Source
lua
telem.input.mekanism.compressingFactory (
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 Compressing 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_compressingFactory', telem.input.mekanism.compressingFactory('right', '*'))
:cycleEvery(5)()Given a Compressing 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 |
|---|---|---|
mekcompress:chemical_item_count | 0 - inf | item |
mekcompress:chemical_filled_percentage | 0.0 - 1.0 | |
mekcompress:input_count_sum | 0 - inf | item |
mekcompress:output_count_sum | 0 - inf | item |
mekcompress:energy_usage | 0.0 - inf | FE/t |
mekcompress:energy_filled_percentage | 0.0 - 1.0 |
Advanced
| Name | Value | Unit |
|---|---|---|
mekcompress:auto_sort | 0 or 1 | |
mekcompress:comparator_level | 0 - 15 |
Input
| Name | Value | Unit |
|---|---|---|
mekcompress:chemical | 0.0 - inf | B |
mekcompress:chemical_capacity | 0.0 - inf | B |
mekcompress:chemical_needed | 0.0 - inf | B |
Energy
| Name | Value | Unit |
|---|---|---|
mekcompress:energy | 0.0 - inf | FE |
mekcompress:max_energy | 0.0 - inf | FE |
mekcompress:energy_needed | 0.0 - inf | FE |
Recipe
| Name | Value | Unit |
|---|---|---|
mekcompress:recipe_progress_NIndexed per process | 0 - inf | t |
mekcompress:ticks_required | 0 - inf | t |