<?xml version="1.0" encoding="utf-8"?>
<Items>
  <Item name="" identifier="handheldstatusmonitor" category="Equipment" Tags="smallitem,sonar,provocative" cargocontaineridentifier="metalcrate" allowasextracargo="true" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="divingcab"/>
    <Price baseprice="140" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="1.25" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Deconstruct time="15">
      <Item identifier="copper" />
      <Item identifier="plastic" amount="2" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="30" />
      <RequiredItem identifier="fpgacircuit" />
      <RequiredItem identifier="plastic" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="130,183,61,52" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="64,3,36,28" depth="0.55" origin="0.5,0.5" />
    <Body width="40" height="22" density="15" />
    <AiTarget sight="500" staticsight="true" />
    <Holdable slots="Any,RightHand,LeftHand" holdangle="30" handle1="-10,0" msg="ItemMsgPickUpSelect" />
    <MiniMap enableitemfinder="false" enablehullcondition="false" enableelectricalview="false" drawhudwhenequipped="true" displaybordersize="-0.1" characterusable="false" allowuioverlap="true">
      <GuiFrame relativesize="0.4,0.4" anchor="CenterLeft" relativeoffset="0.006,-0.01" style="ItemUI" />
    </MiniMap>
  </Item>
  <Item name="" identifier="repairpack" category="Equipment" Tags="smallitem,tool,electricalrepairtool,mechanicalrepairtool,wrench,wrenchitem,screwdriver,multitool" cargocontaineridentifier="metalcrate" allowasextracargo="true" Scale="0.5" impactsoundtag="impact_metal_light" addedrepairspeedmultiplier="0.2">
    <PreferredContainer primary="engcab"/>
    <Price baseprice="43" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="1.25" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Deconstruct time="5"/>
    <Fabricate suitablefabricators="fabricator" requiredtime="10" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="40" />
      <RequiredItem identifier="copper" />
      <RequiredItem identifier="silicon" />
      <RequiredItem identifier="tin" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="251,1,56,57" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="113,239,57,19" depth="0.55" origin="0.5,0.5" />
    <Body width="60" height="15" density="30" />
    <Holdable slots="Any,RightHand,LeftHand" handle1="0,0" holdangle="60" msg="ItemMsgPickUpSelect">
    </Holdable>
    <aitarget sightrange="500" soundrange="500" fadeouttime="1" />
    <Quality>
      <QualityStat stattype="RepairSpeed" value="0.1"/>
    </Quality>
  </Item>
  <Item name="" identifier="portablepump" tags="smallitem,donttakeitems" category="Machine" scale="0.5" damagedbyexplosions="true" explosiondamagemultiplier="0.2" allowasextracargo="true" impactsoundtag="impact_metal_heavy" isshootable="true">
    <PreferredContainer primary="engcab"/>
    <Price baseprice="520" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.2" />
      <Price storeidentifier="merchantcity" multiplier="1.2" />
      <Price storeidentifier="merchantresearch" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" multiplier="1.2" />
    </Price>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="0,312,58,56" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" depth="0.81" sourcerect="7,129,56,61" origin="0.5,0.5" />
    <Body width="50" height="55" density="25" />
    <Fabricate suitablefabricators="fabricator" requiredtime="30" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="50" />
      <RequiredItem identifier="dementonite" amount="2" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="fpgacircuit" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="copper" />
      <Item identifier="plastic" />
      <Item identifier="dementonite" />
      <Item identifier="steel" />
    </Deconstruct>
    <Pump canbeselected="true" maxflow="1000" PowerConsumption="60.0" MinVoltage="0.3" IsOn="false" msg="ItemMsgInteractSelect">
      <GuiFrame relativesize="0.25,0.2" minsize="420,220" anchor="Center" style="ItemUI" />
      <sound file="Content/Items/Pump/Pump.ogg" type="OnActive" range="1000.0" volumeproperty="CurrFlow" volume="0.001" loop="true" />
      <PumpInEmitter particle="bubbles" particlespersecond="5" position="28,-40" anglemin="90" anglemax="90" velocitymin="100" velocitymax="200" scalemin="0.5" scalemax="0.6" />
      <PumpInEmitter particle="watersplash" particlespersecond="50" position="28,-40" anglemin="90" anglemax="90" velocitymin="200" velocitymax="400" scalemin="0.5" scalemax="0.6" />
      <PumpOutEmitter particle="bubbles" particlespersecond="5" position="28,-40" anglemin="0" anglemax="360" velocitymin="0" velocitymax="0" scalemin="0.5" scalemax="0.6" />
      <StatusEffect type="OnActive" targettype="Contained" Condition="-10.0">
        <Conditional targetcontainer="true" flowpercentage="! 0" />
        <RequiredItem items="mobilebattery" type="Contained" />
      </StatusEffect>
      <!-- turn off automatically if not attached to a wall -->
      <StatusEffect type="OnActive" targettype="This" IsOn="false">
        <Conditional attached="false" targetitemcomponentname="Holdable"/>
      </StatusEffect>
    </Pump>
    <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" />
      <RequiredSkill identifier="electrical" level="55" />
      <StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand" AllowWhenBroken="true">
        <Sound file="Content/Sounds/Damage/Electrocution1.ogg" range="1000" />
        <Explosion range="100.0" force="1.0" flames="false" shockwave="false" sparks="true" underwaterbubble="false" />
        <Affliction identifier="stun" strength="4" probability="0.5" />
        <Affliction identifier="electricshock" strength="60"/>
        <Affliction identifier="burn" strength="5" />
        <ParticleEmitter particle="ElectricShock" DistanceMin="10" DistanceMax="25" ParticleAmount="5" ScaleMin="0.1" ScaleMax="0.12" />
      </StatusEffect>
      <RequiredItem items="screwdriver" type="Equipped" />
      <input name="toggle" displayname="connection.togglestate" />
      <input name="set_active" displayname="connection.setstate" />
      <input name="set_speed" displayname="connection.setpumpingspeed" />
      <input name="set_targetlevel" displayname="connection.settargetwaterlevel" />
    </ConnectionPanel>
    <Holdable selectkey="Select" pickkey="Use" slots="Any,RightHand,LeftHand" msg="ItemMsgDetachWrench" PickingTime="20.0" aimpos="65,-10" handle1="0,0" attachable="true" aimable="true" limitedattachable="true">
      <RequiredItem items="wrench,deattachtool" excludeditems="multitool" type="Equipped" />
    </Holdable>
    <ItemContainer capacity="1" maxstacksize="1" canbeselected="true" hideitems="true" hudpos="0.5,0.6" uilabel="entityname.portablepump">
      <GuiFrame relativesize="0.2,0.2" anchor="Center" relativeoffset="0,0.2" style="ItemUI" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="128,448,64,64" origin="0.5,0.5" />
      <Containable items="mobilebattery">
        <StatusEffect type="OnContaining" targettype="This" Voltage="1.0" setvalue="true" />
      </Containable>
    </ItemContainer>
  </Item>
  <Item name="" identifier="safetyharness" category="Equipment" tags="smallitem,clothing" scale="0.35" cargocontaineridentifier="metalcrate" allowasextracargo="true" description="" impactsoundtag="impact_soft">
    <PreferredContainer primary="crewcab" secondary="engcab"/>
    <Price baseprice="120" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.2" />
      <Price storeidentifier="merchantcity" multiplier="1.2" />
      <Price storeidentifier="merchantresearch" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" multiplier="1.2" />
    </Price>
    <Deconstruct time="20">
      <Item identifier="rubber" />
      <Item identifier="steel" />
      <Item identifier="organicfiber" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="30" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="25" />
      <RequiredItem identifier="rubber" amount="2" />
      <RequiredItem identifier="steel" />
      <RequiredItem identifier="organicfiber" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="198,132,67,57" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="58,326,143,40" depth="0.6" origin="0.5,0.5" />
    <Body width="120" height="35" density="15" />
    <Wearable slots="Any,OuterClothes" msg="ItemMsgPickUpSelect">
      <damagemodifier afflictionidentifiers="lacerations" armorsector="0.0,360.0" damagemultiplier="0.1" />
      <damagemodifier afflictiontypes="burn" armorsector="0.0,360.0" damagemultiplier="0.1" />
      <damagemodifier afflictiontypes="stun" armorsector="0.0,360.0" damagemultiplier="0.25" />
      <sprite name="safetyharness Torso" texture="safetyharness.png" limb="Torso" hidelimb="false" inherittexturescale="true" hideotherwearables="false" origin="0.45,0.5" inheritsourcerect="false" SourceRect="160,0,112,192" />
      <sprite name="safetyharness Right Hand" texture="safetyharness.png" limb="RightHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="safetyharness Left Hand" texture="safetyharness.png" limb="LeftHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="safetyharness Right Lower Arm" texture="safetyharness.png" limb="RightArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="safetyharness Left Lower Arm" texture="safetyharness.png" limb="LeftArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="safetyharness Right Upper Arm" texture="safetyharness.png" limb="RightForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="safetyharness Left Upper Arm" texture="safetyharness.png" limb="LeftForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <StatValue stattype="FlowResistance" value="0.9" />
    </Wearable>
  </Item>
  <Item name="" identifier="wrenchdementonite" descriptionidentifier="dementonitetool" variantof="wrench" allowasextracargo="true" inventoryiconcolor="136,142,166,255" spritecolor="136,142,166" addedrepairspeedmultiplier="0.4">
    <Preferredcontainer secondary="respawncontainer" amount="1"  spawnprobability="0" notcampaign="true"/>
    <PreferredContainer primary="engcab"  spawnprobability="0"/>
    <PreferredContainer secondary="wreckstoragecab,abandonedstoragecab,piratestoragecab"  spawnprobability="0" />
    <PreferredContainer primary="wreckengcab,abandonedengcab,pirateengcab,outpostengcab,beaconengcab"  spawnprobability="0"/>
    <PreferredContainer secondary="outpostcrewcabinet" spawnprobability="0"/>
    <PreferredContainer secondary="outposttrashcan" spawnprobability="0" />
    <Price baseprice="450" sold="false" canbespecial="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Deconstruct>
      <Item identifier="iron" />
      <Item identifier="dementonite" />
    </Deconstruct>
    <Fabricate />
    <MeleeWeapon reload="*0.9">
      <Attack targetimpulse="8">
        <Affliction identifier="blunttrauma" strength="8.5" />
        <Affliction identifier="psychosis" strength="5" />
        <Affliction identifier="stun" strength="0.2" />
      </Attack>
      <StatusEffect type="OnFailure" target="Character">
        <Sound file="Content/Items/Alien/AlienTurret1.ogg" range="500" />
        <Affliction identifier="psychosis" strength="10" />
      </StatusEffect>
    </MeleeWeapon>
  </Item>
  <Item name="" identifier="crowbardementonite" descriptionidentifier="dementonitetool" variantof="crowbar" allowasextracargo="true" inventoryiconcolor="136,142,166,255" spritecolor="136,142,166" addedpickingspeedmultiplier="0.6">
    <PreferredContainer secondary="respawncontainer" amount="1" spawnprobability="0" notcampaign="true"/>
    <PreferredContainer primary="engcab" spawnprobability="0"/>
    <PreferredContainer secondary="wreckstoragecab,abandonedstoragecab,piratestoragecab" spawnprobability="0" />
    <PreferredContainer primary="wreckengcab,abandonedengcab,pirateengcab,outpostengcab,beaconengcab" spawnprobability="0" />
    <PreferredContainer secondary="outpostcrewcabinet" spawnprobability="0" />
    <Price baseprice="450" sold="false" canbespecial="false" />
    <Deconstruct>
      <Item identifier="iron" />
      <Item identifier="dementonite" />
    </Deconstruct>
    <Fabricate />
    <MeleeWeapon reload="*0.9">
      <Attack targetimpulse="13">
        <Affliction identifier="blunttrauma" strength="18" />
        <Affliction identifier="psychosis" strength="5" />
        <Affliction identifier="stun" strength="0.5" />
      </Attack>
      <StatusEffect type="OnFailure" target="Character">
        <Sound file="Content/Items/Alien/AlienTurret1.ogg" range="500" />
        <Affliction identifier="psychosis" strength="10" />
      </StatusEffect>
      <StatusEffect type="OnSuccess" target="Character">
        <Sound file="Content/Items/Alien/AlienTurret2.ogg" range="500" />
        <Affliction identifier="psychosis" strength="5" probability="0.05" />
      </StatusEffect>
    </MeleeWeapon>
  </Item>
  <Item name="" identifier="screwdriverdementonite" descriptionidentifier="dementonitetool" variantof="screwdriver" allowasextracargo="true" inventoryiconcolor="136,142,166,255" spritecolor="136,142,166" addedrepairspeedmultiplier="0.4">
    <PreferredContainer secondary="respawncontainer" spawnprobability="0" notcampaign="true"/>
    <PreferredContainer primary="reactorcab,engcab" spawnprobability="0"/>
    <PreferredContainer secondary="wreckstoragecab,abandonedstoragecab,piratestoragecab"  spawnprobability="0"/>
    <PreferredContainer primary="wreckengcab,abandonedengcab,pirateengcab,outpostengcab,beaconengcab" spawnprobability="0"/>
    <PreferredContainer primary="wreckreactorcab,abandonedreactorcab,piratereactorcab" spawnprobability="0" />
    <PreferredContainer secondary="outpostcrewcabinet" spawnprobability="0" />
    <PreferredContainer secondary="outposttrashcan" spawnprobability="0" />
    <Price baseprice="450" sold="false" canbespecial="false" />
    <Deconstruct>
      <Item identifier="iron" />
      <Item identifier="dementonite" />
    </Deconstruct>
    <Fabricate />
    <MeleeWeapon reload="*0.9">
      <Attack targetimpulse="8">
        <Affliction identifier="lacerations" strength="7.5" />
        <Affliction identifier="psychosis" strength="5" />
        <Affliction identifier="stun" strength="0.05" />
      </Attack>
      <StatusEffect type="OnFailure" target="Character">
        <Sound file="Content/Items/Alien/AlienTurret1.ogg" range="500" />
        <Affliction identifier="psychosis" strength="10" />
      </StatusEffect>
    </MeleeWeapon>
  </Item>
  <Item name="" identifier="divingknifedementonite" descriptionidentifier="dementonitetool" variantof="divingknife" allowasextracargo="true" inventoryiconcolor="136,142,166,255" spritecolor="136,142,166">
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" spawnprobability="0"/>
    <PreferredContainer secondary="abandonedstoragecab,piratestoragecab" spawnprobability="0"/>
    <PreferredContainer secondary="beaconsupplycab" spawnprobability="0"/>
    <PreferredContainer primary="armcab,secarmcab" spawnprobability="0" />
    <Price baseprice="450" sold="false" canbespecial="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" />
      <Price storeidentifier="merchantmilitary" multiplier="1.25" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Deconstruct>
      <Item identifier="iron" />
      <Item identifier="dementonite" />
    </Deconstruct>
    <Fabricate />
    <MeleeWeapon reload="*0.9">
      <Attack targetimpulse="4" itemdamage="3">
        <Affliction identifier="lacerations" strength="10" />
        <Affliction identifier="bleeding" strength="10" />
        <Affliction identifier="psychosis" strength="5" />
        <Affliction identifier="stun" strength="0.2" />
      </Attack>
      <StatusEffect type="OnUse" target="Character">
        <Sound file="Content/Items/Alien/AlienTurret2.ogg" range="500" />
        <Affliction identifier="psychosis" strength="5" probability="0.05" />
      </StatusEffect>
    </MeleeWeapon>
  </Item>
  <Item name="" identifier="fixfoamgrenade" category="Equipment" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="explosivecrate" allowasextracargo="true" tags="smallitem,weapon,explosive,demolitionsexpert,handgrenade" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="engcab" secondary="locker"/>
    <Price baseprice="95" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.1" />
      <Price storeidentifier="merchantcity" multiplier="1.3" />
      <Price storeidentifier="merchantresearch" multiplier="1.2" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" multiplier="0.9" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="sodium" mincondition="1.0" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="35" />
      <RequiredItem identifier="steel" />
      <RequiredItem identifier="sodium" />
      <RequiredItem identifier="phosphorus" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="64,114,66,62" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="130,0,29,62" depth="0.55" origin="0.5,0.5" />
    <Body width="30" height="62" density="30" />
    <Throwable characterusable="false" slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Weapons/StunGrenade.ogg" range="2000" />
        <Explosion range="200" force="0.5" smoke="false" flames="false" underwaterbubble="false" sparks="false" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Explosion range="1000" force="0.0" camerashake="0" smoke="false" flames="false" flash="false" sparks="false" underwaterbubble="false" structuredamage="-200" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This" duration="3.0" soundselectionmode="All">
        <sound file="Content/Items/Tools/Sprayer.ogg" range="1000" volume="0.5" />
        <sound file="Content/Items/Tools/FlareLoop.ogg" range="1000" />
        <ParticleEmitter particle="fixfoam" anglemax="360" velocitymin="4000" velocitymax="4000" particlespersecond="64" />
        <ParticleEmitter particle="fixfoamgoosplash" anglemax="360" distancemax="10" particlespersecond="60" />
        <ParticleEmitter particle="fixfoamgoosplash" anglemax="360" distancemax="10" scalemultiplier="2.0,2.0" particlespersecond="20" />
      </StatusEffect>
      <StatusEffect type="OnUse" targettype="This" Condition="0" setvalue="true" comparison="OR">
        <Conditional HasTag="detonator" targetcontainer="true" />
        <Conditional HasTag="railgunammo" targetcontainer="true" />
        <Conditional HasTag="depthchargeammo" targetcontainer="true" />
      </StatusEffect>
      <StatusEffect type="OnSecondaryUse" target="This" disabledeltatime="true" checkconditionalalways="true">
        <Conditional IsActive="false" targetitemcomponent="ItemComponent" />
        <Use />
      </StatusEffect>
    </Throwable>
    <ItemComponent IsActive="false" CharacterUsable="true">
      <!--reduce condition by 1 to mark the user as the one responsible for the item breaking and exploding -->
      <StatusEffect type="OnUse" targettype="This" IsActive="true" DontCleanUp="true" comparison="AND" condition="-1">
        <Conditional HasTag="neq detonator" targetcontainer="true" />
        <Conditional HasTag="neq railgunammo" targetcontainer="true" />
        <Conditional HasTag="neq depthchargeammo" targetcontainer="true" />
        <Conditional IsActive="false" targetitemcomponent="ItemComponent" />
        <!-- No lever cause it has no lever on the sprite-->
        <ParticleEmitter particle="grenadepin" emitinterval="10" particleamount="1" anglemin="70" anglemax="100" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <Sound file="Content/Items/Weapons/pinpull.ogg" type="OnUse" range="720" />
      </StatusEffect>
      <!-- shorter fuze time -->
      <StatusEffect type="OnActive" targettype="This" Condition="-30">
        <ParticleEmitter particle="flamethrowersmoke" particlespersecond="25" anglemin="0" anglemax="0" velocitymin="75" velocitymax="125" copyentityangle="true" scalemin="0.1" scalemax="0.15" colormultiplier="255,255,255,150" />
      </StatusEffect>
    </ItemComponent>
    <Quality>
      <QualityStat stattype="ExplosionRadius" value="0.2" />
    </Quality>
  </Item>
  <Item name="" identifier="heavywrench" variantof="wrench" addedrepairspeedmultiplier="0.4">
    <Preferredcontainer secondary="respawncontainer" amount="1"  spawnprobability="0" notcampaign="true"/>
    <PreferredContainer primary="engcab"  spawnprobability="0"/>
    <PreferredContainer secondary="wreckstoragecab,abandonedstoragecab,piratestoragecab"  spawnprobability="0" />
    <PreferredContainer primary="wreckengcab,abandonedengcab,pirateengcab,outpostengcab,beaconengcab"  spawnprobability="0"/>
    <PreferredContainer secondary="outpostcrewcabinet" spawnprobability="0"/>
    <PreferredContainer secondary="outposttrashcan" spawnprobability="0" />
    <Price baseprice="190" sold="false" />
    <Deconstruct>
      <Item identifier="steel" />
      <Item identifier="titanium" />
    </Deconstruct>
    <Fabricate requiresrecipe="true">
      <RequiredItem identifier="titanium" amount="2" />
      <RequiredItem identifier="steel" />
    </Fabricate>
    <!-- disable base inventory icon -->
    <InventoryIcon />
    <Sprite texture="Content/Items/Jobgear/TalentGear.png" sourcerect="157,492,114,20" depth="0.55" origin="0.5,0.5" />
    <Body width="114" height="20" density="30" />
    <MeleeWeapon slots="RightHand+LeftHand,Any" range="100" reload="1.1" controlpose="true" aimpos="45,10" handle1="-10,0" handle2="0,5" holdangle="60" combatpriority="20">
      <StatusEffect type="OnFailure" target="This" reload="1.5" setvalue="true" />
      <StatusEffect type="OnUse" target="This" reload="1.1" setvalue="true" delay="1.4"/>
      <RequiredSkill identifier="mechanical" level="40" />
      <Attack targetimpulse="15" structuredamage="9" itemdamage="9">
        <Affliction identifier="blunttrauma" strength="25" />
        <Affliction identifier="stun" strength="1" />
        <StatusEffect type="OnUse" target="UseTarget">
          <Conditional entitytype="eq Character"/>
          <Sound file="Content/Items/Weapons/Smack1.ogg" selectionmode="random" range="500"/>
          <Sound file="Content/Items/Weapons/Smack2.ogg" range="500" />
        </StatusEffect>
        <StatusEffect type="OnUse" target="Character" >
          <Conditional skillrequirement="true" mechanical="lt 40" />
          <Affliction identifier="stun" strength="0.3" />
        </StatusEffect>
      </Attack>
      <!-- Use either this or the one above. The effect here has a random factor. The one above is deterministic.
      <StatusEffect type="OnFailure" target="Character">
        <Affliction identifier="stun" strength="0.3" />
      </StatusEffect>
      -->
    </MeleeWeapon>
    <SkillRequirementHint identifier="mechanical" level="40"/>
  </Item>
  <Item name="" identifier="makeshiftarmor" category="Equipment" tags="smallitem,clothing" scale="0.5" cargocontaineridentifier="metalcrate" description="" impactsoundtag="impact_metal_heavy">
    <PreferredContainer primary="secarmcab" amount="0" notcampaign="true"/>
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab,outpostarmcab" amount="1" spawnprobability="0.01" />
    <Price baseprice="140" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.3" />
      <Price storeidentifier="merchantcity" multiplier="1.2" />
      <Price storeidentifier="merchantresearch"  />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" />
      <Price storeidentifier="merchantmine"  />
      <Price storeidentifier="merchantarmory" multiplier="0.9" />
    </Price>
    <Deconstruct time="40">
      <Item identifier="organicfiber" amount="1" />
      <Item identifier="iron" amount="4" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="30" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="20" />
      <RequiredSkill identifier="mechanical" level="20" />
      <RequiredItem identifier="organicfiber" amount="2" />
      <RequiredItem identifier="iron" amount="6" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/Diving/MakeshiftArmor.png" sourcerect="448,0,64,64" origin="0.5,0.5" />
    <Sprite name="Makeshift Armor Item" texture="Content/Items/Diving/MakeshiftArmor.png" sourcerect="167,25,86,126" depth="0.55" origin="0.5,0.5" />
    <Body width="62" height="120" density="30" />
    <Wearable slots="Any,OuterClothes" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnWearing" target="Character" SpeedMultiplier="0.7" setvalue="true" disabledeltatime="true" />
      <damagemodifier afflictionidentifiers="bitewounds, lacerations" armorsector="0.0,360.0" damagemultiplier="0.4" damagesound="LimbArmor" deflectprojectiles="true" />
      <damagemodifier afflictiontypes="bleeding" armorsector="0.0,360.0" damagemultiplier="0.3" damagesound="LimbArmor" deflectprojectiles="true" />
      <damagemodifier afflictiontypes="stun" armorsector="0.0,360.0" damagemultiplier="0.5" damagesound="LimbArmor" deflectprojectiles="true" />
      <sprite name="Makeshift Armor Torso" texture="Content/Items/Diving/MakeshiftArmor.png" limb="Torso" hidelimb="false" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Right Hand" texture="Content/Items/Diving/MakeshiftArmor.png" limb="RightHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Left Hand" texture="Content/Items/Diving/MakeshiftArmor.png" limb="LeftHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Right Upper Arm" texture="Content/Items/Diving/MakeshiftArmor.png" limb="RightArm" depthlimb="RightForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Left Upper Arm" texture="Content/Items/Diving/MakeshiftArmor.png" limb="LeftArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Right Forearm" texture="Content/Items/Diving/MakeshiftArmor.png" limb="RightForearm" depthlimb="RightArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Left Forearm" texture="Content/Items/Diving/MakeshiftArmor.png" limb="LeftForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Waist" texture="Content/Items/Diving/MakeshiftArmor.png" limb="Waist" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Right Thigh" texture="Content/Items/Diving/MakeshiftArmor.png" limb="RightThigh" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Left Thigh" texture="Content/Items/Diving/MakeshiftArmor.png" limb="LeftThigh" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Right Leg" texture="Content/Items/Diving/MakeshiftArmor.png" limb="RightLeg" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Left Leg" texture="Content/Items/Diving/MakeshiftArmor.png" limb="LeftLeg" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Left Shoe" texture="Content/Items/Diving/MakeshiftArmor.png" limb="LeftFoot" sound="footstep_armor_heavy" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Makeshift Armor Right Shoe" texture="Content/Items/Diving/MakeshiftArmor.png" limb="RightFoot" sound="footstep_armor_heavy" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <StatValue stattype="FlowResistance" value="0.5" />
      <StatValue stattype="PropulsionSpeed" value="-0.3" />
    </Wearable>
  </Item>
  <Item name="" identifier="ironhelmet" category="Equipment" tags="smallitem" cargocontaineridentifier="metalcrate" description="" impactsoundtag="impact_metal_heavy" scale="0.325">
    <PreferredContainer primary="secarmcab" amount="0" notcampaign="true"/>
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab,outpostarmcab" amount="1" spawnprobability="0.01" />
    <PreferredContainer secondary="armcab"/>
    <Price baseprice="50" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.3" />
      <Price storeidentifier="merchantcity" multiplier="1.2" />
      <Price storeidentifier="merchantresearch"  />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" />
      <Price storeidentifier="merchantmine"  />
      <Price storeidentifier="merchantarmory" multiplier="0.9" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="iron" amount="2" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="20" />
      <RequiredSkill identifier="mechanical" level="20" />
      <RequiredItem identifier="iron" amount="4" />
    </Fabricate> 
    <Body width="70" height="80" density="30"/>
    <Sprite name="Makeshift Helmet Item" texture="Content/Items/Jobgear/headgears.png" sourcerect="249,529,90,102" depth="0.6" origin="0.5,0.5" />
    <Wearable slots="Any,Head" armorvalue="20.0" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnWearing" target="Character" HideFace="true" ObstructVision="true" SpeedMultiplier="0.9" setvalue="true" disabledeltatime="true" />
      <damagemodifier afflictionidentifiers="lacerations, bitewounds" armorsector="0.0,360.0" damagemultiplier="0.15" damagesound="LimbArmor" deflectprojectiles="true" />
      <damagemodifier afflictiontypes="bleeding" armorsector="0.0,360.0" damagemultiplier="0.2" damagesound="LimbArmor" deflectprojectiles="true" />
      <sprite name="Iron Helmet" texture="Content/Items/Jobgear/headgears.png" limb="Head" inheritlimbdepth="true" inheritscale="true" ignorelimbscale="true" scale="0.65" hidewearablesoftype="Hair" sourcerect="249,529,90,102" origin="0.5,0.5" />
    </Wearable>
  </Item>
  
  <Item name="" identifier="exosuit" category="Diving,Equipment" tags="diving,deepdiving,deepdivinglarge,human" scale="0.605" fireproof="true" description="" isshootable="true" allowdroppingonswapwith="diving" impactsoundtag="impact_metal_heavy" botpriority="0.5" cargocontaineridentifier="">
    <Price baseprice="80" canbespecial="false" sold="false" />
    <Deconstruct time="30">
      <Item identifier="titaniumaluminiumalloy" />
      <Item identifier="titaniumaluminiumalloy" />
      <Item identifier="titaniumaluminiumalloy" />
      <Item identifier="rubber" />
      <Item identifier="rubber" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="45" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="60" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="4" />
      <RequiredItem identifier="rubber" amount="3" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/Jobgear/Mechanic/Exosuit.png" sourcerect="384,384,128,128" origin="0.5,0.5" />
    <Sprite name="Exosuit Item" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" sourcerect="2,266,203,244" depth="0.55" origin="0.5,0.5" />
    <Body width="150" height="230" density="30" />
    <Wearable slots="OuterClothes" msg="ItemMsgEquipSelect" displaycontainedstatus="true" canbeselected="false" canbepicked="true" pickkey="Select" allowusewhenworn="true">
      <sprite name="Exosuit Helmet Wearable" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="Head" hidelimb="true" inheritlimbdepth="true" inheritscale="true" ignorelimbscale="true" scale="0.65" hideotherwearables="true" hidewearablesoftype="" sourcerect="0,0,1,1" origin="0.5,0.5" />
      <sprite name="Exosuit Torso" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="Torso" scale="1.2" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="false" origin="0.5,0.8" inheritlimbdepth="true" inheritsourcerect="false" sourcerect="167,1,203,193">
        <LightComponent range="200.0" lightcolor="250,224,165,255" powerconsumption="10" IsOn="true" allowingameediting="false" offset="-50,-50">
          <LightTexture texture="Content/Lights/divinghelmetlight.png" origin="0.05, 0.5" size="1.0,1.0" />          
        </LightComponent>
      </sprite>
      <sprite name="Exosuit Right Hand" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="RightHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="false" inheritlimbdepth="true" SourceRect="383,160,64,48" />
      <sprite name="Exosuit Left Hand" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="LeftHand" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="false" SourceRect="447,160,64,48" />
      <sprite name="Exosuit Right Upper Arm" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="RightArm" depthlimb="RightForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="false" inheritlimbdepth="true" SourceRect="383,0,64,96" />
      <sprite name="Exosuit Left Upper Arm" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="LeftArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="false" SourceRect="447,0,64,96" />
      <sprite name="Exosuit Right Forearm" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="RightForearm" depthlimb="RightArm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="false" inheritlimbdepth="true" SourceRect="383,96,64,64" />
      <sprite name="Exosuit Left Forearm" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="LeftForearm" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="false" SourceRect="447,96,64,64"  />    
      <sprite name="Exosuit Waist" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="Waist" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="false" origin="0.5,0.5" inheritsourcerect="false" inheritlimbdepth="true" sourcerect="182,196,178,53" />
      <sprite name="Exosuit Right Thigh" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="RightThigh" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="false" origin="0.5,0.5" inheritsourcerect="false" inheritlimbdepth="true" sourcerect="0,0,96,112" />
      <sprite name="Exosuit Left Thigh" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="LeftThigh" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="false" origin="0.5,0.5" inheritsourcerect="false" sourcerect="0,0,96,112" />
      <sprite name="Exosuit Right Leg" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="RightLeg" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritlimbdepth="true" inheritsourcerect="true" />
      <sprite name="Exosuit Left Leg" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="LeftLeg" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="true" inheritsourcerect="true" />
      <sprite name="Exosuit Left Shoe" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="LeftFoot" sound="footstep_armor_heavy" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="false" origin="0.2,0.5" inheritsourcerect="false" sourcerect="371,211,133,37" />
      <sprite name="Exosuit Right Shoe" texture="Content/Items/Jobgear/Mechanic/Exosuit.png" limb="RightFoot" sound="footstep_armor_heavy" hidelimb="true" inherittexturescale="true" hideotherwearables="true" inheritorigin="false" origin="0.2,0.5" inheritsourcerect="false" sourcerect="371,211,133,37" />
      <StatusEffect type="OnWearing" target="Character" OxygenAvailable="-100.0" UseHullOxygen="false" />
      <StatusEffect type="OnWearing" target="Character" LowPassMultiplier="0.2" HideFace="true" ObstructVisionAmount="0.5" PressureProtection="7000.0" setvalue="true" disabledeltatime="true">
        <Sound file="Content/Items/Diving/DivingSuitLoop1.ogg" range="250" loop="true"/>
        <Sound file="Content/Items/Diving/DivingSuitLoop2.ogg" range="250" loop="true"/>
        <TriggerAnimation Type="Walk" FileName="HumanWalkExosuit" priority="1" ExpectedSpecies="Human" />
        <!-- high prio for run animation so e.g. affliction-based run animations won't make the character run faster -->
        <TriggerAnimation Type="Run" FileName="HumanRunExosuit" priority="10" ExpectedSpecies="Human" />
      </StatusEffect>
      <!-- no HMG stun -->
      <StatusEffect type="OnWearing" target="Character" interval="0.9" disabledeltatime="true">
        <Affliction identifier="recoilstabilized" amount="1" />
      </StatusEffect>
      <StatusEffect type="OnWearing" target="Contained,Character" Condition="-0.1" interval="1" disabledeltatime="true" targetslot="1" comparison="Or">
        <Conditional IsDead="false" />
        <RequiredItem items="divingsuitfuel" targetslot="1" type="Contained" />
      </StatusEffect>
      <!-- 0 movement speed when out of fuel-->
      <StatusEffect type="OnWearing" target="This,Character" SpeedMultiplier="-10.0" setvalue="true" disabledeltatime="true">
        <Conditional Voltage="lte 0.5" />
      </StatusEffect>
      <damagemodifier armorsector="0.0,360.0" afflictionidentifiers="blunttrauma,gunshotwound,lacerations,explosiondamage" damagemultiplier="0.2" damagesound="LimbArmor" deflectprojectiles="true" />
      <damagemodifier armorsector="0.0,360.0" afflictionidentifiers="bitewounds, bleeding" damagemultiplier="0.25" probabilitymultiplier="0.5" damagesound="LimbArmor" deflectprojectiles="true" />
      <damagemodifier armorsector="0.0,360.0" afflictiontypes="stun" damagemultiplier="0.5" probabilitymultiplier="0.25" damagesound="LimbArmor" deflectprojectiles="true" />
      <damagemodifier armorsector="0.0,360.0" afflictiontypes="burn" damagemultiplier="0.5" damagesound="" deflectprojectiles="true" />
      <damagemodifier armorsector="0.0,360.0" afflictionidentifiers="radiationsickness" damagemultiplier="0.75" damagesound="LimbArmor"/>
      <damagemodifier armorsector="0.0,360.0" afflictionidentifiers="huskinfection" probabilitymultiplier="0.1" damagesound="LimbArmor"/>
      <sound file="Content/Items/Weapons/WEAPONS_chargeUp.ogg" type="OnWearing" range="500.0" volumeproperty="Speed" volume="0.2" loop="true" frequencymultiplier="0.5" />
      <StatValue stattype="FlowResistance" value="0.9" />
      <StatValue stattype="PropulsionSpeed" value="-0.75" />
    </Wearable>
    <ItemContainer capacity="0" hideitems="true" containedstateindicatorstyle="tank" containedstateindicatorslot="0">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="64,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="192,448,64,64" origin="0.5,0.5" />
      <StatusEffect type="OnWearing" target="Contained" targetslot="0" playsoundonrequireditemfailure="true">
        <RequiredItem items="oxygensource" type="Contained" targetslot="0" matchonempty="true" />
        <Conditional condition="lte 0.0" />
        <Sound file="Content/Items/WarningBeep.ogg" range="500" loop="true"/>
      </StatusEffect>
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="oxygensource,weldingtoolfuel" />
        <Containable items="oxygensource">
          <StatusEffect type="OnWearing" target="Character" OxygenAvailable="1000.0" />
          <StatusEffect type="OnWearing" target="Contained" Condition="-0.2" comparison="And">
            <Conditional TargetContainer="true" TargetGrandparent="true" IsDead="false" />
            <Conditional TargetContainer="true" TargetGrandparent="true" DecreasedOxygenConsumption="lt 99" />
            <Conditional TargetContainer="true" TargetGrandparent="true" NeedsAir="true" />
          </StatusEffect>
          <StatusEffect type="OnWearing" target="Contained">
            <Conditional condition="lt 5.0" />
            <Sound file="Content/Items/WarningBeepSlow.ogg" range="250" loop="true"/>
          </StatusEffect>
        </Containable>
        <Containable items="oxygenitetank">
          <StatusEffect type="OnWearing" target="Character" SpeedMultiplier="1.2" setvalue="true" targetslot="0" comparison="And">
            <Conditional IsDead="false" />
            <Conditional DecreasedOxygenConsumption="lt 99" />
            <Conditional NeedsAir="true" />
          </StatusEffect>
        </Containable>
        <Containable items="weldingfueltank" blameequipperfordeath="true">
          <StatusEffect type="OnWearing" target="Contained" Condition="-0.5" comparison="And">
            <Conditional TargetContainer="true" TargetGrandparent="true" IsDead="false" />
            <Conditional TargetContainer="true" TargetGrandparent="true" DecreasedOxygenConsumption="lt 99" />
            <Conditional TargetContainer="true" TargetGrandparent="true" NeedsAir="true" />
          </StatusEffect>
          <StatusEffect type="OnWearing" target="Character" OxygenAvailable="-100.0" Oxygen="-5.0" comparison="And">
            <Conditional IsDead="false" />
            <Conditional DecreasedOxygenConsumption="lt 99" />
            <Conditional NeedsAir="true" />
          </StatusEffect>
        </Containable>
        <Containable items="incendiumfueltank" blameequipperfordeath="true">
          <StatusEffect type="OnWearing" target="Contained" Condition="-0.5" comparison="And">
            <Conditional TargetContainer="true" TargetGrandparent="true" IsDead="false" />
            <Conditional TargetContainer="true" TargetGrandparent="true" DecreasedOxygenConsumption="lt 99" />
            <Conditional TargetContainer="true" TargetGrandparent="true" NeedsAir="true" />
          </StatusEffect>
          <StatusEffect type="OnWearing" target="Character" OxygenAvailable="-100.0" comparison="And" targetlimb="Torso">
            <Affliction identifier="burn" amount="20.0"  />
            <Conditional IsDead="false" />
            <Conditional DecreasedOxygenConsumption="lt 99" />
            <Conditional NeedsAir="true" />
          </StatusEffect>
        </Containable> 
      </SubContainer>
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="divingsuitfuel">
          <StatusEffect type="OnContaining" target="This,Character" Voltage="1.0" setvalue="true">
            <Conditional IsDead="false" />
          </StatusEffect>
        </Containable>
      </SubContainer>
      <SubContainer capacity="10" maxstacksize="32">
        <Containable items="smallitem" />
      </SubContainer>
    </ItemContainer>
    <aitarget maxsightrange="1500" />
  </Item>

  <Item name="" identifier="scrapcannon" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gun,mountableweapon,provocativetohumanai" Scale="0.5" impactsoundtag="impact_metal_heavy">
    <PreferredContainer primary="secarmcab" secondary="weaponholder,armcab"/>
    <Price baseprice="640" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="0" maxavailable="2" sold="true">
        <Reputation faction="separatists" min="70"/>
      </Price>
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="1" maxavailable="2" sold="true">
        <Reputation faction="separatists" min="70"/>
      </Price>
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="copper" />
      <Item identifier="plastic" />
      <Item identifier="lead" />
      <Item identifier="titaniumaluminiumalloy" amount="2" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="70" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="65" />
      <RequiredItem identifier="fpgacircuit" />
      <RequiredItem identifier="lead" amount="2"/>
      <RequiredItem identifier="titaniumaluminiumalloy" amount="3" />
    </Fabricate>
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="354,371,158,55" depth="0.55" origin="0.5,0.45" />
    <Body width="158" height="40" density="25" />
    <Holdable slots="RightHand+LeftHand" controlpose="true" holdpos="60,-15" aimpos="55,4" handle1="-26,-20" handle2="10,-3" holdangle="-25" />
    <Wearable slots="Bag" msg="ItemMsgEquipSelect" canbeselected="false" canbepicked="true" pickkey="Select">
      <sprite name="Scrap Cannon Worn" texture="Content/Items/JobGear/TalentGear.png" canbehiddenbyotherwearables="false" rotation="90" inheritlimbdepth="false" depth="0.6" sourcerect="354,371,158,55" limb="Torso" scale="0.5" origin="0.5,1.0" />
    </Wearable>
    <RangedWeapon reload="3.0" barrelpos="67,5" spread="0" unskilledspread="4" combatPriority="80" drawhudwhenequipped="true" crosshairscale="0.2">
      <Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
      <CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,256,256,256" />
      <ParticleEmitter particle="explosionsmoke" particleamount="1" velocitymin="0" velocitymax="0" scalemin="0.5" scalemax="0.6" />
      <ParticleEmitter particle="shrapnel" particleamount="50" velocitymin="500" velocitymax="1500" anglemin="-30" anglemax="30" scalemin="0.5" scalemax="1.0" />
      <ParticleEmitter particle="spark" particleamount="50" velocitymin="500" velocitymax="1500" anglemin="-30" anglemax="30" scalemin="0.5" scalemax="1.0" />
      <Sound file="Content/Items/Jobgear/Mechanic/WEAPON_scrapCannonShot1.ogg" range="3000" type="OnUse" selectionmode="Random" volume="2"/>
      <Sound file="Content/Items/Jobgear/Mechanic/WEAPON_scrapCannonShot2.ogg" range="3000" type="OnUse" volume="2" />
      <Sound file="Content/Items/Jobgear/Mechanic/WEAPON_scrapCannonShot3.ogg" range="3000" type="OnUse" volume="2" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="250.0" force="3" shockwave="false" smoke="true" flash="true" sparks="false" flames="false" underwaterbubble="false" camerashake="6.0" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="Contained" Condition="-12.5" targetslot="1" disabledeltatime="true" />
      <RequiredItems items="scrapcannonammo" type="Contained" msg="itemmsgammorequired" />
      <RequiredItems items="mobilebattery" type="Contained" msg="itemmsgbatterycellrequired" />
      <RequiredSkill identifier="weapons" level="25" />
      <RequiredSkill identifier="mechanical" level="45" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="32" slotsperrow="3" hideitems="true" containedstateindicatorslot="1" containedstateindicatorstyle="battery">
      <Containable items="scrapcannonammo" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="128,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1"  maxstacksize="1">
        <Containable items="mobilebattery" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="3000" soundrange="5000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="25" />
    <SkillRequirementHint identifier="mechanical" level="45" />
  </Item>

  <!-- This is the item we normally spawn in-game. Doesn't work when placed in the sub editor, because the OnSpawn effect doesn't trigger. -->
  <Item name="" identifier="defensebotspawner" hideinmenus="true" category="Machine" >
    <Price baseprice="700" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.25" />
      <Price storeidentifier="merchantcity" multiplier="1" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="35" requiresrecipe="true" movetoslot="Any">
      <RequiredSkill identifier="electrical" level="40" />
      <RequiredSkill identifier="mechanical" level="65" />
      <RequiredItem identifier="fpgacircuit" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="2" />
      <RequiredItem identifier="smg" />
    </Fabricate>
    <Sprite texture="Content/Characters/Defensebot/Defensebot.png" depth="0.55" sourcerect="0,192,64,64" origin="0.5,0.5" />
    <Pickable slots="Any">
      <StatusEffect type="OnSpawn" targettype="This" delay="0.2">
        <RemoveItem />
        <SpawnCharacter speciesname="Defensebot" totalmaxcount="2" inheritteam="true"/>
      </StatusEffect>
    </Pickable>
  </Item>

  <!-- A version of the spawner that you can manually place in the sub editor. -->
  <Item nameidentifier="defensebotspawner" identifier="placeabledefensebotspawner" descriptionidentifier="" category="Machine" >
    <Sprite texture="Content/Characters/Defensebot/Defensebot.png" depth="0.55" sourcerect="0,192,64,64" origin="0.5,0.5" />
    <Pickable slots="Any">
      <StatusEffect type="Always" targettype="This">
        <RemoveItem />
        <SpawnCharacter speciesname="Defensebot" totalmaxcount="2" inheritteam="true"/>
      </StatusEffect>
    </Pickable>
  </Item>

  <Item name="" identifier="defensebotround" category="Weapons,Machine" impactsoundtag="impact_metal_light" hideinmenus="true" scale="0.5">
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="896,960,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="195,282,17,6" depth="0.55" origin="0.5,0.5" />
    <Body width="40" height="14" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect"/>
    <Projectile characterusable="false" hitscan="true" removeonhit="true">
      <ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0" velocitymax="0" colormultiplier="255,255,115,175" scalemultiplier="1,0.6"/>
      <Attack structuredamage="2" targetforce="3" itemdamage="5" severlimbsprobability="0">
        <Affliction identifier="gunshotwound" strength="5" />
        <Affliction identifier="bleeding" strength="5" />
        <Affliction identifier="stun" strength="0.025" />
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget">
        <ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget">
        <Conditional entitytype="eq Structure"/>
        <Conditional hastag="eq door"/>
        <ParticleEmitter particle="spark" copyentityangle="true" anglemin="-10" anglemax="10" particleamount="5" velocitymin="-10" velocitymax="-200" scalemin="0.5" scalemax="1" />
      </StatusEffect>
    </Projectile>
  </Item>

  <Item name="" identifier="defensebotammobox" maxstacksize="1" scale="0.3" category="Weapons,Machine" cargocontaineridentifier="metalcrate" linkable="true" tags="smallitem,defensebotammo" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="defensebot,secarmcab" secondary="armcab"/>
    <Price baseprice="200" displaynonempty="true" sold="false">
      <Price storeidentifier="merchantmilitary" sold="true" multiplier="0.9" minavailable="0" maxavailable="2"/>
      <Price storeidentifier="merchantarmory" sold="true" multiplier="0.9" minavailable="0" maxavailable="2"/>
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="25" requiresrecipe="true">
      <RequiredItem tag="munition_propulsion" description="fabricationdescription.munition_propulsion" />
      <RequiredItem tag="munition_core" description="fabricationdescription.munition_core" />
      <RequiredItem tag="munition_jacket" description="fabricationdescription.munition_jacket" />
      <RequiredItem identifier="aluminium"/>
    </Fabricate>
    <Fabricate suitablefabricators="fabricator" requiredtime="15" requiresrecipe="true" displayname="recycleitem">
      <RequiredItem tag="munition_propulsion" description="fabricationdescription.munition_propulsion" />
      <RequiredItem tag="munition_core" description="fabricationdescription.munition_core" />
      <RequiredItem tag="munition_jacket" description="fabricationdescription.munition_jacket" />
      <RequiredItem tag="defensebotammo" mincondition="0.0" maxcondition="0.1" usecondition="false" description="entitydescription.defensebotammobox" header="fabricationheader.ammoboxrecycle" defaultitem="defensebotammobox" />
    </Fabricate>
    <Deconstruct time="10">
      <Item identifier="aluminium"/>
    </Deconstruct>
    <Sprite texture="Content/Characters/Defensebot/Defensebot.png" depth="0.54" sourcerect="135,189,115,58" origin="0.5,0.5" />
    <Body width="90" height="60" density="25" />
    <Holdable slots="LeftHand,RightHand,Any" holdpos="0,-80" handle1="-40,30" handle2="40,30" aimable="false" msg="ItemMsgPickUpSelect"/>
  </Item>
  
</Items>
