Mekanism Electric Pump Input Source ​
lua
telem.input.mekanism.electricPump (
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 Electric Pump | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage ​
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_electricPump', telem.input.mekanism.electricPump('right', '*'))
:cycleEvery(5)()
Given a Electric Pump 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 |
---|---|---|
mekpump:input_item_count | 0 - inf | item |
mekpump:output_item_count | 0 - inf | item |
mekpump:fluid_filled_percentage | 0.0 - 1.0 | |
mekpump:energy_filled_percentage | 0.0 - 1.0 |
Advanced ​
Name | Value | Unit |
---|---|---|
mekpump:comparator_level | 0 - 15 |
Energy ​
Name | Value | Unit |
---|---|---|
mekpump:energy | 0.0 - inf | FE |
mekpump:max_energy | 0.0 - inf | FE |
mekpump:energy_needed | 0.0 - inf | FE |
Output ​
Name | Value | Unit |
---|---|---|
mekpump:fluid | 0.0 - inf | B |
mekpump:fluid_capacity | 0.0 - inf | B |
mekpump:fluid_needed | 0.0 - inf | B |