2 Commits

Author SHA1 Message Date
42378a4331 Describe item power storage in guide 2025-12-07 11:03:27 +01:00
bd2e7f56f4 Describe Nano Suit in guide 2025-12-07 10:54:42 +01:00

183
guide.lua
View File

@@ -69,6 +69,7 @@ local function createMachineInformationTable(fields,machineName,num)
voltage="Voltage",
lowVoltage="Low voltage",
highVoltage="High voltage",
damageRed="Damage reduction",
recipe="Recipe type",
powerCapacity="Power capacity",
opPower="Power per operation",
@@ -1337,6 +1338,81 @@ local pages={
}
},
{
name="itemPowerStorage",
title=S("Item power storage"),
icon="industrialtest:re_battery",
content={
[[
<big>||Item power storage||</big>
<left>
||There are items which purpose is solely to store power in them. Those are following:||
</left>
<left>
||<item name="industrialtest:re_battery" height="{{ITEM_HEIGHT}}"> <b>RE-Battery</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="LV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.REBattery.capacity)
}
},S("RE-Battery")),
[[
<mono></mono>
<left>
||<item name="industrialtest:advanced_re_battery" height="{{ITEM_HEIGHT}}"> <b>Advanced RE-Battery</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="MV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.AdvancedREBattery.capacity)
}
},S("Advanced RE-Battery"),2),
[[
<mono></mono>
<left>
||<item name="industrialtest:energy_crystal" height="{{ITEM_HEIGHT}}"> <b>Energy Crystal</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="HV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.EnergyCrystal.capacity)
}
},S("Energy Crystal"),3),
[[
<mono></mono>
<left>
||<item name="industrialtest:lapotron_crystal" height="{{ITEM_HEIGHT}}"> <b>Lapotron Crystal</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="EV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.LapotronCrystal.capacity)
}
},S("Lapotron Crystal"),4)
}
},
{
name="jetpacks",
title=S("Jetpacks"),
@@ -1418,6 +1494,113 @@ local pages={
}
},S("Mining Laser"))
}
},
{
name="nanoSuit",
title=S("Nano Suit"),
icon="industrialtest:nano_bodyarmor",
content={
[[
<big>||Nano Suit||</big>
<left>
||Nano Suit is an armor which with power of electricity can reduce damage which player takes. It consists of following parts:||
</left>
<left>
||<item name="industrialtest:nano_helmet" height="{{ITEM_HEIGHT}}"> <b>Nano Helmet</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="EV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.NanoSuit.capacity)
},
{
name="opPower",
value=string.format("%d EU",industrialtest.NanoSuit:getPowerPerDamageForItem())
},
{
name="damageRed",
value="0.12"
}
},S("Nano Helmet")),
[[
<mono></mono>
<left>
||<item name="industrialtest:nano_bodyarmor" height="{{ITEM_HEIGHT}}"> <b>Nano Bodyarmor</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="EV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.NanoSuit.capacity)
},
{
name="opPower",
value=string.format("%d EU",industrialtest.NanoSuit:getPowerPerDamageForItem())
},
{
name="damageRed",
value="0.32"
}
},S("Nano Bodyarmor"),2),
[[
<mono></mono>
<left>
||<item name="industrialtest:nano_leggings" height="{{ITEM_HEIGHT}}"> <b>Nano Leggings</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="EV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.NanoSuit.capacity)
},
{
name="opPower",
value=string.format("%d EU",industrialtest.NanoSuit:getPowerPerDamageForItem())
},
{
name="damageRed",
value="0.3"
}
},S("Nano Leggings"),3),
[[
<mono></mono>
<left>
||<item name="industrialtest:nano_boots" height="{{ITEM_HEIGHT}}"> <b>Nano Boots</b>||
</left>
]],
createMachineInformationTable({
{
name="voltage",
value="EV"
},
{
name="powerCapacity",
value=string.format("%d EU",industrialtest.NanoSuit.capacity)
},
{
name="opPower",
value=string.format("%d EU",industrialtest.NanoSuit:getPowerPerDamageForItem())
},
{
name="damageRed",
value="0.24"
}
},S("Nano Boots"),4)
}
}
}