<?xml version="1.0" encoding="utf-8"?>
<Override>
  <Items>
    <Item name="Decontamination Shower" identifier="deconshower" allowattachitems="false" width="463" height="398" texturescale="1.0,1.0" scale="0.5" category="Decorative" isshootable="true" requireaimtouse="true">
      <sprite texture="%ModDir:3045796581%/Content/Items/Misc/DeconShower.png" sourcerect="0,0,187,414" depth="0.761" premultiplyalpha="false" origin="0.5,0.5" />
      <DecorativeSprite texture="%ModDir:3045796581%/Content/Items/Misc/DeconShower.png" sourcerect="188,0,187,414" depth="0.76" origin="0.5,0.5">
        <IsActiveConditional HasTag="deconsol" targetcontaineditem="true" />
      </DecorativeSprite>
      <DecorativeSprite texture="%ModDir:3045796581%/Content/Items/Misc/DeconShower.png" sourcerect="376,0,187,414" depth="0.77" origin="0.5,0.5" />
      <Price baseprice="180">
        <Price storeidentifier="merchantengineering" maxavailable="1" />
      </Price>
      <Deconstruct time="25">
        <Item identifier="aluminium" />
        <Item identifier="plastic" />
        <Item identifier="copper" />
      </Deconstruct>
      <Fabricate suitablefabricators="fabricator" requiredtime="35">
        <RequiredSkill identifier="mechanical" level="30" />
        <RequiredItem identifier="fpgacircuit" />
        <RequiredItem identifier="iron" />
        <RequiredItem identifier="aluminium" />
        <RequiredItem identifier="aluminium" />
        <RequiredItem identifier="plastic" />
        <RequiredItem identifier="plastic" />
      </Fabricate>
      <Body width="184" height="412" density="20" />
      <Controller canbeselected="true" selectkey="Select" UserPos="-1,0" direction="Right" hidehud="false" drawuserbehind="true" noninteractablewhenflippedy="true" comparison="And">
        <ActiveConditional HasTag="deconsol" targetcontaineditem="true" />
        <ActiveConditional condition="gt 0" targetcontaineditem="true" />
        <!-- don't allow entering the shower when wearing an exosuit -->
        <RequiredItem items="deepdivinglarge" type="Picked" requireempty="true" />
        <limbposition limb="RightHand" position="100,-200" allowusinglimb="false" />
        <limbposition limb="LeftHand" position="100,-200" allowusinglimb="false" />
        <StatusEffect type="OnActive" target="Character">
          <Conditional contaminated="gt 1" />
          <ReduceAffliction identifier="contaminated" amount="10.0" />
          <Affliction identifier="decontaminate" amount="1.0" />
          <Sound file="Content/Items/Tools/Sprayer.ogg" range="250.0" loop="true" />
        </StatusEffect>
        <StatusEffect type="OnActive" target="Contained,Character" Condition="-2.5">
          <Conditional contaminated="gt 1" />
          <RequiredItem items="deconsol" type="Contained" />
        </StatusEffect>
      </Controller>
      <Holdable canbepicked="true" selectkey="Select" pickkey="Action" slots="RightHand+LeftHand" holdpos="50,25" handle1="-10,-20" handle2="10,100" holdangle="-90" msg="ItemMsgDetachWrench" PickingTime="5.0" aimpos="65,-10" attachable="true" aimable="true">
        <RequiredItem items="wrench" type="Equipped" />
        <StatusEffect target="This" type="OnContained">
          <Conditional attached="false" targetitemcomponentname="Holdable" />
          <DropContainedItems />
        </StatusEffect>
      </Holdable>
      <ItemContainer canbeselected="true" selectkey="Aim" capacity="1" maxstacksize="1" hideitems="true" containedstateindicatorstyle="tank">
        <GuiFrame relativesize="0.1,0.15" anchor="BottomCenter" style="ItemUI" />
        <Containable items="deconsol" />
      </ItemContainer>
    </Item>
    <Item hideinmenus="true" name="Radioactive Waste" identifier="radioactivewaste" tags="radioactive" category="Misc" Scale="0.5" sonarsize="30">
      <Sprite texture="%ModDir:3045796581%/Content/Items/ER-ItemsAtlas.png" sourcerect="191,360,85,142" depth="0.65" origin="0.5,0.5" />
      <Body width="80" height="136" density="25" friction="0.8" />
      <Holdable canbepicked="true" slots="RightHand+LeftHand" holdpos="40,-40" handle1="0,53" handle2="0,53" holdangle="3" aimable="false" msg="ItemMsgPickUpSelect">
        <StatusEffect type="Always" target="This" range="250" interval="0.3" disabledeltatime="true">
          <Explosion range="250" itemdamage="0.1" 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="radiationsickness" strength="0.25" />
            <Affliction identifier="contaminated" strength="0.5" />
            <Affliction identifier="radiationsounds" strength="2.9" />
          </Explosion>
        </StatusEffect>
        <StatusEffect type="InWater" target="This" interval="2" SpawnItemRandomly="true">
          <SpawnItem identifier="radioactivewastebubble" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
          <SpawnItem identifier="effect_none" spawnposition="This" />
        </StatusEffect>
        <StatValue stattype="MovementSpeed" value="-0.5" />
      </Holdable>
      <LightComponent LightColor="30,100,120,50" range="300" IsOn="true" pulseamount="0.2" pulsefrequency="0.2" offset="0,0" allowingameediting="false">
        <IsActiveConditional InPlayerSubmarine="false" />
      </LightComponent>
      <LightComponent LightColor="30,100,120,255" range="50" IsOn="true" pulseamount="0.2" pulsefrequency="0.2" offset="0,0" allowingameediting="false">
        <sprite texture="%ModDir:3045796581%/Content/Items/ER-ItemsAtlas.png" sourcerect="277,360,85,142" origin="0.5,0.5" />
      </LightComponent>
      <AiTarget Soundrange="2000" sonardisruption="0.2" />
    </Item>
    <Item hideinmenus="true" name="Radioactive bubble" identifier="radioactivewastebubble" tags="radioactive" category="Misc" Scale="0.5" noninteractable="true" sonarsize="5" health="10">
      <Sprite texture="%ModDir:3045796581%/Content/Items/ER-ItemsAtlas.png" sourcerect="0,0,1,1" depth="0.66" origin="0.5,0.5" />
      <Body radius="10" density="2.5" />
      <Itemcomponent>
        <StatusEffect type="Always" target="This,NearbyCharacters" range="250" interval="0.3" condition="-0.333" disabledeltatime="true">
          <Affliction identifier="contaminated" strength="0.083" />
          <Affliction identifier="radiationsickness" strength="0.033" />
          <Affliction identifier="radiationsounds" strength="1.0" />
          <ParticleEmitter particle="risingbubbles" anglemin="85" anglemax="95" particleamount="2" velocitymin="120" velocitymax="120" scalemin="0.5" scalemax="1" lifetimemultiplier="1.5" />
        </StatusEffect>
        <StatusEffect type="NotInWater" target="This" condition="0" setvalue="true" />
        <StatusEffect type="OnBroken" target="This">
          <Remove />
        </StatusEffect>
      </Itemcomponent>
      <LightComponent LightColor="30,100,120,120" range="300" IsOn="true" pulseamount="0.2" pulsefrequency="0.2" offset="0,0" allowingameediting="false" />
      <AiTarget Soundrange="5000" sonardisruption="0.1" />
    </Item>
  </Items>
</Override>