-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📦 add docs for digital miner, dynamic tank
- Loading branch information
Showing
5 changed files
with
126 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
telem: | ||
adapter: | ||
id: 'digitalMiner' | ||
name: 'Digital Miner' | ||
categories: '{ "basic", "advanced", "energy" }' | ||
--- | ||
|
||
<script setup> | ||
import { data as metrics } from './common/metrics.data.ts' | ||
</script> | ||
|
||
# Mekanism Digital Miner Input <RepoLink path="lib/input/mekanism/DigitalMinerInputAdapter.lua" /> | ||
|
||
<!--@include: ./common/preamble.md --> | ||
|
||
### Basic | ||
|
||
```lua | ||
STATES = { FINISHED = 1, IDLE = 2, PAUSED = 3, SEARCHING = 4 } | ||
``` | ||
|
||
<MetricTable | ||
prefix="mekminer:" | ||
:metrics="[ | ||
{ name: 'running', value: '0 or 1' }, | ||
{ name: 'slot_count', value: '0 - inf' }, | ||
{ name: 'state', value: 'STATES value' }, | ||
{ name: 'to_mine', value: '0 - inf' }, | ||
{ name: 'energy_usage', value: '0.0 - inf', unit: 'FE/t' }, | ||
{ name: 'slot_usage', value: '0 - inf' }, | ||
...metrics.genericMachine.basic | ||
]" | ||
/> | ||
|
||
### Advanced | ||
|
||
<MetricTable | ||
prefix="mekminer:" | ||
:metrics="[ | ||
{ name: 'auto_eject', value: '0 or 1' }, | ||
{ name: 'auto_pull', value: '0 or 1' }, | ||
{ name: 'inverse_mode', value: '0 or 1' }, | ||
{ name: 'inverse_mode_requires_replacement', value: '0 or 1' }, | ||
{ name: 'max_radius', value: '1 - inf', unit: 'm' }, | ||
{ name: 'max_y', value: '-inf - inf' }, | ||
{ name: 'min_y', value: '-inf - inf' }, | ||
{ name: 'radius', value: '0 - inf', unit: 'm' }, | ||
{ name: 'silk_touch', value: '0 or 1' }, | ||
...metrics.genericMachine.advanced | ||
]" | ||
/> | ||
|
||
### Energy | ||
|
||
<MetricTable | ||
prefix="mekminer:" | ||
:metrics="[ | ||
...metrics.genericMachine.energy | ||
]" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
telem: | ||
adapter: | ||
id: 'dynamicTank' | ||
name: 'Dynamic Tank' | ||
categories: '{ "basic", "storage", "formation" }' | ||
--- | ||
|
||
<script setup> | ||
import { data as metrics } from './common/metrics.data.ts' | ||
</script> | ||
|
||
# Mekanism Dynamic Tank Input <RepoLink path="lib/input/mekanism/DynamicTankInputAdapter.lua" /> | ||
|
||
<!--@include: ./common/preamble.md --> | ||
|
||
### Basic | ||
|
||
<MetricTable | ||
prefix="mekdyntank:" | ||
:metrics="[ | ||
{ name: 'filled_percentage', value: '0.0 - 1.0', unit: 'B' }, | ||
{ name: 'input_item_count', value: '0 - inf', unit: 'item' }, | ||
{ name: 'output_item_count', value: '0 - inf', unit: 'item' } | ||
]" | ||
/> | ||
|
||
### Storage | ||
|
||
<MetricTable | ||
prefix="mekdyntank:" | ||
:metrics="[ | ||
{ name: 'stored', value: '0.0 - inf', unit: 'B' }, | ||
{ name: 'fluid_capacity', value: '0.0 - inf', unit: 'B' }, | ||
{ name: 'chemical_capacity', value: '0.0 - inf', unit: 'B' } | ||
]" | ||
/> | ||
|
||
### Formation | ||
|
||
<MetricTable | ||
prefix="mekdyntank:" | ||
:metrics="[ | ||
...metrics.multiblock.formation | ||
]" | ||
/> | ||
|
||
|
||
## Storage | ||
Dynamic tanks may hold either a fluid or a chemical. If the tank is not empty, a storage metric is added for the contents. Given a dynamic tank with the following contents: | ||
|
||
![Mekanism Dynamic Tank with contents](/assets/mekanism-dynamic-tank.webp) | ||
|
||
The following metric would be added: | ||
|
||
<MetricTable | ||
prefix="storage:" | ||
:metrics="[ | ||
{ name: 'tconstruct:molten_ender', value: '7455.75', unit: 'B' } | ||
]" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters