Compare commits
3 Commits
8aa5ddc972
...
d709feee6e
| Author | SHA1 | Date | |
|---|---|---|---|
| d709feee6e | |||
| b5f9955e07 | |||
| 986a0d189c |
105
guide.lua
105
guide.lua
@@ -175,11 +175,15 @@ local pages={
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value="1400 EU"
|
||||
value=string.format("%d EU",industrialtest.CableFormer.capacity)
|
||||
},
|
||||
{
|
||||
name="opPower",
|
||||
value="80 EU"
|
||||
value=string.format("%d EU",industrialtest.CableFormer.opPower)
|
||||
},
|
||||
{
|
||||
name="efficiency",
|
||||
value=tostring(1/industrialtest.CableFormer.efficiency)
|
||||
}
|
||||
},S("Cable Former")),
|
||||
[[
|
||||
@@ -207,15 +211,15 @@ local pages={
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value="1200 EU"
|
||||
value=string.format("%d EU",industrialtest.CanningMachine.capacity)
|
||||
},
|
||||
{
|
||||
name="opPower",
|
||||
value="200 EU"
|
||||
value=string.format("%d EU",industrialtest.CanningMachine._opPower)
|
||||
},
|
||||
{
|
||||
name="Canning completion time",
|
||||
value="5 seconds"
|
||||
value=string.format("%d seconds",industrialtest.CanningMachine._canningTime)
|
||||
}
|
||||
},S("Canning Machine")),
|
||||
[[
|
||||
@@ -247,15 +251,15 @@ local pages={
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value="1400 EU"
|
||||
value=string.format("%d EU",industrialtest.Compressor.capacity)
|
||||
},
|
||||
{
|
||||
name="opPower",
|
||||
value="120 EU"
|
||||
value=string.format("%d EU",industrialtest.Compressor.opPower)
|
||||
},
|
||||
{
|
||||
name="efficiency",
|
||||
value="1"
|
||||
value=tostring(1/industrialtest.Compressor.efficiency)
|
||||
}
|
||||
},S("Compressor")),
|
||||
[[
|
||||
@@ -287,15 +291,15 @@ local pages={
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value="416 EU"
|
||||
value=string.format("%d EU",industrialtest.ElectricFurnace.capacity)
|
||||
},
|
||||
{
|
||||
name="opPower",
|
||||
value="60 EU"
|
||||
value=string.format("%d EU",industrialtest.ElectricFurnace.opPower)
|
||||
},
|
||||
{
|
||||
name="efficiency",
|
||||
value="0.5"
|
||||
value=tostring(1/industrialtest.ElectricFurnace.efficiency)
|
||||
}
|
||||
},S("Electric Furnace")),
|
||||
[[
|
||||
@@ -327,15 +331,15 @@ local pages={
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value="1000 EU"
|
||||
value=string.format("%d EU",industrialtest.Extractor.capacity)
|
||||
},
|
||||
{
|
||||
name="opPower",
|
||||
value="100 EU"
|
||||
value=string.format("%d EU",industrialtest.Extractor.opPower)
|
||||
},
|
||||
{
|
||||
name="efficiency",
|
||||
value="1"
|
||||
value=tostring(1/industrialtest.Extractor.efficiency)
|
||||
}
|
||||
},S("Extractor")),
|
||||
[[
|
||||
@@ -363,7 +367,7 @@ local pages={
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value="7000 EU"
|
||||
value=string.format("%d EU",industrialtest.Generator.capacity)
|
||||
},
|
||||
{
|
||||
name="powerPerFuel",
|
||||
@@ -375,6 +379,75 @@ local pages={
|
||||
<left>||Picture 1. Generator producing power from <item name="{{elementKeyCoal}}" height="{{ITEM_HEIGHT}}"> <b>Coal</b>||</left>
|
||||
]]
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
name="geothermalGenerator",
|
||||
title=S("Geothermal Generator"),
|
||||
icon="industrialtest:geothermal_generator",
|
||||
content={
|
||||
[[
|
||||
<big>||Geothermal Generator||</big>
|
||||
<left>
|
||||
||Geothermal Generator produces energy using heat from fluids like lava. Hot fluids can be transferred into Geothermal Generator for example by using <item name="industrialtest:empty_cell" height="{{ITEM_HEIGHT}}"> <b>Empty Cell</b> or <item name="{{elementKeyBucket}}" height="{{ITEM_HEIGHT}}"> <b>Empty Bucket</b>.||
|
||||
</left>
|
||||
]],
|
||||
createMachineInformationTable({
|
||||
{
|
||||
name="outputVoltage",
|
||||
value="LV"
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value=string.format("%d EU",industrialtest.GeothermalGenerator.capacity)
|
||||
}
|
||||
},S("Geothermal Generator")),
|
||||
[[
|
||||
<img name="industrialtest_guide_geothermal_generator.png" width="{{IMAGE_WIDTH}}">
|
||||
<left>||Picture 1. Geothermal Generator producing power from <b>Lava</b>||</left>
|
||||
]]
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
name="inductionFurnace",
|
||||
title=S("Induction Furnace"),
|
||||
icon="industrialtest:induction_furnace",
|
||||
content={
|
||||
[[
|
||||
<big>||Induction Furnace||</big>
|
||||
<left>
|
||||
||Induction Furnace like Electric Furnace uses electricity to smelt items. The difference between those is that Induction Furnace when running builds up heat internally over time. This property results in Induction Furnace smelting items faster the longer it's running. Once smelting is finished Induction Furnace begins to slowly lose heat. The heat level is indicated on the left of formspec.||
|
||||
||Furthermore Induction Furnace allows to smelt 2 different items at once increasing efficiency even more.||
|
||||
</left>
|
||||
]],
|
||||
createMachineInformationTable({
|
||||
{
|
||||
name="inputVoltage",
|
||||
value="MV"
|
||||
},
|
||||
{
|
||||
name="recipe",
|
||||
value="Smelting"
|
||||
},
|
||||
{
|
||||
name="powerCapacity",
|
||||
value=string.format("%d EU",industrialtest.InductionFurnace.capacity)
|
||||
},
|
||||
{
|
||||
name="opPower",
|
||||
value=string.format("%d EU",industrialtest.InductionFurnace._opPower)
|
||||
},
|
||||
{
|
||||
name="efficiency",
|
||||
value=tostring(1/industrialtest.InductionFurnace._efficiency)
|
||||
}
|
||||
},S("Induction Furnace")),
|
||||
[[
|
||||
<img name="industrialtest_guide_induction_furnace.png" width="{{IMAGE_WIDTH}}">
|
||||
<left>||Picture 1. Induction Furnace smelting <item name="industrialtest:copper_dust" height="{{ITEM_HEIGHT}}"> <b>Copper Dust</b> and <item name="industrialtest:iron_dust" height="{{ITEM_HEIGHT}}"> <b>Iron Dust</b> into <item name="{{elementKeyCopperIngot}}" height="{{ITEM_HEIGHT}}"> <b>Copper Ingot</b> and <item name="{{elementKeyIronIngot}}" height="{{ITEM_HEIGHT}}"> <b>Iron Ingot</b>.||</left>
|
||||
]]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -419,7 +492,9 @@ local function getGuideFormspec(playerName,pageName)
|
||||
local content=preprocessHypertext(table.concat(page.content,""),{
|
||||
IMAGE_WIDTH=550,
|
||||
ITEM_HEIGHT=16,
|
||||
elementKeyBucket=industrialtest.elementKeys.bucket,
|
||||
elementKeyCoal=industrialtest.elementKeys.coal,
|
||||
elementKeyCopperIngot=industrialtest.elementKeys.copperIngot,
|
||||
elementKeyIronIngot=industrialtest.elementKeys.ironIngot,
|
||||
elementKeyRubber=industrialtest.elementKeys.rubber,
|
||||
elementKeyRubberWood=industrialtest.elementKeys.rubberWood
|
||||
|
||||
BIN
textures/industrialtest_guide_geothermal_generator.png
Normal file
BIN
textures/industrialtest_guide_geothermal_generator.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.7 KiB |
BIN
textures/industrialtest_guide_induction_furnace.png
Normal file
BIN
textures/industrialtest_guide_induction_furnace.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user