Describe Tool Workshop in guide

This commit is contained in:
2025-12-01 15:19:02 +01:00
parent 603ae83507
commit 27ebd4fbc5

View File

@@ -985,6 +985,42 @@ local pages={
<left>||Picture 2. Solar Panel not generating.||</left>
]]
}
},
{
name="toolWorkshop",
title=S("Tool Workshop"),
icon="industrialtest:tool_workshop",
content={
[[
<big>||Tool Workshop||</big>
<left>
Tool Workshop can be used to repair various tools with cost of energy. The process requires quite a lot energy and is slow.
</left>
]],
createMachineInformationTable({
{
name="inputVoltage",
value="HV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.ToolWorkshop.capacity)
},
{
name="opPower",
value=string.format("%d EU",industrialtest.ToolWorkshop._opPower)
},
{
name="efficiency",
value=tostring(industrialtest.ToolWorkshop._efficiency)
}
},S("Tool Workshop")),
[[
<img name="industrialtest_guide_tool_workshop.png" width="{{IMAGE_WIDTH}}">
<left>||Picture 1. Tool Workshop repairing <item name="{{elementKeyIronPickaxe}}" height="{{ITEM_HEIGHT}}"> <b>Iron Pickaxe</b>.||</left>
]]
}
}
}
@@ -1034,6 +1070,7 @@ local function getGuideFormspec(playerName,pageName)
elementKeyCopperIngot=industrialtest.elementKeys.copperIngot,
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
elementKeyIronLump=industrialtest.elementKeys.ironLump,
elementKeyIronPickaxe=industrialtest.elementKeys.ironPickaxe,
elementKeyRubber=industrialtest.elementKeys.rubber,
elementKeyRubberWood=industrialtest.elementKeys.rubberWood
})