<?xml version="1.0" encoding="utf-8"?>
<Override>
  <Items>
    <Item name="Shortcircuit" identifier="effect_shortcircuit" tags="effect" category="Electrical" description="" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.3" damagedbyexplosions="true" explosiondamagemultiplier="0.2" impactsoundtag="impact_metal_light" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body width="88" height="23" density="15" />
      <Holdable handle1="0,0" handle2="0,0" holdangle="90" slots="RightHand,LeftHand" msg="ItemMsgPickUpSelect" canBeCombined="false">
        <!-- instantly damage the junction box the item is spawned in by 15% -->
        <StatusEffect type="Always" target="Parent" condition="-15" disabledeltatime="true" oneshot="true" />
        <!-- instantly apply extra load to the electrical grid from the junction box the item is spawned in -->
        <StatusEffect type="Always" target="Parent" extraload="2000" duration="1" setvalue="true" oneshot="true" />
        <!-- instantly use the item to trigger its electrical stun effect -->
        <StatusEffect type="Always" target="This" oneshot="true">
          <Use />
        </StatusEffect>
        <!-- remove the item -->
        <StatusEffect type="OnBroken" target="This" delay="1">
          <Remove />
        </StatusEffect>
      </Holdable>
      <ElectricalDischarger duration="0.15" range="250" rangemultiplierinwalls="0.1" outdoorsonly="false" powerconsumption="0" pickkey="Select">
        <Attack targetimpulse="50">
          <Affliction identifier="stun" strength="5" />
          <Affliction identifier="shocked" strength="5" />
          <Affliction identifier="burn" strength="10" />
          <Affliction identifier="emp" strength="1" multiplybymaxvitality="true" />
        </Attack>
        <!-- when used, apply sounds and visual effects and break the item by setting its condition to 0.0 -->
        <StatusEffect type="OnUse" target="This" condition="0.0" forceplaysounds="true" setvalue="true">
          <sound file="Content/Items/Weapons/WEAPONS_electricalDischarge1.ogg" range="600" selectionmode="random" />
          <sound file="Content/Items/Weapons/WEAPONS_electricalDischarge2.ogg" range="600" />
          <Explosion range="250.0" camerashake="15" stun="0" empstrength="0.1" force="0.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
        </StatusEffect>
      </ElectricalDischarger>
    </Item>
    <Item name="Water Electrifier" identifier="effect_electrifywater" tags="effect" category="Electrical" description="" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.3" damagedbyexplosions="true" explosiondamagemultiplier="0.2" impactsoundtag="impact_metal_light" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body width="88" height="23" density="15" />
      <Holdable handle1="0,0" handle2="0,0" holdangle="90" slots="RightHand,LeftHand" msg="ItemMsgPickUpSelect" canBeCombined="false">
        <!-- cause invisible explosion that applies afflictions -->
        <StatusEffect type="Always" target="This" interval="1">
          <Explosion range="450.0" camerashake="0" stun="0" force="0.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" playtinnitus="false">
            <Affliction identifier="burn" strength="5" />
            <Affliction identifier="junctionshocked" strength="1" />
          </Explosion>
        </StatusEffect>
        <StatusEffect type="Always" target="This" interval="0.15">
          <Use />
        </StatusEffect>
        <!-- remove the item if no longer in water -->
        <StatusEffect type="Always" target="This" interval="1" comparison="Or">
          <Conditional InWater="eq false" />
          <Conditional voltage="lt 0.1" targetcontainer="true" />
          <Conditional condition="gt 50" targetcontainer="true" />
          <Remove />
        </StatusEffect>
        <StatusEffect type="Always" target="This">
          <ParticleEmitter particle="electricwater" particleburstamount="5" particlespersecond="20" anglemin="0" anglemax="359" velocitymin="0" velocitymax="100" particleburstinterval="2" scalemin="0.5" scalemax="2" highqualitycollisiondetection="True" />
        </StatusEffect>
      </Holdable>
      <ElectricalDischarger duration="0.15" reload="0.0" range="900" rangemultiplierinwalls="0.1" outdoorsonly="false" powerconsumption="0" pickkey="Select">
        <Attack targetimpulse="0" />
      </ElectricalDischarger>
    </Item>
    <Item name="" identifier="effect_reactorcritical" Category="Hidden" Tags="effect,criticalstate" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Holdable handle1="0,0" slots="Any" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="Parent" condition="-4.0" />
        <StatusEffect type="Always" target="Parent" oneshot="true">
          <Sound file="Content/Items/Weapons/ExplosionLarge1.ogg" range="6000" />
          <SpawnItem identifier="effect_shortcircuit" spawnposition="This" />
        </StatusEffect>
        <StatusEffect type="Always" target="This">
          <Conditional condition="eq 0" targetcontainer="true" />
          <Remove />
        </StatusEffect>
        <StatusEffect type="Always" target="Parent">
          <ParticleEmitter particle="spark" particleburstamount="5" particlespersecond="5" anglemin="0" anglemax="359" velocitymin="100" velocitymax="500" particleburstinterval="2" scalemin="0.5" scalemax="1" mincondition="0.0" maxcondition="15.0" />
          <Sound file="%ModDir:3045796581%/Content/Items/Reactor/ReactorAlarmCritical.ogg" volume="3.0" range="4000" loop="true" />
        </StatusEffect>
        <StatusEffect type="Always" target="this" interval="0.5" spawnitemrandomly="true">
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_reactortempincreasecritstate" spawnposition="SameInventory" />
          <SpawnItem identifier="effect_firestarter" spawnposition="This" />
        </StatusEffect>
        <!-- remove the item after 30 seconds when spawned -->
        <StatusEffect type="Always" target="This" delay="30" oneshot="true">
          <Remove />
        </StatusEffect>
      </Holdable>
    </Item>
    <Item name="" identifier="effect_reactormalfunction1" Category="Hidden" Tags="effect,reactoreffect" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Holdable handle1="0,0" slots="Any" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="Parent" fissionrate="10" turbineoutput="0" autoTemp="true" interval="1" setvalue="true" disabledeltatime="true">
          <ParticleEmitter particle="steamspray" particlespersecond="100" anglemin="45" anglemax="45" velocitymin="75" velocitymax="150" underwaterbubble="true" highqualitycollisiondetection="true" />
        </StatusEffect>
        <StatusEffect type="Always" target="Parent" delay="0.1" autoTemp="false" setvalue="true"></StatusEffect>
        <!-- instantly remove the item when spawned after it applied its effect -->
        <StatusEffect type="Always" target="This" delay="0.1" oneshot="true" stackable="false">
          <Remove />
        </StatusEffect>
      </Holdable>
    </Item>
    <Item name="" identifier="effect_reactormalfunction2" Category="Hidden" Tags="effect,reactoreffect" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Holdable handle1="0,0" slots="Any" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="Parent" fissionrate="10" autoTemp="true">
          <ParticleEmitter particle="steamspray" particlespersecond="100" anglemin="45" anglemax="45" velocitymin="75" velocitymax="150" underwaterbubble="true" highqualitycollisiondetection="true" />
          <ParticleEmitter particle="steamspray" particlespersecond="100" anglemin="315" anglemax="315" velocitymin="75" velocitymax="150" underwaterbubble="true" highqualitycollisiondetection="true" />
        </StatusEffect>
        <!-- instantly remove the item when spawned after it applied its effect -->
        <StatusEffect type="Always" target="This" delay="14" oneshot="true" stackable="false">
          <Remove />
        </StatusEffect>
      </Holdable>
    </Item>
    <Item name="" identifier="effect_reactortempincreasecritstate" Category="Hidden" Tags="effect,reactoreffect" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Holdable handle1="0,0" slots="Any" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="Parent" temperature="10000">
          <ParticleEmitter particle="steamspray" particlespersecond="100" anglemin="45" anglemax="45" velocitymin="75" velocitymax="150" underwaterbubble="true" highqualitycollisiondetection="true" />
          <ParticleEmitter particle="steamspray" particlespersecond="100" anglemin="315" anglemax="315" velocitymin="75" velocitymax="150" underwaterbubble="true" highqualitycollisiondetection="true" />
        </StatusEffect>
        <!-- instantly remove the item when spawned after it applied its effect -->
        <StatusEffect type="Always" target="This" delay="3" oneshot="true">
          <Remove />
        </StatusEffect>
      </Holdable>
    </Item>
    <Item name="" identifier="effect_none" Category="Hidden" Tags="effect" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Holdable handle1="0,0" slots="Any" msg="ItemMsgPickUpSelect">
        <!-- instantly remove the item when spawned -->
        <StatusEffect type="Always" target="This" oneshot="true">
          <Remove />
        </StatusEffect>
      </Holdable>
    </Item>
    <Item name="" identifier="effect_firestarter" Category="Hidden" Tags="effect" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Holdable handle1="0,0" slots="Any" msg="ItemMsgPickUpSelect">
        <!-- instantly cause a fire and remove the item when spawned -->
        <StatusEffect type="Always" target="This" oneshot="true">
          <Fire size="10" />
          <Remove />
        </StatusEffect>
      </Holdable>
    </Item>
    <Item name="" identifier="irradiator" Category="Hidden" Tags="" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="true" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="0,0,1,1" />
      <Body radius="1" density="10" />
      <Wearable handle1="0,0" slots="HealthInterface" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="NearbyCharacters" range="200" multiplyafflictionsbymaxvitality="true" interval="1.0" disabledeltatime="true">
          <Affliction identifier="radiationsickness" amount="0.2" />
          <Affliction identifier="radiationsoundmedium" strength="100.0" />
          <Affliction identifier="contaminated" amount="0.2" />
        </StatusEffect>
        <!-- instantly trigger an invisible explosion to damage nearby items and irradiate nearby characters and remove the item when spawned -->
        <!-- Performance intensive
        <StatusEffect type="Always" target="This" interval="1.1" comparison="And" AllowWhenBroken="true">
          <Explosion ignorecover="false" range="600" itemdamage="0.2" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="contaminated" strength="2.0" />
            <Affliction identifier="radiationsickness" strength="2.0" />
            <Affliction identifier="radiationsoundlow" strength="100.0" />
          </Explosion>
          <Explosion ignorecover="false" range="400" itemdamage="0.0" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="radiationsoundmedium" strength="100.0" />
          </Explosion>
          <Remove />
        </StatusEffect>-->
      </Wearable>
    </Item>
    <Item name="" identifier="corpseirradiator1" Category="Hidden" Tags="" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="false" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="410,1,19,68" />
      <Body radius="1" density="10" />
      <Wearable handle1="0,0" slots="HealthInterface" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="NearbyCharacters" range="200" multiplyafflictionsbymaxvitality="true" interval="1.0" disabledeltatime="true">
          <Conditional radiationsickness="lt 10" />
          <Affliction identifier="irradiatelow" amount="1.0" />
          <Affliction identifier="radiationsoundlow" strength="100.0" />
        </StatusEffect>
        <!-- instantly trigger an invisible explosion to damage nearby items and irradiate nearby characters -->
        <!-- Performance intensive
        <StatusEffect type="Always" target="Character" interval="1.1" comparison="And" AllowWhenBroken="true">
          <Explosion ignorecover="false" range="600" itemdamage="0.2" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="contaminated" strength="2.0" />
            <Affliction identifier="radiationsickness" strength="2.0" />
            <Affliction identifier="radiationsoundlow" strength="100.0" />
          </Explosion>
          <Explosion ignorecover="false" range="300" itemdamage="0.0" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="radiationsoundmedium" strength="100.0" />
          </Explosion>
        </StatusEffect>-->
        <StatusEffect type="OnNotContained" target="This">
          <Remove />
        </StatusEffect>
      </Wearable>
    </Item>
    <Item name="" identifier="corpseirradiator2" Category="Hidden" Tags="" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="false" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="410,1,19,68" />
      <Body radius="1" density="10" />
      <Wearable handle1="0,0" slots="HealthInterface" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="NearbyCharacters" range="200" multiplyafflictionsbymaxvitality="true" interval="1.0" disabledeltatime="true">
          <Conditional radiationsickness="lt 50" />
          <Affliction identifier="irradiatemedium" amount="1.0" />
          <Affliction identifier="radiationsoundmedium" strength="100.0" />
        </StatusEffect>
        <!-- instantly trigger an invisible explosion to damage nearby items and irradiate nearby characters -->
        <!-- Performance intensive
        <StatusEffect type="Always" target="Character" interval="1.1" comparison="And" AllowWhenBroken="true">
          <Explosion ignorecover="false" range="600" itemdamage="0.2" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="contaminated" strength="2.0" />
            <Affliction identifier="radiationsickness" strength="2.0" />
            <Affliction identifier="radiationsoundlow" strength="100.0" />
          </Explosion>
          <Explosion ignorecover="false" range="300" itemdamage="0.0" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="radiationsoundmedium" strength="100.0" />
          </Explosion>
        </StatusEffect>-->
        <StatusEffect type="OnNotContained" target="This">
          <Remove />
        </StatusEffect>
      </Wearable>
    </Item>
    <Item name="" identifier="corpseirradiator3" Category="Hidden" Tags="" maxstacksize="1" cargocontaineridentifier="metalcrate" scale="0.5" spritecolor="255,255,255,0" noninteractable="false" hideinmenus="true">
      <Sprite texture="Content/Items/Tools/tools.png" depth="0.55" sourcerect="410,1,19,68" />
      <Body radius="1" density="10" />
      <Wearable handle1="0,0" slots="HealthInterface" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="NearbyCharacters" range="200" multiplyafflictionsbymaxvitality="true" interval="1.0" disabledeltatime="true">
          <Conditional radiationsickness="lt 125" />
          <Affliction identifier="irradiatehigh" amount="1.0" />
          <Affliction identifier="radiationsoundhigh" strength="100.0" />
        </StatusEffect>
        <!-- instantly trigger an invisible explosion to damage nearby items and irradiate nearby characters -->
        <!-- Performance intensive
        <StatusEffect type="Always" target="Character" interval="1.1" comparison="And" AllowWhenBroken="true">
          <Explosion ignorecover="false" range="600" itemdamage="0.2" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="contaminated" strength="2.0" />
            <Affliction identifier="radiationsickness" strength="2.0" />
            <Affliction identifier="radiationsoundlow" strength="100.0" />
          </Explosion>
          <Explosion ignorecover="false" range="300" itemdamage="0.0" structuredamage="0.0" ballastfloradamage="0" camerashake="0" camerashakerange="0" explosiondamage="0" force="0" flames="false" smoke="false" shockwave="false" sparks="false" flash="false" underwaterbubble="false">
            <Affliction identifier="radiationsoundmedium" strength="100.0" />
          </Explosion>
        </StatusEffect>-->
        <StatusEffect type="OnNotContained" target="This">
          <Remove />
        </StatusEffect>
      </Wearable>
    </Item>
  </Items>
</Override>