diff --git a/guide.lua b/guide.lua
index 743651a..f65c7c3 100644
--- a/guide.lua
+++ b/guide.lua
@@ -64,9 +64,11 @@ end
local function createMachineInformationTable(fields,machineName)
local fieldLabels={
inputVoltage="Input voltage level",
+ outputVoltage="Output voltage level",
recipe="Recipe type",
powerCapacity="Power capacity",
opPower="Power per operation",
+ powerPerFuel="Power per fuel unit",
efficiency="Default efficiency"
}
@@ -341,6 +343,38 @@ local pages={
||Picture 1. Extractor extracting - Rubber from
- Rubber Wood||
]]
}
+ },
+
+ {
+ name="generator",
+ title=S("Generator"),
+ icon="industrialtest:generator",
+ content={
+ [[
+ ||Generator||
+
+ ||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.||
+
+ ]],
+ createMachineInformationTable({
+ {
+ name="outputVoltage",
+ value="LV"
+ },
+ {
+ name="powerCapacity",
+ value="7000 EU"
+ },
+ {
+ name="powerPerFuel",
+ value="200 EU"
+ }
+ },S("Generator")),
+ [[
+
+ ||Picture 1. Generator producing power from - Coal||
+ ]]
+ }
}
}
@@ -385,6 +419,7 @@ local function getGuideFormspec(playerName,pageName)
local content=preprocessHypertext(table.concat(page.content,""),{
IMAGE_WIDTH=550,
ITEM_HEIGHT=16,
+ elementKeyCoal=industrialtest.elementKeys.coal,
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
elementKeyRubber=industrialtest.elementKeys.rubber,
elementKeyRubberWood=industrialtest.elementKeys.rubberWood
diff --git a/textures/industrialtest_guide_generator.png b/textures/industrialtest_guide_generator.png
new file mode 100644
index 0000000..ad9adc7
Binary files /dev/null and b/textures/industrialtest_guide_generator.png differ