From a2567cae54fd9b40e7c46923c8d3a2b59305fe51 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Mon, 8 Dec 2025 14:53:00 +0100 Subject: [PATCH] Describe Quantum Suit in guide --- guide.lua | 127 ++++++++++++++++++++++++++++++++++++++++++++++ tools/jetpack.lua | 7 +-- 2 files changed, 131 insertions(+), 3 deletions(-) diff --git a/guide.lua b/guide.lua index 9e2d225..b868c65 100644 --- a/guide.lua +++ b/guide.lua @@ -1601,6 +1601,133 @@ local pages={ } },S("Nano Boots"),4) } + }, + + { + name="quantumSuit", + title=S("Quantum Suit"), + icon="industrialtest:quantum_bodyarmor", + content={ + [[ + ||Quantum Suit|| + + ||Quantum Suit like Nano Suit is also capable of reducing damage with usage of electricity. However unlike the later it also provides various additional effects depending on armor part.|| + + + || Quantum Helmet - when equipped refills player breath allowing for staying underwater longer.|| + + ]], + createMachineInformationTable({ + { + name="voltage", + value="IV" + }, + { + name="powerCapacity", + value=string.format("%d EU",industrialtest.QuantumHelmet.capacity) + }, + { + name="Power per breath refill operation", + value=string.format("%d EU",industrialtest.QuantumHelmet._breathRefillOpPower) + }, + { + name="opPower", + value=string.format("%d EU",industrialtest.QuantumHelmet:getPowerPerDamageForItem()) + }, + { + name="damageRed", + value=tostring(industrialtest.QuantumHelmet:getReducedDamageForItem()) + } + },S("Quantum Helmet")), + [[ + + + || Quantum Bodyarmor - when equipped works like jetpack.|| + + ]], + createMachineInformationTable({ + { + name="voltage", + value="IV" + }, + { + name="powerCapacity", + value=string.format("%d EU",industrialtest.QuantumBodyarmor.capacity) + }, + { + name="Power per fly operation", + value=string.format("%d EU",industrialtest.ElectricJetpack._opPower) + }, + { + name="opPower", + value=string.format("%d EU",industrialtest.QuantumBodyarmor:getPowerPerDamageForItem()) + }, + { + name="damageRed", + value=tostring(industrialtest.QuantumBodyarmor:getReducedDamageForItem()) + } + },S("Quantum Bodyarmor"),2), + [[ + + + || Quantum Leggings - when equipped increases player speed.|| + + ]], + createMachineInformationTable({ + { + name="voltage", + value="IV" + }, + { + name="powerCapacity", + value=string.format("%d EU",industrialtest.QuantumLeggings.capacity) + }, + { + name="Power per distance unit", + value=string.format("%d EU",industrialtest.QuantumLeggings._speedOpPower) + }, + { + name="opPower", + value=string.format("%d EU",industrialtest.QuantumLeggings:getPowerPerDamageForItem()) + }, + { + name="damageRed", + value=tostring(industrialtest.QuantumLeggings:getReducedDamageForItem()) + } + },S("Quantum Leggings"),3), + [[ + + + || Quantum Boots - when equipped increases player jump height and provides fall damage reduction.|| + + ]], + createMachineInformationTable({ + { + name="voltage", + value="IV" + }, + { + name="powerCapacity", + value=string.format("%d EU",industrialtest.QuantumBoots.capacity) + }, + { + name="Power per jump", + value=string.format("%d EU",industrialtest.QuantumBoots._jumpOpPower) + }, + { + name="Power per fall damage unit", + value=string.format("%d EU",industrialtest.QuantumBoots._fallDamageReductionOpPower) + }, + { + name="opPower", + value=string.format("%d EU",industrialtest.QuantumBoots:getPowerPerDamageForItem()) + }, + { + name="damageRed", + value=tostring(industrialtest.QuantumBoots:getReducedDamageForItem()) + } + },S("Quantum Boots"),4) + } } } diff --git a/tools/jetpack.lua b/tools/jetpack.lua index 46b51fc..d025eba 100644 --- a/tools/jetpack.lua +++ b/tools/jetpack.lua @@ -92,15 +92,16 @@ industrialtest.internal.unpackTableInto(industrialtest.ElectricJetpack,{ modelImage="industrialtest_electric_jetpack.png", flow=industrialtest.api.lvPowerFlow, capacity=30000, - prepare=industrialtest.ElectricItem.prepare + prepare=industrialtest.ElectricItem.prepare, + _opPower=10 }) function industrialtest.ElectricJetpack.tryFly(self,itemstack) local meta=itemstack:get_meta() - if meta:get_int("industrialtest.powerAmount")<10 then + if meta:get_int("industrialtest.powerAmount")