Describe Generator in guide
This commit is contained in:
35
guide.lua
35
guide.lua
@@ -64,9 +64,11 @@ end
|
|||||||
local function createMachineInformationTable(fields,machineName)
|
local function createMachineInformationTable(fields,machineName)
|
||||||
local fieldLabels={
|
local fieldLabels={
|
||||||
inputVoltage="Input voltage level",
|
inputVoltage="Input voltage level",
|
||||||
|
outputVoltage="Output voltage level",
|
||||||
recipe="Recipe type",
|
recipe="Recipe type",
|
||||||
powerCapacity="Power capacity",
|
powerCapacity="Power capacity",
|
||||||
opPower="Power per operation",
|
opPower="Power per operation",
|
||||||
|
powerPerFuel="Power per fuel unit",
|
||||||
efficiency="Default efficiency"
|
efficiency="Default efficiency"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -341,6 +343,38 @@ local pages={
|
|||||||
<left>||Picture 1. Extractor extracting <item name="{{elementKeyRubber}}" height="{{ITEM_HEIGHT}}"> <b>Rubber</b> from <item name="{{elementKeyRubberWood}}" height="{{ITEM_HEIGHT}}"> <b>Rubber Wood</b>||</left>
|
<left>||Picture 1. Extractor extracting <item name="{{elementKeyRubber}}" height="{{ITEM_HEIGHT}}"> <b>Rubber</b> from <item name="{{elementKeyRubberWood}}" height="{{ITEM_HEIGHT}}"> <b>Rubber Wood</b>||</left>
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name="generator",
|
||||||
|
title=S("Generator"),
|
||||||
|
icon="industrialtest:generator",
|
||||||
|
content={
|
||||||
|
[[
|
||||||
|
<big>||Generator||</big>
|
||||||
|
<left>
|
||||||
|
||Generator produces energy from various fuels which can be used for smelting. It is the most basic way of powering electric machines and also the simplest to obtain.||
|
||||||
|
</left>
|
||||||
|
]],
|
||||||
|
createMachineInformationTable({
|
||||||
|
{
|
||||||
|
name="outputVoltage",
|
||||||
|
value="LV"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name="powerCapacity",
|
||||||
|
value="7000 EU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name="powerPerFuel",
|
||||||
|
value="200 EU"
|
||||||
|
}
|
||||||
|
},S("Generator")),
|
||||||
|
[[
|
||||||
|
<img name="industrialtest_guide_generator.png" width="{{IMAGE_WIDTH}}">
|
||||||
|
<left>||Picture 1. Generator producing power from <item name="{{elementKeyCoal}}" height="{{ITEM_HEIGHT}}"> <b>Coal</b>||</left>
|
||||||
|
]]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -385,6 +419,7 @@ local function getGuideFormspec(playerName,pageName)
|
|||||||
local content=preprocessHypertext(table.concat(page.content,""),{
|
local content=preprocessHypertext(table.concat(page.content,""),{
|
||||||
IMAGE_WIDTH=550,
|
IMAGE_WIDTH=550,
|
||||||
ITEM_HEIGHT=16,
|
ITEM_HEIGHT=16,
|
||||||
|
elementKeyCoal=industrialtest.elementKeys.coal,
|
||||||
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
|
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
|
||||||
elementKeyRubber=industrialtest.elementKeys.rubber,
|
elementKeyRubber=industrialtest.elementKeys.rubber,
|
||||||
elementKeyRubberWood=industrialtest.elementKeys.rubberWood
|
elementKeyRubberWood=industrialtest.elementKeys.rubberWood
|
||||||
|
|||||||
BIN
textures/industrialtest_guide_generator.png
Normal file
BIN
textures/industrialtest_guide_generator.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Reference in New Issue
Block a user