Mekanism Sawing Factory Input Source
lua
telem.input.mekanism.sawingFactory (
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 Sawing 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_sawingFactory', telem.input.mekanism.sawingFactory('right', '*'))
:cycleEvery(5)()
Given a Sawing 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 |
---|---|---|
meksaw:input_count_sum | 0 - inf | item |
meksaw:output_count_sum | 0 - inf | item |
meksaw:output_secondary_count_sum | 0 - inf | item |
meksaw:energy_usage | 0.0 - inf | FE/t |
meksaw:energy_filled_percentage | 0.0 - 1.0 |
Advanced
Name | Value | Unit |
---|---|---|
meksaw:auto_sort | 0 or 1 | |
meksaw:comparator_level | 0 - 15 |
Energy
Name | Value | Unit |
---|---|---|
meksaw:energy | 0.0 - inf | FE |
meksaw:max_energy | 0.0 - inf | FE |
meksaw:energy_needed | 0.0 - inf | FE |
Recipe
Name | Value | Unit |
---|---|---|
meksaw:recipe_progress_N Indexed per process | 0 - inf | t |
meksaw:ticks_required | 0 - inf | t |