Mekanism Antiprotonic Nucleosynthesizer Input Source ​
lua
telem.input.mekanism.apns (
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 Antiprotonic Nucleosynthesizer | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage ​
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_apns', telem.input.mekanism.apns('right', '*'))
:cycleEvery(5)()
Given a Antiprotonic Nucleosynthesizer 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 |
---|---|---|
mekapns:input_chemical_filled_percentage | 0.0 - 1.0 | |
mekapns:input_item_count | 0 - inf | item |
mekapns:output_item_count | 0 - inf | item |
mekapns:energy_usage | 0.0 - inf | FE/t |
mekapns:energy_filled_percentage | 0.0 - 1.0 |
Advanced ​
Name | Value | Unit |
---|---|---|
mekapns:comparator_level | 0 - 15 |
Input ​
Name | Value | Unit |
---|---|---|
mekapns:input_chemical | 0.0 - inf | B |
mekapns:input_chemical_capacity | 0.0 - inf | B |
mekapns:input_chemical_needed | 0.0 - inf | B |
Energy ​
Name | Value | Unit |
---|---|---|
mekapns:energy | 0.0 - inf | FE |
mekapns:max_energy | 0.0 - inf | FE |
mekapns:energy_needed | 0.0 - inf | FE |
Recipe ​
Name | Value | Unit |
---|---|---|
mekapns:recipe_progress | 0 - inf | t |
mekapns:ticks_required | 0 - inf | t |