forked from mrkubax10/industrialtest
Describe Extractor in guide
This commit is contained in:
44
guide.lua
44
guide.lua
@@ -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
|
||||
|
||||
BIN
textures/industrialtest_guide_extractor.png
Normal file
BIN
textures/industrialtest_guide_extractor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user