Describe Electric Furnace in guide

This commit is contained in:
2025-11-22 20:13:23 +01:00
parent c9e73102c9
commit 37b6d2b8ff
2 changed files with 25 additions and 1 deletions

View File

@@ -126,6 +126,29 @@ local pages={
<img name="industrialtest_guide_compressor.png" width="{{IMAGE_WIDTH}}">
<left>Picture 1. Compressor compressing <item name="industrialtest:plantball" height="{{ITEM_HEIGHT}}"> <b>Plantball</b> into <item name="industrialtest:compressed_plantball" height="{{ITEM_HEIGHT}}"> <b>Compressed Plantball</b></left>
]]
},
{
name="electricFurnace",
title=S("Electric Furnace"),
icon="industrialtest:electric_furnace",
content=[[
<big>Electric Furnace</big>
<left>
Electric Furnace like regular furnace can be used to smelt items. The difference is that Electric Furnace is slightly faster even without any upgrades and, well, it's electric so it doesn't require fuel.
</left>
<mono>
--------------------------------
| Input voltage level | LV |
| Power per operation | 60 EU |
| Power capacity | 416 EU |
| Default efficiency | 0.5 |
--------------------------------
Figure 1. Machine information for Electric Furnace
</mono>
<img name="industrialtest_guide_electric_furnace.png" width="{{IMAGE_WIDTH}}">
<left>Picture 1. Electric Furnace smelting <item name="industrialtest:iron_dust" height="{{ITEM_HEIGHT}}"> <b>Iron Dust</b> into <item name="{{elementKeyIronIngot}}" height="{{ITEM_HEIGHT}}"> <b>Iron Ingot</b></left>
]]
}
}
@@ -163,7 +186,8 @@ local function getGuideFormspec(playerName,pageName)
if page.name==pageName then
local content=preprocessHypertext(page.content,{
IMAGE_WIDTH=550,
ITEM_HEIGHT=16
ITEM_HEIGHT=16,
elementKeyIronIngot=industrialtest.elementKeys.ironIngot
})
table.insert(formspec,string.format("hypertext[4.2,0.4;10.7,10.3;content;%s]",content))
break