Describe Quantum Suit in guide
This commit is contained in:
127
guide.lua
127
guide.lua
@@ -1601,6 +1601,133 @@ local pages={
|
|||||||
}
|
}
|
||||||
},S("Nano Boots"),4)
|
},S("Nano Boots"),4)
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name="quantumSuit",
|
||||||
|
title=S("Quantum Suit"),
|
||||||
|
icon="industrialtest:quantum_bodyarmor",
|
||||||
|
content={
|
||||||
|
[[
|
||||||
|
<big>||Quantum Suit||</big>
|
||||||
|
<left>
|
||||||
|
||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.||
|
||||||
|
</left>
|
||||||
|
<left>
|
||||||
|
||<item name="industrialtest:quantum_helmet" height="{{ITEM_HEIGHT}}"> <b>Quantum Helmet</b> - when equipped refills player breath allowing for staying underwater longer.||
|
||||||
|
</left>
|
||||||
|
]],
|
||||||
|
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")),
|
||||||
|
[[
|
||||||
|
<mono></mono>
|
||||||
|
<left>
|
||||||
|
||<item name="industrialtest:quantum_bodyarmor" height="{{ITEM_HEIGHT}}"> <b>Quantum Bodyarmor</b> - when equipped works like jetpack.||
|
||||||
|
</left>
|
||||||
|
]],
|
||||||
|
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),
|
||||||
|
[[
|
||||||
|
<mono></mono>
|
||||||
|
<left>
|
||||||
|
||<item name="industrialtest:quantum_leggings" height="{{ITEM_HEIGHT}}"> <b>Quantum Leggings</b> - when equipped increases player speed.||
|
||||||
|
</left>
|
||||||
|
]],
|
||||||
|
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),
|
||||||
|
[[
|
||||||
|
<mono></mono>
|
||||||
|
<left>
|
||||||
|
||<item name="industrialtest:quantum_boots" height="{{ITEM_HEIGHT}}"> <b>Quantum Boots</b> - when equipped increases player jump height and provides fall damage reduction.||
|
||||||
|
</left>
|
||||||
|
]],
|
||||||
|
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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -92,15 +92,16 @@ industrialtest.internal.unpackTableInto(industrialtest.ElectricJetpack,{
|
|||||||
modelImage="industrialtest_electric_jetpack.png",
|
modelImage="industrialtest_electric_jetpack.png",
|
||||||
flow=industrialtest.api.lvPowerFlow,
|
flow=industrialtest.api.lvPowerFlow,
|
||||||
capacity=30000,
|
capacity=30000,
|
||||||
prepare=industrialtest.ElectricItem.prepare
|
prepare=industrialtest.ElectricItem.prepare,
|
||||||
|
_opPower=10
|
||||||
})
|
})
|
||||||
|
|
||||||
function industrialtest.ElectricJetpack.tryFly(self,itemstack)
|
function industrialtest.ElectricJetpack.tryFly(self,itemstack)
|
||||||
local meta=itemstack:get_meta()
|
local meta=itemstack:get_meta()
|
||||||
if meta:get_int("industrialtest.powerAmount")<10 then
|
if meta:get_int("industrialtest.powerAmount")<self._opPower then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
industrialtest.api.addPowerToItem(itemstack,-10)
|
industrialtest.api.addPowerToItem(itemstack,-self._opPower)
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user