Mekanism Logistical Sorter Input Source
lua
telem.input.mekanism.logisticalSorter (
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 Logistical Sorter | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua | ||
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_logisticalSorter', telem.input.mekanism.logisticalSorter('right', '*'))
:cycleEvery(5)()Given a Logistical Sorter 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 |
|---|---|---|
meklogsorter:comparator_level | 0 - 15 |