Files
barotrauma_ek/Items/Electricity/ekgunnery_devices.xml
2026-06-02 02:35:00 +03:00

317 lines
27 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="" identifier="ekgunnery_warheadsmall1" category="Equipment" Tags="logic,detonator" Scale="0.5">
<Sprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="0,0,96,80" origin="0.5,0.5" />
<BrokenSprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="0,80,96,80" maxcondition="10" origin="0.5,0.5" />
<ItemContainer canbeselected="true" hideitems="true" capacity="1" maxstacksize="1" itempos="0,0" containedstateindicatorstyle="explosive" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="uex">
<StatusEffect type="OnContaining" target="This" Condition="100.0" disabledeltatime="true" allowwhenbroken="true" />
<StatusEffect type="OnContaining" target="Contained" disabledeltatime="true" allowwhenbroken="true">
<Remove />
</StatusEffect>
</Containable>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="false" drawinventory="false" allowwhenbroken="true">
<Conditional condition="gt 10" />
</StatusEffect>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="true" drawinventory="true" allowwhenbroken="true">
<Conditional condition="lt 10" />
</StatusEffect>
<!--
<StatusEffect type="OnBroken" target="This">
<sound file="Content/Items/Weapons/ExplosionSmall1.ogg" selectionmode="Random" range="20000"/>
<sound file="Content/Items/Weapons/ExplosionSmall2.ogg" selectionmode="Random" range="20000"/>
<sound file="Content/Items/Weapons/ExplosionSmall3.ogg" selectionmode="Random" range="20000"/>
<ParticleEmitter particle="underwaterexplosion" copyentityangle="true" anglemin="0" anglemax="360" particleamount="1" scalemin="3.0" scalemax="3.0" />
<ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="50" velocitymin="100" velocitymax="2000" scalemin="1.0" scalemax="1.0" />
<Explosion range="350.0" structuredamage="30" itemdamage="400" stun="0.5" force="25.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5">
<Affliction identifier="bleeding" strength="30" />
<Affliction identifier="burn" strength="50" />
<Affliction identifier="lacerations" strength="80" />
<Affliction identifier="explosiondamage" strength="20" />
</Explosion>
</StatusEffect>
-->
<StatusEffect type="OnBroken" target="This" Condition="5" disabledeltatime="true" delay="0.1" />
</ItemContainer>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="activate" displayname="connection.activate">
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<sound file="Content/Items/Weapons/ExplosionMedium1.ogg" selectionmode="Random" range="10000" />
<sound file="Content/Items/Weapons/ExplosionMedium2.ogg" selectionmode="Random" range="10000" />
<sound file="Content/Items/Weapons/ExplosionMedium3.ogg" selectionmode="Random" range="10000" />
<ParticleEmitter particle="explosionfire" particleamount="20" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="1.5" scalemax="3.5" velocitymin="125" velocitymax="250" />
<ParticleEmitter particle="explosionsmoke" particleamount="4" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="2.5" scalemax="5.0" velocitymin="125" velocitymax="250" />
<ParticleEmitter particle="ekgunnery_hdimpactmedium" particleamount="1" velocitymin="0" velocitymax="0" scalemin="6" scalemax="8" />
<ParticleEmitter particle="ekgunnery_hdimpactlarge" particleamount="1" velocitymin="0" velocitymax="0" scalemin="3.0" scalemax="4.0" />
<ParticleEmitter particle="ekgunneryunderwaterexplosionfix" particleamount="1" scalemin="1.75" scalemax="2.0" />
<Explosion range="800.0" ballastfloradamage="110" structuredamage="150" levelwalldamage="500" itemdamage="1000" stun="3" force="25.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5" underwaterbubble="false">
<Affliction identifier="bleeding" strength="15" />
<Affliction identifier="burn" strength="125" />
<Affliction identifier="lacerations" strength="80" />
<Affliction identifier="explosiondamage" strength="20" />
</Explosion>
</StatusEffect>
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<Explosion range="1200.0" ballastfloradamage="110" structuredamage="1" levelwalldamage="250" itemdamage="250" stun="3" force="25.0" severlimbsprobability="0.5" onlyoutside="true" camerashake="0" camerashakerange="0" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" ignorecover="true">
<Affliction identifier="bleeding" strength="15" />
<Affliction identifier="burn" strength="75" />
<Affliction identifier="lacerations" strength="80" />
<Affliction identifier="explosiondamage" strength="40" />
</Explosion>
</StatusEffect>
</input>
<output name="condition_out" displayname="connection.conditionout" />
</ConnectionPanel>
<Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="0" mindeteriorationdelay="0" maxdeteriorationdelay="0" MinDeteriorationCondition="0" minsabotagecondition="0" RepairThreshold="0" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ordername.reload" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,216" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI" />
<RequiredItem items="nuclearaftereffectemitter" type="equipped" />
</Repairable>
</Item>
<Item name="" identifier="ekgunnery_warheadsmall2" category="Equipment" Tags="logic,detonator" Scale="0.5">
<Sprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="112,0,128,48" origin="0.5,0.5" />
<BrokenSprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="112,48,128,48" maxcondition="10" origin="0.5,0.5" />
<ItemContainer canbeselected="true" hideitems="true" capacity="1" maxstacksize="1" itempos="0,0" containedstateindicatorstyle="explosive" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="uex">
<StatusEffect type="OnContaining" target="This" Condition="100.0" disabledeltatime="true" allowwhenbroken="true" />
<StatusEffect type="OnContaining" target="Contained" disabledeltatime="true" allowwhenbroken="true">
<Remove />
</StatusEffect>
</Containable>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="false" drawinventory="false" allowwhenbroken="true">
<Conditional condition="gt 10" />
</StatusEffect>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="true" drawinventory="true" allowwhenbroken="true">
<Conditional condition="lt 10" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This" Condition="5" disabledeltatime="true" delay="0.1" />
</ItemContainer>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="activate" displayname="connection.activate">
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<sound file="Content/Items/Weapons/ExplosionMedium1.ogg" selectionmode="Random" range="10000" />
<sound file="Content/Items/Weapons/ExplosionMedium2.ogg" selectionmode="Random" range="10000" />
<sound file="Content/Items/Weapons/ExplosionMedium3.ogg" selectionmode="Random" range="10000" />
<ParticleEmitter particle="explosionfire" particleamount="20" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="1.5" scalemax="3.5" velocitymin="125" velocitymax="250" />
<ParticleEmitter particle="explosionsmoke" particleamount="4" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="2.5" scalemax="5.0" velocitymin="125" velocitymax="250" />
<ParticleEmitter particle="ekgunnery_hdimpactmedium" particleamount="1" velocitymin="0" velocitymax="0" scalemin="6" scalemax="8" />
<ParticleEmitter particle="ekgunnery_hdimpactlarge" particleamount="1" velocitymin="0" velocitymax="0" scalemin="3.0" scalemax="4.0" />
<ParticleEmitter particle="ekgunneryunderwaterexplosionfix" particleamount="1" scalemin="1.75" scalemax="2.0" />
<ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="50" velocitymin="100" velocitymax="2000" scalemin="1.0" scalemax="1.0" />
<Explosion range="800.0" ballastfloradamage="110" structuredamage="150" levelwalldamage="500" itemdamage="1000" stun="5" force="25.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5" underwaterbubble="false">
<Affliction identifier="bleeding" strength="15" />
<Affliction identifier="burn" strength="125" />
<Affliction identifier="lacerations" strength="80" />
<Affliction identifier="explosiondamage" strength="20" />
</Explosion>
</StatusEffect>
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<Explosion range="1200.0" ballastfloradamage="110" structuredamage="1" levelwalldamage="250" itemdamage="250" stun="3" force="25.0" severlimbsprobability="0.5" onlyoutside="true" camerashake="0" camerashakerange="0" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" ignorecover="true">
<Affliction identifier="bleeding" strength="15" />
<Affliction identifier="burn" strength="75" />
<Affliction identifier="lacerations" strength="80" />
<Affliction identifier="explosiondamage" strength="40" />
</Explosion>
</StatusEffect>
</input>
<output name="condition_out" displayname="connection.conditionout" />
</ConnectionPanel>
<Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="0" mindeteriorationdelay="0" maxdeteriorationdelay="0" MinDeteriorationCondition="0" minsabotagecondition="0" RepairThreshold="0" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ordername.reload" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,216" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI" />
<RequiredItem items="nuclearaftereffectemitter" type="equipped" />
</Repairable>
</Item>
<Item name="" identifier="ekgunnery_warheadmedium1" category="Equipment" Tags="logic,detonator" Scale="0.5">
<Sprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="256,0,128,128" origin="0.5,0.5" />
<BrokenSprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="256,128,128,128" maxcondition="10" origin="0.5,0.5" />
<ItemContainer canbeselected="true" hideitems="true" capacity="1" maxstacksize="1" itempos="0,0" containedstateindicatorstyle="explosive" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="c4block">
<StatusEffect type="OnContaining" target="This" Condition="100.0" disabledeltatime="true" allowwhenbroken="true" />
<StatusEffect type="OnContaining" target="Contained" disabledeltatime="true" allowwhenbroken="true">
<Remove />
</StatusEffect>
</Containable>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="false" drawinventory="false" allowwhenbroken="true">
<Conditional condition="gt 10" />
</StatusEffect>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="true" drawinventory="true" allowwhenbroken="true">
<Conditional condition="lt 10" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This" Condition="5" disabledeltatime="true" delay="0.1" />
</ItemContainer>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="activate" displayname="connection.activate">
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<sound file="Content/Items/Weapons/ExplosionLarge1.ogg" selectionmode="Random" range="15000" />
<sound file="Content/Items/Weapons/ExplosionLarge2.ogg" selectionmode="Random" range="15000" />
<ParticleEmitter particle="explosionfire" particleamount="20" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="1.5" scalemax="3.5" velocitymin="250" velocitymax="500" />
<ParticleEmitter particle="explosionsmoke" particleamount="4" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="2.5" scalemax="5.0" velocitymin="250" velocitymax="500" />
<ParticleEmitter particle="ekgunnery_hdimpactmedium" particleamount="1" velocitymin="0" velocitymax="0" scalemin="8" scalemax="10" />
<ParticleEmitter particle="ekgunnery_hdimpactlarge" particleamount="1" velocitymin="0" velocitymax="0" scalemin="4.0" scalemax="5.0" />
<ParticleEmitter particle="ekgunneryunderwaterexplosionfix" particleamount="1" scalemin="1.75" scalemax="2.0" />
<ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="50" velocitymin="100" velocitymax="2000" scalemin="1.0" scalemax="1.0" />
<Explosion range="1000.0" ballastfloradamage="110" structuredamage="225" levelwalldamage="600" itemdamage="1000" stun="5" force="25.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5" underwaterbubble="false">
<Affliction identifier="bleeding" strength="30" />
<Affliction identifier="burn" strength="150" />
<Affliction identifier="lacerations" strength="110" />
<Affliction identifier="explosiondamage" strength="40" />
</Explosion>
</StatusEffect>
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<Explosion range="1500.0" ballastfloradamage="110" structuredamage="1" levelwalldamage="300" itemdamage="250" stun="3" force="25.0" severlimbsprobability="0.5" onlyoutside="true" camerashake="0" camerashakerange="0" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" ignorecover="true">
<Affliction identifier="bleeding" strength="30" />
<Affliction identifier="burn" strength="75" />
<Affliction identifier="lacerations" strength="110" />
<Affliction identifier="explosiondamage" strength="80" />
</Explosion>
</StatusEffect>
</input>
<output name="condition_out" displayname="connection.conditionout" />
</ConnectionPanel>
<Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="0" mindeteriorationdelay="0" maxdeteriorationdelay="0" MinDeteriorationCondition="0" minsabotagecondition="0" RepairThreshold="0" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ordername.reload" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,216" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI" />
<RequiredItem items="nuclearaftereffectemitter" type="equipped" />
</Repairable>
</Item>
<Item name="" identifier="ekgunnery_warheadmedium2" category="Equipment" Tags="logic,detonator" Scale="0.5">
<Sprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="112,96,144,128" origin="0.5,0.5" />
<BrokenSprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="112,224,144,128" maxcondition="10" origin="0.5,0.5" />
<ItemContainer canbeselected="true" hideitems="true" capacity="1" maxstacksize="1" itempos="0,0" containedstateindicatorstyle="explosive" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="c4block">
<StatusEffect type="OnContaining" target="This" Condition="100.0" disabledeltatime="true" allowwhenbroken="true" />
<StatusEffect type="OnContaining" target="Contained" disabledeltatime="true" allowwhenbroken="true">
<Remove />
</StatusEffect>
</Containable>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="false" drawinventory="false" allowwhenbroken="true">
<Conditional condition="gt 10" />
</StatusEffect>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="true" drawinventory="true" allowwhenbroken="true">
<Conditional condition="lt 10" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This" Condition="5" disabledeltatime="true" delay="0.1" />
</ItemContainer>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="activate" displayname="connection.activate">
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<sound file="Content/Items/Weapons/ExplosionLarge1.ogg" selectionmode="Random" range="15000" />
<sound file="Content/Items/Weapons/ExplosionLarge2.ogg" selectionmode="Random" range="15000" />
<ParticleEmitter particle="explosionfire" particleamount="20" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="1.5" scalemax="3.5" velocitymin="250" velocitymax="500" />
<ParticleEmitter particle="explosionsmoke" particleamount="4" distancemin="0" distancemax="128" anglemin="-360" anglemax="360" scalemin="2.5" scalemax="5.0" velocitymin="250" velocitymax="500" />
<ParticleEmitter particle="ekgunnery_hdimpactmedium" particleamount="1" velocitymin="0" velocitymax="0" scalemin="8" scalemax="10" />
<ParticleEmitter particle="ekgunnery_hdimpactlarge" particleamount="1" velocitymin="0" velocitymax="0" scalemin="4.0" scalemax="5.0" />
<ParticleEmitter particle="ekgunneryunderwaterexplosionfix" particleamount="1" scalemin="1.75" scalemax="2.0" />
<ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="50" velocitymin="100" velocitymax="2000" scalemin="1.0" scalemax="1.0" />
<Explosion range="1000.0" ballastfloradamage="110" structuredamage="225" levelwalldamage="600" itemdamage="1000" stun="5" force="25.0" severlimbsprobability="0.5" decal="explosion" decalsize="0.5" underwaterbubble="false">
<Affliction identifier="bleeding" strength="30" />
<Affliction identifier="burn" strength="150" />
<Affliction identifier="lacerations" strength="110" />
<Affliction identifier="explosiondamage" strength="40" />
</Explosion>
</StatusEffect>
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<Explosion range="1500.0" ballastfloradamage="110" structuredamage="1" levelwalldamage="300" itemdamage="250" stun="3" force="25.0" severlimbsprobability="0.5" onlyoutside="true" camerashake="0" camerashakerange="0" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" ignorecover="true">
<Affliction identifier="bleeding" strength="30" />
<Affliction identifier="burn" strength="75" />
<Affliction identifier="lacerations" strength="110" />
<Affliction identifier="explosiondamage" strength="80" />
</Explosion>
</StatusEffect>
</input>
<output name="condition_out" displayname="connection.conditionout" />
</ConnectionPanel>
<Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="0" mindeteriorationdelay="0" maxdeteriorationdelay="0" MinDeteriorationCondition="0" minsabotagecondition="0" RepairThreshold="0" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ordername.reload" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,216" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI" />
<RequiredItem items="nuclearaftereffectemitter" type="equipped" />
</Repairable>
</Item>
<Item name="" identifier="ekgunnery_warheadnuclear1" category="Equipment" Tags="logic,detonator" Scale="0.5" spritecolor="200,200,200,255">
<Sprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="384,0,160,160" origin="0.5,0.5" />
<BrokenSprite texture="%ModDir%/Items/Electricity/ekgunnery_warheads.png" depth="0.8" sourcerect="384,160,160,160" maxcondition="10" origin="0.5,0.5" />
<ItemContainer canbeselected="true" hideitems="true" capacity="1" maxstacksize="1" itempos="0,0" containedstateindicatorstyle="explosive" msg="ItemMsgInteractSelect">
<GuiFrame relativesize="0.2,0.25" anchor="Center" minsize="140,170" maxsize="280,280" style="ItemUI" />
<Containable items="nucleardepthcharge">
<StatusEffect type="OnContaining" target="This" Condition="100.0" disabledeltatime="true" allowwhenbroken="true" />
<StatusEffect type="OnContaining" target="Contained" disabledeltatime="true" allowwhenbroken="true">
<Remove />
</StatusEffect>
</Containable>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="false" drawinventory="false" allowwhenbroken="true">
<Conditional condition="gt 10" />
</StatusEffect>
<StatusEffect type="Always" target="This" targetitemcomponent="ItemContainer" setvalue="true" canbeselected="true" drawinventory="true" allowwhenbroken="true">
<Conditional condition="lt 10" />
</StatusEffect>
<StatusEffect type="OnBroken" target="This" Condition="5" disabledeltatime="true" delay="0.1" />
</ItemContainer>
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
<RequiredItem items="screwdriver" type="Equipped" />
<input name="activate" displayname="connection.activate">
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<sound file="Content/Items/Weapons/ExplosionLarge1.ogg" selectionmode="Random" range="15000" />
<sound file="Content/Items/Weapons/ExplosionLarge2.ogg" selectionmode="Random" range="15000" />
<ParticleEmitter particle="ekgunnerynukeflash" particleamount="2" scalemin="3.5" scalemax="3.5" velocitymin="25" velocitymax="50" />
<ParticleEmitter particle="ekgunnerynukeshockwave" particleamount="2" velocitymin="25" velocitymax="50" />
<ParticleEmitter particle="ekgunneryunderwaterexplosionfix" particleamount="1" scalemin="1.75" scalemax="2.0" />
<ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="50" velocitymin="100" velocitymax="2000" scalemin="1.0" scalemax="1.0" />
<Explosion range="1000.0" structuredamage="1000" ballastfloradamage="1000" force="50.0" severlimbsprobability="1.5" camerashake="500" camerashakerange="50000" flashrange="10000" flashduration="5.0" screencolor="255,255,255,255" screencolorrange="5000" screencolorduration="3.0" underwaterbubble="false">
<Affliction identifier="burn" strength="300" />
<Affliction identifier="radiationsickness" strength="100" />
<Affliction identifier="explosiondamage" strength="400" />
<Affliction identifier="stun" strength="20" />
</Explosion>
<SpawnItem identifier="nuclearaftereffectemitter" spawnposition="This" />
</StatusEffect>
<StatusEffect type="OnUse" target="This" Condition="-60.0" disabledeltatime="true" stackable="false" delay="0.05">
<Conditional condition="gt 10" />
<Explosion range="1500.0" structuredamage="1000" ballastfloradamage="1000" force="50.0" severlimbsprobability="1.5" onlyoutside="true" camerashake="500" camerashakerange="50000" flashrange="10000" flashduration="5.0" screencolor="255,255,255,255" screencolorrange="5000" screencolorduration="3.0" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" ignorecover="true">
<Affliction identifier="burn" strength="300" />
<Affliction identifier="radiationsickness" strength="100" />
<Affliction identifier="explosiondamage" strength="400" />
<Affliction identifier="stun" strength="20" />
</Explosion>
</StatusEffect>
</input>
<output name="condition_out" displayname="connection.conditionout" />
</ConnectionPanel>
<Repairable selectkey="Action" header="mechanicalrepairsheader" deteriorationspeed="0" mindeteriorationdelay="0" maxdeteriorationdelay="0" MinDeteriorationCondition="0" minsabotagecondition="0" RepairThreshold="0" fixDurationHighSkill="5" fixDurationLowSkill="25" msg="ordername.reload" hudpriority="10">
<GuiFrame relativesize="0.2,0.16" minsize="400,180" maxsize="480,216" anchor="Center" relativeoffset="0.0,0.27" style="ItemUI" />
<RequiredItem items="nuclearaftereffectemitter" type="equipped" />
</Repairable>
</Item>
</Items>