2 Commits

Author SHA1 Message Date
0d8807a1c3 Describe Water Mill in guide 2025-12-02 19:05:49 +01:00
e7ed72b261 Describe transformers in guide 2025-12-02 19:00:21 +01:00
4 changed files with 117 additions and 1 deletions

118
guide.lua
View File

@@ -66,6 +66,8 @@ local function createMachineInformationTable(fields,machineName,num)
local fieldLabels={ local fieldLabels={
inputVoltage="Input voltage level", inputVoltage="Input voltage level",
outputVoltage="Output voltage level", outputVoltage="Output voltage level",
lowVoltage="Low voltage",
highVoltage="High voltage",
recipe="Recipe type", recipe="Recipe type",
powerCapacity="Power capacity", powerCapacity="Power capacity",
opPower="Power per operation", opPower="Power per operation",
@@ -995,7 +997,7 @@ local pages={
[[ [[
<big>||Tool Workshop||</big> <big>||Tool Workshop||</big>
<left> <left>
Tool Workshop can be used to repair various tools with cost of energy. The process requires quite a lot energy and is slow. ||Tool Workshop can be used to repair various tools with cost of energy. The process requires quite a lot energy and is slow.||
</left> </left>
]], ]],
createMachineInformationTable({ createMachineInformationTable({
@@ -1021,6 +1023,120 @@ local pages={
<left>||Picture 1. Tool Workshop repairing <item name="{{elementKeyIronPickaxe}}" height="{{ITEM_HEIGHT}}"> <b>Iron Pickaxe</b>.||</left> <left>||Picture 1. Tool Workshop repairing <item name="{{elementKeyIronPickaxe}}" height="{{ITEM_HEIGHT}}"> <b>Iron Pickaxe</b>.||</left>
]] ]]
} }
},
{
name="transformers",
title=S("Transformers"),
icon="industrialtest:lv_transformer",
content={
[[
<big>||Transformers||</big>
<left>
||Transformer can be used to either bump up or lower the voltage between different voltage levels. Each transformer has one high voltage input/output side and five low voltage input/output sides. These are transformers in this mod:||
</left>
<mono>
</mono>
<left>
<item name="industrialtest:lv_transformer" height="{{ITEM_HEIGHT}}"> <b>||LV Transformer||</b>
</left>
]],
createMachineInformationTable({
{
name="lowVoltage",
value="LV"
},
{
name="highVoltage",
value="MV"
}
},S("LV Transformer")),
[[
<mono></mono>
<left>
<item name="industrialtest:mv_transformer" height="{{ITEM_HEIGHT}}"> <b>||MV Transformer||</b>
</left>
]],
createMachineInformationTable({
{
name="lowVoltage",
value="MV"
},
{
name="highVoltage",
value="HV"
}
},S("MV Transformer"),2),
[[
<mono></mono>
<left>
<item name="industrialtest:hv_transformer" height="{{ITEM_HEIGHT}}"> <b>||HV Transformer||</b>
</left>
]],
createMachineInformationTable({
{
name="lowVoltage",
value="HV"
},
{
name="highVoltage",
value="EV"
}
},S("HV Transformer"),3),
[[
<mono></mono>
<left>
<item name="industrialtest:ev_transformer" height="{{ITEM_HEIGHT}}"> <b>||EV Transformer||</b>
</left>
]],
createMachineInformationTable({
{
name="lowVoltage",
value="EV"
},
{
name="highVoltage",
value="IV"
}
},S("EV Transformer"),4),
[[
<mono></mono>
<img name="industrialtest_guide_transformer.png">
<left>||Picture 1. <item name="industrialtest:electric_furnace" height="{{ITEM_HEIGHT}}"> <b>Electric Furnace</b> connected to <item name="industrialtest:mv_solar_array" height="{{ITEM_HEIGHT}}"> <b>MV Solar Array</b> through <item name="industrialtest:lv_transformer" height="{{ITEM_HEIGHT}}"> <b>LV Transformer</b>.||</left>
]]
}
},
{
name="waterMill",
title=S("Water Mill"),
icon="industrialtest:water_mill",
content={
[[
<big>||Water Mill||</big>
<left>
||Water Mill is used to produce power from water kinetic force. There are two ways to supply water flow to Water Mill: putting it next to water or putting water in Water Mill for example by using <item name="industrialtest:empty_cell" height="{{ITEM_HEIGHT}}"> <b>Empty Cell</b>. The fluid level indicator in formspec shows the amount of water.||
</left>
]],
createMachineInformationTable({
{
name="outputVoltage",
value="LV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.WaterMill.capacity)
}
},S("Water Mill")),
[[
<img name="industrialtest_guide_water_mill_formspec.png" width="{{IMAGE_WIDTH}}">
<left>||Picture 1. Water Mill with some water inside.||</left>
<mono>
</mono>
<img name="industrialtest_guide_water_mill.png">
<left>||Picture 2. Water Mill in water.||</left>
]]
}
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB