Skip to content

Commit

Permalink
📦 add docs for energized smelter and energy cube
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbit committed Sep 6, 2024
1 parent 774c329 commit 3698ff3
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export default defineConfig({
{ text: 'Dynamic Tank', link: '/reference/input/mekanism/DynamicTank' },
{ text: 'Electric Pump', link: '/reference/input/mekanism/ElectricPump' },
{ text: 'Electrolytic Separator', link: '/reference/input/mekanism/ElectrolyticSeparator' },
// { text: 'Energized Smelter', link: '/reference/input/mekanism/EnergizedSmelter' },
// { text: 'Energy Cube', link: '/reference/input/mekanism/EnergyCube' },
{ text: 'Energized Smelter', link: '/reference/input/mekanism/EnergizedSmelter' },
{ text: 'Energy Cube', link: '/reference/input/mekanism/EnergyCube' },
// { text: 'Enriching Factory', link: '/reference/input/mekanism/EnrichingFactory' },
// { text: 'Enrichment Chamber', link: '/reference/input/mekanism/EnrichmentChamber' },
{ text: 'Fission Reactor', link: '/reference/input/mekanism/FissionReactor' },
Expand Down
54 changes: 54 additions & 0 deletions docs/reference/input/mekanism/EnergizedSmelter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
telem:
adapter:
id: 'energizedSmelter'
name: 'Energized Smelter'
categories: '{ "basic", "advanced", "energy", "recipe" }'
---

<script setup>
import { data as metrics } from './common/metrics.data.ts'
</script>

# Mekanism Energized Smelter Input <RepoLink path="lib/input/mekanism/EnergizedSmelterInputAdapter.lua" />

<!--@include: ./common/preamble.md -->

### Basic

<MetricTable
prefix="meksmelt:"
:metrics="[
{ name: 'input_count', value: '0 - inf', unit: 'item' },
{ name: 'output_count', value: '0 - inf', unit: 'item' },
{ name: 'energy_usage', value: '0.0 - inf', unit: 'FE/t' },
...metrics.genericMachine.basic
]"
/>

### Advanced

<MetricTable
prefix="meksmelt:"
:metrics="[
...metrics.genericMachine.advanced
]"
/>

### Energy

<MetricTable
prefix="meksmelt:"
:metrics="[
...metrics.genericMachine.energy
]"
/>

### Recipe

<MetricTable
prefix="meksmelt:"
:metrics="[
...metrics.recipeProgress.recipe
]"
/>
44 changes: 44 additions & 0 deletions docs/reference/input/mekanism/EnergyCube.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
telem:
adapter:
id: 'energyCube'
name: 'Energy Cube'
categories: '{ "basic", "energy", "advanced" }'
---

<script setup>
import { data as metrics } from './common/metrics.data.ts'
</script>

# Mekanism Energy Cube Input <RepoLink path="lib/input/mekanism/EnergyCubeInputAdapter.lua" />

<!--@include: ./common/preamble.md -->

### Basic

<MetricTable
prefix="mekenergycube:"
:metrics="[
{ name: 'charge_item_count', value: '0 - inf', unit: 'item' },
{ name: 'discharge_item_count', value: '0 - inf', unit: 'item' },
...metrics.genericMachine.basic
]"
/>

### Advanced

<MetricTable
prefix="mekenergycube:"
:metrics="[
...metrics.genericMachine.advanced
]"
/>

### Energy

<MetricTable
prefix="mekenergycube:"
:metrics="[
...metrics.genericMachine.energy
]"
/>

0 comments on commit 3698ff3

Please sign in to comment.