Mekanism Supercritical Phase Shifter Input Source
lua
telem.input.mekanism.sps (
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 Supercritical Phase Shifter | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_sps', telem.input.mekanism.sps('right', '*'))
:cycleEvery(5)()
Given a Supercritical Phase Shifter 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 |
---|---|---|
meksps:input_filled_percentage | 0.0 - 1.0 | |
meksps:output_filled_percentage | 0.0 - 1.0 | |
meksps:process_rate | 0.0 - inf | B/t |
meksps:energy_filled_percentage | 0.0 - 1.0 |
Input
Name | Value | Unit |
---|---|---|
meksps:input | 0.0 - inf | B |
meksps:input_capacity | 0.0 - inf | B |
meksps:input_needed | 0.0 - inf | B |
Output
Name | Value | Unit |
---|---|---|
meksps:output | 0.0 - inf | B |
meksps:output_capacity | 0.0 - inf | B |
meksps:output_needed | 0.0 - inf | B |
Energy
Name | Value | Unit |
---|---|---|
meksps:energy | 0.0 - inf | FE |
meksps:max_energy | 0.0 - inf | FE |
meksps:energy_needed | 0.0 - inf | FE |
Formation
Name | Value | Unit |
---|---|---|
meksps:formed | 0 or 1 | |
meksps:height | 0 - inf | m |
meksps:length | 0 - inf | m |
meksps:width | 0 - inf | m |
meksps:coils | 0 - inf |