Describe Geothermal Generator in guide

This commit is contained in:
2025-11-25 22:01:33 +01:00
parent 986a0d189c
commit b5f9955e07
2 changed files with 29 additions and 0 deletions

View File

@@ -379,6 +379,34 @@ local pages={
<left>||Picture 1. Generator producing power from <item name="{{elementKeyCoal}}" height="{{ITEM_HEIGHT}}"> <b>Coal</b>||</left>
]]
}
},
{
name="geothermalGenerator",
title=S("Geothermal Generator"),
icon="industrialtest:geothermal_generator",
content={
[[
<big>||Geothermal Generator||</big>
<left>
||Geothermal Generator produces energy using heat from fluids like lava. Hot fluids can be transferred into Geothermal Generator for example by using <item name="industrialtest:empty_cell" height="{{ITEM_HEIGHT}}"> <b>Empty Cell</b> or <item name="{{elementKeyBucket}}" height="{{ITEM_HEIGHT}}"> <b>Empty Bucket</b>.||
</left>
]],
createMachineInformationTable({
{
name="outputVoltage",
value="LV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.GeothermalGenerator.capacity)
}
},S("Geothermal Generator")),
[[
<img name="industrialtest_guide_geothermal_generator.png" width="{{IMAGE_WIDTH}}">
<left>||Picture 1. Geothermal Generator producing power from <b>Lava</b>||</left>
]]
}
}
}
@@ -423,6 +451,7 @@ local function getGuideFormspec(playerName,pageName)
local content=preprocessHypertext(table.concat(page.content,""),{
IMAGE_WIDTH=550,
ITEM_HEIGHT=16,
elementKeyBucket=industrialtest.elementKeys.bucket,
elementKeyCoal=industrialtest.elementKeys.coal,
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
elementKeyRubber=industrialtest.elementKeys.rubber,