forked from mrkubax10/industrialtest
Describe Geothermal Generator in guide
This commit is contained in:
29
guide.lua
29
guide.lua
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user