Describe Extractor in guide

This commit is contained in:
2025-11-24 21:32:04 +01:00
parent 85b5d5808a
commit a2ce0e5177
2 changed files with 43 additions and 1 deletions

View File

@@ -301,6 +301,46 @@ local pages={
<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>
]]
}
},
{
name="extractor",
title=S("Extractor"),
icon="industrialtest:extractor",
content={
[[
<big>||Extractor||</big>
<left>
||Extractor is used to separate materials from within other materials, often when it's not possible by other means.||
</left>
]],
createMachineInformationTable({
{
name="inputVoltage",
value="LV"
},
{
name="recipe",
value="Extracting"
},
{
name="powerCapacity",
value="1000 EU"
},
{
name="opPower",
value="100 EU"
},
{
name="efficiency",
value="1"
}
},S("Extractor")),
[[
<img name="industrialtest_guide_extractor.png" width="{{IMAGE_WIDTH}}">
<left>||Picture 1. Extractor extracting <item name="{{elementKeyRubber}}" height="{{ITEM_HEIGHT}}"> <b>Rubber</b> from <item name="{{elementKeyRubberWood}}" height="{{ITEM_HEIGHT}}"> <b>Rubber Wood</b>||</left>
]]
}
}
}
@@ -345,7 +385,9 @@ local function getGuideFormspec(playerName,pageName)
local content=preprocessHypertext(table.concat(page.content,""),{
IMAGE_WIDTH=550,
ITEM_HEIGHT=16,
elementKeyIronIngot=industrialtest.elementKeys.ironIngot
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
elementKeyRubber=industrialtest.elementKeys.rubber,
elementKeyRubberWood=industrialtest.elementKeys.rubberWood
})
table.insert(formspec,string.format("hypertext[4.2,0.4;10.7,10.3;content;%s]",content))
break