Compare commits

...

2 Commits

Author SHA1 Message Date
27ebd4fbc5 Describe Tool Workshop in guide 2025-12-01 15:19:02 +01:00
603ae83507 Describe solar panels in guide 2025-12-01 15:18:49 +01:00

139
guide.lua
View File

@ -883,6 +883,144 @@ local pages={
<left>||Picture 1. Rotary Macerator running with altered recipe.||</left> <left>||Picture 1. Rotary Macerator running with altered recipe.||</left>
]] ]]
} }
},
{
name="solarPanels",
title=S("Solar panels"),
icon="industrialtest:solar_panel",
content={
[[
<big>||Solar panels||</big>
<left>
||Solar panels are generators which allow for producting power from sun energy. There are few of them in this mod for different voltages. Those are:||
</left>
<mono>
</mono>
<left>
<item name="industrialtest:solar_panel" height="{{ITEM_HEIGHT}}"> <b>||Solar Panel||</b>
</left>
]],
createMachineInformationTable({
{
name="outputVoltage",
value="LV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.SolarPanel.capacity)
},
{
name="Generation multiplier",
value=tostring(industrialtest.SolarPanel.multiplier)
}
},S("Solar Panel")),
[[
<mono></mono>
<left>
<item name="industrialtest:lv_solar_array" height="{{ITEM_HEIGHT}}"> <b>||LV Solar Array||</b>
</left>
]],
createMachineInformationTable({
{
name="outputVoltage",
value="LV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.LVSolarArray.capacity)
},
{
name="Generation multiplier",
value=tostring(industrialtest.LVSolarArray.multiplier)
}
},S("LV Solar Array"),2),
[[
<mono></mono>
<left>
<item name="industrialtest:mv_solar_array" height="{{ITEM_HEIGHT}}"> <b>||MV Solar Array||</b>
</left>
]],
createMachineInformationTable({
{
name="outputVoltage",
value="MV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.MVSolarArray.capacity)
},
{
name="Generation multiplier",
value=tostring(industrialtest.MVSolarArray.multiplier)
}
},S("MV Solar Array"),3),
[[
<mono></mono>
<left>
<item name="industrialtest:hv_solar_array" height="{{ITEM_HEIGHT}}"> <b>||HV Solar Array||</b>
</left>
]],
createMachineInformationTable({
{
name="outputVoltage",
value="HV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.HVSolarArray.capacity)
},
{
name="Generation multiplier",
value=tostring(industrialtest.HVSolarArray.multiplier)
}
},S("HV Solar Array"),4),
[[
<mono></mono>
<img name="industrialtest_guide_solar_panel_full.png" width="{{IMAGE_WIDTH}}">
<left>||Picture 1. Solar Panel generating in full sunlight.||</left>
<mono>
</mono>
<img name="industrialtest_guide_solar_panel_none.png" width="{{IMAGE_WIDTH}}">
<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>
]]
}
} }
} }
@ -932,6 +1070,7 @@ local function getGuideFormspec(playerName,pageName)
elementKeyCopperIngot=industrialtest.elementKeys.copperIngot, elementKeyCopperIngot=industrialtest.elementKeys.copperIngot,
elementKeyIronIngot=industrialtest.elementKeys.ironIngot, elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
elementKeyIronLump=industrialtest.elementKeys.ironLump, elementKeyIronLump=industrialtest.elementKeys.ironLump,
elementKeyIronPickaxe=industrialtest.elementKeys.ironPickaxe,
elementKeyRubber=industrialtest.elementKeys.rubber, elementKeyRubber=industrialtest.elementKeys.rubber,
elementKeyRubberWood=industrialtest.elementKeys.rubberWood elementKeyRubberWood=industrialtest.elementKeys.rubberWood
}) })