<?xml version="1.0" encoding="utf-8"?>
<Override>
  <Item name="" identifier="assaultriflemagazine" maxstacksize="32" maxstacksizecharacterinventory="4" scale="0.5" category="Weapon" allowasextracargo="true" cargocontaineridentifier="metalcrate" linkable="true" tags="smallitem,assaultrifleammo,handheldammo" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="assaultrifle" minamount="1" maxamount="1" spawnprobability="1" />
    <PreferredContainer primary="armcab" secondary="secarmcab" />
    <Price baseprice="300" sold="false" minleveldifficulty="60" displaynonempty="true">
      <Price storeidentifier="merchantoutpost" multiplier="1.4" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" sold="true" multiplier="0.9" minavailable="0" maxavailable="4" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="35" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="40" />
      <RequiredItem identifier="magnesium" />
      <RequiredItem tag="advmunition_tip" description="fabricationdescription.advmunition_tip" />
      <RequiredItem tag="advmunition_core" description="fabricationdescription.advmunition_core" />
      <RequiredItem tag="advmunition_jacket" description="fabricationdescription.advmunition_jacket" />
      <RequiredItem identifier="steel" />
    </Fabricate>
    <Fabricate suitablefabricators="fabricator" requiredtime="35" displayname="recycleitem" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="40" />
      <RequiredItem identifier="magnesium" />
      <RequiredItem tag="advmunition_tip" description="fabricationdescription.advmunition_tip" />
      <RequiredItem tag="advmunition_core" description="fabricationdescription.advmunition_core" />
      <RequiredItem tag="advmunition_jacket" description="fabricationdescription.advmunition_jacket" />
      <RequiredItem identifier="assaultriflemagazine" mincondition="0.0" maxcondition="0.1" usecondition="false" />
    </Fabricate>
    <Deconstruct time="15">
      <Item identifier="steel" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="476,3,36,48" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="476,3,36,48" depth="0.55" origin="0.5,0.5" />
    <Body width="28" height="40" density="25" />
    <ItemContainer hideitems="true" capacity="1" drawinventory="false" canbeselected="false" ShowConditionInContainedStateIndicator="true" SpawnWithId="assaultrifleround" removecontaineditemsondeconstruct="true" containedstateindicatorstyle="bullet">
      <Containable items="assaultrifleround" />
      <StatusEffect type="OnUse" target="This" condition="-3.3" disabledeltatime="true">
        <SpawnItem identifiers="assaultrifleround" spawnposition="ThisInventory" />
      </StatusEffect>
    </ItemContainer>
    <Holdable canBeCombined="true" slots="Any,RightHand,LeftHand" handle1="0,0" msg="ItemMsgPickUpSelect" />
  </Item>
  <Item name="" identifier="shotgunslugexplosive" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="32" interactthroughwalls="true" cargocontaineridentifier="metalcrate" allowasextracargo="true" tags="smallitem,shotgunammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="armcab" secondary="secarmcab" />
    <Price baseprice="75" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
    </Price>
    <Deconstruct time="5"></Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10" requiresrecipe="true" amount="6">
      <RequiredSkill identifier="weapons" level="40" />
      <RequiredItem identifier="plastic" />
      <RequiredItem identifier="incendium" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="0,704,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="449,211,24,12" depth="0.55" origin="0.5,0.5" />
    <Body width="23" height="10" density="25" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Projectile characterusable="false" hitscan="true" hitscancount="1" removeonhit="true" spread="1">
      <ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0" velocitymax="0" colormultiplier="255,115,95,150" scalemultiplier="1,0.9" />
      <Attack structuredamage="20" targetforce="10" itemdamage="100" severlimbsprobability="1" penetration="0.5">
        <Affliction identifier="explosiondamage" strength="20" />
        <Affliction identifier="bleeding" strength="20" probability="0.5" />
        <Affliction identifier="stun" strength="0.8" />
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget">
        <ParticleEmitter particle="impactfirearm" anglemin="0" anglemax="360" particleamount="10" velocitymin="0" scalemin="0.5" scalemax="0.8" scalemultiplier="7,7" colormultiplier="255,115,95,150" lifetimemultiplier="0.5" />
        <ParticleEmitter particle="weldspark" particleamount="5" anglemin="0" anglemax="360" velocitymin="300" velocitymax="350" scalemin="1.5" scalemax="1.9" drawontop="true" colormultiplier="255,200,225,180" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="This" disabledeltatime="true">
        <Explosion range="70.0" ballastfloradamage="50" severlimbsprobability="0.5" structuredamage="8" levelwalldamage="40" itemdamage="200" force="3.0" flames="false" smoke="false" sparks="false" underwaterbubble="false" flashcolor="255,115,95,150">
          <Affliction identifier="burn" strength="60" />
        </Explosion>
      </StatusEffect>
    </Projectile>
  </Item>
  <Item name="" identifier="stungundartfulgurium" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="32" interactthroughwalls="true" allowasextracargo="true" cargocontaineridentifier="metalcrate" tags="smallitem,stungunammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="armcab" secondary="secarmcab" />
    <Price baseprice="120" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.4" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
    </Price>
    <Deconstruct time="5" />
    <Fabricate suitablefabricators="fabricator" requiredtime="25" amount="2" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="40" />
      <Item identifier="fulgurium" />
      <Item tag="wire" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="215,67,61,61" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="200,189,72,18" depth="0.55" origin="0.5,0.5" />
    <Body width="70" height="15" density="11" waterdragcoefficient="1" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Projectile characterusable="false" launchimpulse="15.0" sticktocharacters="true">
      <Attack structuredamage="0" targetforce="2">
        <Affliction identifier="lacerations" strength="1" />
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget" disabledeltatime="true">
        <Conditional entitytype="eq Character" />
        <ParticleEmitter particle="ElectricShock" DistanceMin="5" DistanceMax="20" ParticleAmount="3" ScaleMin="0.07" ScaleMax="0.1" />
        <Affliction identifier="electricshock" strength="80" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget" delay="0.6" disabledeltatime="true">
        <Conditional entitytype="eq Character" />
        <Affliction identifier="electricshock" strength="40" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget" delay="5" disabledeltatime="true">
        <Conditional entitytype="eq Character" />
        <!-- Reapply after 5 seconds to extend the stun -->
        <Affliction identifier="electricshock" strength="100" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="This">
        <Sound file="Content/Items/Weapons/TaserHit1.ogg" type="OnUse" range="1500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/TaserHit2.ogg" type="OnUse" range="1500" />
        <ParticleEmitter particle="ElectricShock" DistanceMin="5" DistanceMax="20" ParticleAmount="3" ScaleMin="0.07" ScaleMax="0.1" />
        <Remove />
      </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>
</Override>