Mekanism Solar Neutron Activator Input Source
lua
telem.input.mekanism.neutronActivator (
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 Solar Neutron Activator | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua | ||
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_neutronActivator', telem.input.mekanism.neutronActivator('right', '*'))
:cycleEvery(5)()Given a Solar Neutron Activator 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 |
|---|---|---|
mekactivator:input_item_count | 0 - inf | item |
mekactivator:input_filled_percentage | 0.0 - 1.0 | |
mekactivator:output_filled_percentage | 0.0 - 1.0 | |
mekactivator:output_item_count | 0 - inf | item |
mekactivator:production_rate | 0.0 - inf | B/t |
mekactivator:peak_production_rate | 0.0 - inf | B/t |
mekactivator:sees_sunMekanism 10.3+ | 0 or 1 |
Input
| Name | Value | Unit |
|---|---|---|
mekactivator:input | 0.0 - inf | B |
mekactivator:input_capacity | 0.0 - inf | B |
mekactivator:input_needed | 0.0 - inf | B |
Output
| Name | Value | Unit |
|---|---|---|
mekactivator:output | 0.0 - inf | B |
mekactivator:output_capacity | 0.0 - inf | B |
mekactivator:output_needed | 0.0 - inf | B |