Mekanism Isotopic Centrifuge Input Source
lua
telem.input.mekanism.isotopicCentrifuge (
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 Isotopic Centrifuge | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua | ||
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_isotopicCentrifuge', telem.input.mekanism.isotopicCentrifuge('right', '*'))
:cycleEvery(5)()Given a Isotopic Centrifuge 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 |
|---|---|---|
mekcentrifuge:input_item_count | 0 - inf | item |
mekcentrifuge:input_filled_percentage | 0.0 - inf | |
mekcentrifuge:output_filled_percentage | 0.0 - inf | |
mekcentrifuge:output_item_count | 0 - inf | item |
mekcentrifuge:energy_usage | 0.0 - inf | FE/t |
mekcentrifuge:energy_filled_percentage | 0.0 - 1.0 |
Advanced
| Name | Value | Unit |
|---|---|---|
mekcentrifuge:comparator_level | 0 - 15 |
Input
| Name | Value | Unit |
|---|---|---|
mekcentrifuge:input | 0.0 - inf | B |
mekcentrifuge:input_capacity | 0.0 - inf | B |
mekcentrifuge:input_needed | 0.0 - inf | B |
Output
| Name | Value | Unit |
|---|---|---|
mekcentrifuge:output | 0.0 - inf | B |
mekcentrifuge:output_capacity | 0.0 - inf | B |
mekcentrifuge:output_needed | 0.0 - inf | B |
Energy
| Name | Value | Unit |
|---|---|---|
mekcentrifuge:energy | 0.0 - inf | FE |
mekcentrifuge:max_energy | 0.0 - inf | FE |
mekcentrifuge:energy_needed | 0.0 - inf | FE |