Mekanism Rotary Condensentrator Input Source
lua
telem.input.mekanism.rotaryCondensentrator (
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 Rotary Condensentrator | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua | ||
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_rotaryCondensentrator', telem.input.mekanism.rotaryCondensentrator('right', '*'))
:cycleEvery(5)()Given a Rotary Condensentrator 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 |
|---|---|---|
mekcondense:condensentrating | 0 or 1 | |
mekcondense:gas_input_item_count | 0 - inf | item |
mekcondense:gas_filled_percentage | 0.0 - 1.0 | |
mekcondense:gas_output_item_count | 0 - inf | item |
mekcondense:fluid_input_item_count | 0 - inf | item |
mekcondense:fluid_filled_percentage | 0.0 - 1.0 | |
mekcondense:fluid_output_item_count | 0 - inf | item |
mekcondense:energy_usage | 0.0 - inf | FE/t |
mekcondense:energy_filled_percentage | 0.0 - 1.0 |
Advanced
| Name | Value | Unit |
|---|---|---|
mekcondense:comparator_level | 0 - 15 |
Gas
| Name | Value | Unit |
|---|---|---|
mekcondense:gas | 0.0 - inf | B |
mekcondense:gas_capacity | 0.0 - inf | B |
mekcondense:gas_needed | 0.0 - inf | B |
Fluid
| Name | Value | Unit |
|---|---|---|
mekcondense:fluid | 0.0 - inf | B |
mekcondense:fluid_capacity | 0.0 - inf | B |
mekcondense:fluid_needed | 0.0 - inf | B |
Energy
| Name | Value | Unit |
|---|---|---|
mekcondense:energy | 0.0 - inf | FE |
mekcondense:max_energy | 0.0 - inf | FE |
mekcondense:energy_needed | 0.0 - inf | FE |