<?xml version="1.0" encoding="utf-8"?>
<Items>
  <Item name="" identifier="spear" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="6" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="mediumitem,harpoonammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="harpoongun" amount="6" spawnprobability="1" />
    <PreferredContainer primary="armcab" minamount="3" maxamount="6" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer primary="secarmcab" />
    <PreferredContainer secondary="respawncontainer_kingofthehull" amount="32" spawnprobability="1" notcampaign="true"/>
    <Price baseprice="7">
      <Price storeidentifier="merchantoutpost" minavailable="12" multiplier="1.5" />
      <Price storeidentifier="merchantcity" minavailable="12" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" minavailable="6" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" minavailable="24" multiplier="0.9" />
      <Price storeidentifier="merchantmine" minavailable="6" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" minavailable="24" multiplier="0.9" />
    </Price>
    <Deconstruct time="5" />
    <Fabricate suitablefabricators="fabricator" requiredtime="10" amount="6">
      <RequiredSkill identifier="weapons" level="20" />
      <RequiredItem identifier="steel" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="320,968,55,55" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="85,368,168,11" depth="0.55" origin="0.5,0.5" />
    <Body width="160" height="10" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Rope sourcepullforce="300" targetpullforce="150" projectilepullforce="5" maxlength="1500" snaponcollision="false" spritewidth="3" tile="true" origin="0.05,0.5" targetminmass="10" lerpforces="true" snapanimduration="0.5" ReelSoundPitchSlide="1.0,2.25">
      <Sprite texture="Content/Map/Thalamus/thalamus.png" sourcerect="617,352,174,32" depth="0.57" origin="0.5,0.5" />
      <SnapSound file="Content/Items/Weapons/HarpoonGun1.ogg" range="500" frequencymultiplier="3.0,4.0"/>
      <ReelSound file="Content/Items/Weapons/WEAPON_harpoonGunReelLoop.ogg" range="1000" />
      <!-- Snap after 1 seconds if not stuck to anything -->
      <StatusEffect type="OnUse" target="This" Snapped="true" delay="1" checkconditionalalways="true">
        <Conditional targetitemcomponent="Projectile" IsStuckToTarget="false" />
      </StatusEffect>
    </Rope>
    <Projectile characterusable="false" launchimpulse="5" sticktocharacters="true" sticktoitems="true" sticktostructures="true" sticktodeflective="true" sticktodoors="false" sticktolighttargets="true">
      <Attack structuredamage="15" itemdamage="15" targetforce="20" severlimbsprobability="0.1">
        <Affliction identifier="lacerations" strength="35" />
        <Affliction identifier="bleeding" strength="35" />
        <Affliction identifier="stun" strength="0.5" />
      </Attack>
      <StatusEffect type="OnActive" target="UseTarget,This" checkconditionalalways="true" comparison="And" disabledeltatime="true">
        <Conditional Snapped="false" />
        <Conditional mass="lt 30" />
        <Affliction identifier="drag" strength="1" />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="alienspear" category="Weapon,Alien" maxstacksize="32" maxstacksizecharacterinventory="6" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="mediumitem,harpoonammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="harpoongun" />
    <PreferredContainer secondary="ruinstoragesmall,ruinstorage" minamount="1" maxamount="3" spawnprobability="0.1" />
    <PreferredContainer secondary="ruinstoragelarge" amount="6" spawnprobability="0.2" />
    <PreferredContainer primary="ruintreasure" amount="6" spawnprobability="0.25" />
    <PreferredContainer primary="secarmcab,armcab" />
    <Price baseprice="50" 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" />
    <Fabricate suitablefabricators="fabricator" requiredtime="10" amount="6">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="physicorium" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="449,968,55,55" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="85,398,170,14" depth="0.55" origin="0.5,0.5" />
    <Body width="160" height="10" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Rope sourcepullforce="300" targetpullforce="150" projectilepullforce="5" maxlength="1500" snaponcollision="false" spritewidth="3" tile="true" origin="0.05,0.5" targetminmass="10" lerpforces="true" snapanimduration="0.5" ReelSoundPitchSlide="1.0,2.25">
      <Sprite texture="Content/Map/Thalamus/thalamus.png" sourcerect="617,352,174,32" depth="0.57" origin="0.5,0.5" />
      <SnapSound file="Content/Items/Weapons/HarpoonGun1.ogg" range="500" frequencymultiplier="3.0,4.0"/>
      <ReelSound file="Content/Items/Weapons/WEAPON_harpoonGunReelLoop.ogg" range="1000" />
      <!-- Snap after 1 seconds if not stuck to anything -->
      <StatusEffect type="OnUse" target="This" Snapped="true" delay="1" checkconditionalalways="true">
        <Conditional targetitemcomponent="Projectile" IsStuckToTarget="false" />
      </StatusEffect>
    </Rope>
    <Projectile characterusable="false" launchimpulse="5.0" sticktocharacters="true" sticktoitems="true" sticktostructures="true" sticktodeflective="true" sticktodoors="false" sticktolighttargets="true">
      <Attack structuredamage="20" itemdamage="20" targetforce="20" severlimbsprobability="0.2">
        <Affliction identifier="lacerations" strength="60" />
        <Affliction identifier="bleeding" strength="60" />
        <Affliction identifier="stun" strength="0.5" />
      </Attack>
      <StatusEffect type="OnActive" target="UseTarget,This" checkconditionalalways="true" comparison="And" disabledeltatime="true">
        <Conditional Snapped="false" />
        <Conditional mass="lt 30" />
        <Affliction identifier="drag" strength="1" />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="explosivespear" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="6" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="mediumitem,harpoonammo,handheldammo,demolitionsexpert" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="harpoongun" />
    <PreferredContainer primary="armcab" amount="6" spawnprobability="0.1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="6" spawnprobability="0.1" />
    <PreferredContainer primary="secarmcab" />
    <Price baseprice="80">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.4" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="3" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="6" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="6" />
    </Price>
    <Deconstruct time="5"></Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10" amount="2">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="spear" amount="2" />
      <RequiredItem identifier="uex" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="385,968,55,55" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="85,381,168,15" depth="0.55" origin="0.5,0.5" />
    <Body width="160" height="10" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Projectile characterusable="false" launchimpulse="10.0" severlimbsprobability="0.1">
      <Attack structuredamage="20" targetforce="10" penetration="0.5">
        <Affliction identifier="explosiondamage" strength="25" />
      </Attack>
      <StatusEffect type="OnImpact" target="This" Condition="-100.0" disabledeltatime="true">
        <Explosion range="200.0" ballastfloradamage="50" structuredamage="10" levelwalldamage="50" itemdamage="250" force="5" severlimbsprobability="0.25">
          <Affliction identifier="burn" strength="50" />
          <Affliction identifier="stun" strength="1.5" />
        </Explosion>
        <sound file="Content/Items/Weapons/ExplosionSmall1.ogg" range="3000" />
        <sound file="Content/Items/Weapons/ExplosionSmall2.ogg" range="3000" />
        <sound file="Content/Items/Weapons/ExplosionSmall3.ogg" range="3000" />
        <Remove />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="harpoongun" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer secondary="wreckweaponholder" spawnprobability="0.05" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer primary="secarmcab" secondary="armcab,weaponholder" />
    <PreferredContainer secondary="respawncontainer_kingofthehull" amount="2" spawnprobability="1" notcampaign="true"/>
    <Price baseprice="170" minavailable="1">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="2" sold="false" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="plastic" />
      <Item identifier="tin" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="plastic" amount="2" />
      <RequiredItem identifier="tin" amount="2" />
    </Fabricate>
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,203,181,39" depth="0.55" origin="0.5,0.5" />
    <Body width="180" height="30" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="35,-10" aimpos="45,-10" handle1="-20,-6" handle2="30,10" holdangle="-40" msg="ItemMsgPickUpSelect" />
    <RangedWeapon reload="1.75" launchimpulse="20.0" barrelpos="85,14" spread="1" unskilledspread="10" combatPriority="60" 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" />
      <Sound file="Content/Items/Weapons/HarpoonGun1.ogg" type="OnUse" range="1000" />
      <Sound file="Content/Items/Weapons/HarpoonGun2.ogg" type="OnUse" range="1000" />
      <Sound file="Content/Items/Weapons/HarpoonGun3.ogg" type="OnUse" range="1000" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="150.0" force="5" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
      </StatusEffect>
      <RequiredItems items="harpoonammo" type="Contained" msg="ItemMsgSpearRequired" />
      <RequiredSkill identifier="weapons" level="30" />
    </RangedWeapon>
    <ItemContainer itempos="27,10" iteminterval="0,-4" hideitems="false" capacity="1" maxstacksize="6" containedstateindicatorslot="0" containedstateindicatorstyle="spear" containedspritedepths="0.551,0.552,0.553,0.554,0.555,0.556">
      <Containable items="harpoonammo" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="0,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />   
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="18,12" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="0" soundrange="500" fadeouttime="2" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <SkillRequirementHint identifier="weapons" level="30" />
  </Item>
  <Item name="" identifier="revolverround" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="12" interactthroughwalls="true" cargocontaineridentifier="metalcrate" Scale="0.5" tags="smallitem,revolverammo,handheldammo,pistolammoitem" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="revolver" amount="6" spawnprobability="1" />
    <PreferredContainer primary="armcab" amount="6" spawnprobability="1" notpvp="true" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" minamount="1" maxamount="6" spawnprobability="0.2" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="3" spawnprobability="0.25" />
    <PreferredContainer secondary="secarmcab" />
    <PreferredContainer secondary="respawncontainer_kingofthehull" amount="32" spawnprobability="1" notcampaign="true"/>
    <Price baseprice="12">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" minavailable="12" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="12" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" minavailable="12" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="60" />
      <Price storeidentifier="merchantmine" multiplier="1.25" minavailable="12" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="60" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true" amount="12">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem tag="munition_propulsion" description="fabricationdescription.munition_propulsion" />
      <RequiredItem tag="munition_core" description="fabricationdescription.munition_core" />
      <RequiredItem tag="munition_jacket" description="fabricationdescription.munition_jacket" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="704,384,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="191,290,21,7" depth="0.55" origin="0.5,0.5" />
    <Body width="29" height="10" 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="10" targetforce="10" itemdamage="10" severlimbsprobability="0.2" penetration="0.1">
        <Affliction identifier="gunshotwound" strength="24" />
        <Affliction identifier="bleeding" strength="16" />
        <Affliction identifier="stun" strength="0.3" />
      </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>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="revolver" category="Weapon" cargocontaineridentifier="metalcrate" tags="smallitem,weapon,gun,pistolitem,provocativetohumanai,gunsmith,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <!--
      An example on using the PreferredContainer:
      
      <PreferredContainer primary="somespecialcontainer" secondary="locker" minamount="1" maxamount="1" spawnprobability="1"/>
      
          PreferredContainers are used for automatic item placement and to tell the bots where items belong to.
          
          Automatic item placement can be disabled by setting autofit="False" attribute in the ItemContainer definition or changing the property in the sub editor.
          
          Tags and identifiers are used indistinguishably: neither is given a priority over the other.
      
          The automatic item placement first looks for containers with an identifier or tag "somespecialcontainer".
          If none found, will use the containers with the "locker" tag/identifier.      
          In practice, this should fill all lockers (that have enough room) with one revolver, because there shouldn't be any containers with the primary tag/identifier.
          
          Note that each "PreferredContainer" element is evaluated separately and the probability is per container.
          
          The bots treat both the "primary" and the "secondary" as accepted containers. However, they prefer the "primary" containers. 
          The evaluation is weight based: it's possible that the bots use a container marked as "secondary" or even a container that is not defined here, if it's close enough.
          If you want to tell the bots that "only put certain items in this container", use the "Containable Restrictions" that can be defined in the sub editor.
    -->
    <PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" amount="1" spawnprobability="0.25" />
    <PreferredContainer primary="secarmcab" secondary="armcab,weaponholder" />
    <!--
      An example on using the Price elements:
      
      <Price baseprice="0" sold="true" soldelsewhere="false" buyingpricemultiplier="1.0" minamount="0" maxamount="0" canbespecial="true" minleveldifficulty="0" displaynonempty="false">
        <Price storeidentifier="" multiplier="1.0" />
      </Price>
      
          The above example includes all the attributes that can be used in the price definitions. The listed attribute values are the values the attributes will default to if they are
          omitted in the definition.
            
            Parent price element attributes:
                     baseprice = The default price of the item. Defaults to 0.
                 soldelsewhere = Is the item sold at non-specified stores, i.e. stores that don't have their identifier specified in any of the child elements? Defaults to false.
                  canbespecial = Can the item be a daily special or a requested good? Defaults to true.
               displaynonempty = Should the number of owned non-empty items be specified in the store interface? Defaults to false.
                 
            Parent price element attributes that can be overridden in child elements:
                          sold = Is the item sold at the specified stores or not? Defaults to true.
              buyingmultiplier = Multiplier that can increase or decrease the cost of buying the item. Defaults to 1.0.
                     minamount = The minimum number of this item stores will always have in stock. Defaults to 0.
                     maxamount = The maximum number of this item stores can ever have in stock. Defaults to 0.
            minleveldifficulty = The minimum difficulty level required for this item to appear in stores. Defaults to 0.
            
            Child price element attributes:
              storeidentifiers = Human prefab identifiers of the store characters that will sell this item.
                    multiplier = (multiplier * baseprice) will determine the price of the item at the store. Defaults to 1.0.
    -->
    <Price baseprice="150">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" sold="false" minavailable="1" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="35" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="35" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="plastic" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="128,64,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,418,76,41" depth="0.55" origin="0.5,0.5" />
    <Body width="72" height="40" density="25" />
    <Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="70,5" handle1="-25,-7" msg="ItemMsgPickUpSelect" />
    <RangedWeapon barrelpos="29,11" spread="0.1" unskilledspread="6" combatPriority="70" drawhudwhenequipped="true" crosshairscale="0.2" reload="0.5" DualWieldReloadTimePenaltyMultiplier="1.75" DualWieldAccuracyPenalty="8">
      <Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
      <CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,256,256,256" />
      <Sound file="Content/Items/Weapons/Revolver1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/Revolver2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/Revolver3.ogg" type="OnUse" range="3000" />
      <ParticleEmitter particle="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="150.0" force="1.5" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
      </StatusEffect>
      <RequiredItems items="revolverammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="40" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="6" hideitems="true" containedstateindicatorstyle="bullet">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <Containable items="revolverammo" />
    </ItemContainer>
    <aitarget sightrange="2000" soundrange="5000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <SkillRequirementHint identifier="weapons" level="40" />
  </Item>
  <Item name="" identifier="smground" category="Weapon" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem" 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="4" targetforce="5" itemdamage="4" severlimbsprobability="0.1">
        <Affliction identifier="gunshotwound" strength="12.5" />
        <Affliction identifier="bleeding" strength="12.5" />
        <Affliction identifier="stun" strength="0.2" probability="0.1" />
      </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>
      <!-- smg rounds should not exist outside magazines -->
      <StatusEffect type="OnNotContained" target="This" stackable="false" delay="1">
        <Remove />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="smgmagazine" maxstacksize="8" maxstacksizecharacterinventory="2" scale="0.5" category="Weapon" cargocontaineridentifier="metalcrate" linkable="true" tags="smallitem,smgammo,handheldammo" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="smg,smgunique,machinepistol" amount="1" spawnprobability="1" />
    <PreferredContainer primary="armcab" amount="1" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" minamount="1" maxamount="2" spawnprobability="0.5" />
    <PreferredContainer secondary="wrecksecarmcab" minamount="1" maxamount="2" spawnprobability="0.2" />
    <PreferredContainer secondary="secarmcab" />
    <PreferredContainer secondary="respawncontainer_kingofthehull" amount="8" spawnprobability="1" notcampaign="true"/>
    <Price baseprice="100" displaynonempty="true" minleveldifficulty="15">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="2" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="4" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="4" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="25" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="40" />
      <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="steel" />
    </Fabricate>
    <Fabricate suitablefabricators="fabricator" requiredtime="15" requiresrecipe="true" displayname="recycleitem">
      <RequiredSkill identifier="weapons" level="40" />
      <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="smgmagazine" mincondition="0.0" maxcondition="0.1" usecondition="false" />
    </Fabricate>
    <Deconstruct time="10">
      <Item identifier="steel" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="960,960,64,64" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" depth="0.54" sourcerect="146,157,21,44" origin="0.5,0.5" />
    <Body width="14" height="40" density="25" />
    <ItemContainer hideitems="true" capacity="1" drawinventory="false" canbeselected="false" ShowConditionInContainedStateIndicator="true" SpawnWithId="smground" removecontaineditemsondeconstruct="true" containedstateindicatorstyle="bullet">
      <Containable items="smground" />
      <!--Spawn an SMG round on use. Condition -4.8 -> 21 shots per magazine.-->
      <StatusEffect type="OnUse" target="This" condition="-4.8" disabledeltatime="true">
        <SpawnItem identifiers="smground" spawnposition="ThisInventory" />
      </StatusEffect>
    </ItemContainer>
    <!--Magazines can be combined to raise condition.-->
    <Holdable canBeCombined="true" slots="Any,RightHand,LeftHand" handle1="0,0" msg="ItemMsgPickUpSelect" />
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="smg" category="Weapon" cargocontaineridentifier="metalcrate" tags="smallautoweapon,smallitem,weapon,gun,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" amount="1" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" amount="1" spawnprobability="0.25" />
    <PreferredContainer secondary="armcab,weaponholder" />
    <Price baseprice="390" minleveldifficulty="30">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="1" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="2" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="2" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="35" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="55" />
      <RequiredItem identifier="plastic" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="2" />
    </Fabricate>
    <Deconstruct time="10">
      <Item identifier="plastic" />
      <Item identifier="titaniumaluminiumalloy" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="832,830,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,121,144,80" depth="0.55" origin="0.5,0.5" />
    <Body width="140" height="60" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="40,-10" aimpos="45,-10" handle1="-30,-15" handle2="26,5" holdangle="-35" msg="ItemMsgPickUpSelect" />
    <RangedWeapon reload="0.19" weapondamagemodifier="1.3" penetration="0.15" holdtrigger="true" barrelpos="64,9" spread="10" unskilledspread="16" 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="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <Sound file="Content/Items/Weapons/SMGsingleShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/SMGsingleShot2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot3.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot4.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot5.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot6.ogg" type="OnUse" range="3000" />
      <StatusEffect type="OnUse" target="This">
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Explosion range="150.0" force="1.5" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="12.0" />
      </StatusEffect>
      <!--"Use" contained magazine to spawn projectiles.-->
      <StatusEffect type="OnUse" target="Contained">
        <Use />
      </StatusEffect>
      <RequiredItems items="smgammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="50" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="1" hideitems="false" containedstateindicatorslot="0" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <Containable items="smgammo" hide="false" itempos="4,-10" rotation="-30" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="22,-1" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="2000" soundrange="4000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <SkillRequirementHint identifier="weapons" level="50" />
  </Item>
  <Item name="" identifier="stungrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="explosivecrate" tags="smallitem,weapon,explosive,demolitionsexpert,handgrenade" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" minamount="1" maxamount="3" spawnprobability="0.75" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" minamount="1" maxamount="3" spawnprobability="0.5" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer secondary="armcab" />
    <Upgrade gameversion="0.9.2.0" scale="0.5" />
    <Price baseprice="125">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="3" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="6" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="6" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="iron" />
      <Item identifier="phosphorus" mincondition="0.9" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="iron" />
      <RequiredItem identifier="phosphorus" />
      <RequiredItem identifier="flashpowder" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="384,0,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="130,312,27,54" depth="0.55" origin="0.5,0.5" />
    <BrokenSprite texture="Content/Items/Weapons/weapons_new.png" name="stungrenade" sourcerect="467,125,27,54" depth="0.55" origin="0.5,0.5" maxcondition="99.9" />
    <Body width="26" height="50" 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/TrueStunGrenade.ogg" range="3000" />
        <!-- Effect without distance fall off to ensure some stun and flash effect -->
        <Explosion range="750" force="0" smoke="false" playtinnitus="true" DistanceFalloff="false" flash="true" screenColor="255,255,255,255" screenColorDuration="10">
          <Affliction identifier="stun" strength="4" />
          <Affliction identifier="blind" strength="15" />
          <Affliction identifier="sensoryoverload" strength="15" />
        </Explosion>
        <Explosion range="500" force="0.1" smoke="false">
          <Affliction identifier="stun" strength="10" />
          <Affliction identifier="blind" strength="25" />
          <Affliction identifier="sensoryoverload" strength="30" />
        </Explosion>
        <!-- Secondary stronger blinding effect in the epicenter of the explosion -->
        <Explosion range="200" force="0.1" smoke="false" penetration="1">
          <Affliction identifier="explosiondamage" strength="10" />
          <Affliction identifier="blind_hard" strength="10" />
        </Explosion>
        <Remove />
      </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>
    <!-- Activating the ItemComponent starts the timer -->
    <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" />
        <ParticleEmitter particle="grenadepin" emitinterval="10" particleamount="1" anglemin="70" anglemax="100" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <ParticleEmitter particle="grenadelever" emitinterval="10" particleamount="1" anglemin="120" anglemax="210" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <Sound file="Content/Items/Weapons/pinpull.ogg" type="OnUse" range="720" />
      </StatusEffect>
      <StatusEffect type="OnActive" targettype="This" Condition="-24">
        <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="empgrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="explosivecrate" tags="smallitem,weapon,explosive,demolitionsexpert,handgrenade" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" minamount="1" maxamount="3" spawnprobability="0.75" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="2" spawnprobability="0.2" />
    <PreferredContainer secondary="armcab" />
    <Price baseprice="175">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="1" sold="false" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" minavailable="2" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="4" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="4" />
      <Price storeidentifier="merchantengineering" multiplier="1.2" minavailable="2" />
    </Price>
    <Upgrade gameversion="0.9.3.0" scale="0.5" />
    <Deconstruct time="10">
      <Item identifier="iron" />
      <Item identifier="copper" mincondition="0.9" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredSkill identifier="electrical" level="20" />
      <RequiredItem identifier="iron" />
      <RequiredItem identifier="copper" />
      <RequiredItem identifier="flashpowder" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="450,450,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="159,311,27,54" depth="0.55" origin="0.5,0.5185185" />
    <BrokenSprite texture="Content/Items/Weapons/weapons_new.png" name="empgrenade" sourcerect="434,186,27,54" depth="0.55" origin="0.5,0.5185185" maxcondition="99.9" />
    <Body width="26" height="50" 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/ExplosionSmall1.ogg" range="1000" selectionmode="All" />
        <sound file="Content/Items/Weapons/Emp.ogg" range="1000" />
        <Explosion range="500" force="5" empstrength="10" applyfireeffects="false" flames="false">
          <Affliction identifier="explosiondamage" strength="10" />
          <Affliction identifier="stun" strength="5" />
          <Affliction identifier="emp" strength="100" multiplybymaxvitality="true" />
        </Explosion>
        <Remove />
      </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>
      <StatusEffect type="OnBroken" target="This" duration="0.65">
        <ParticleEmitter particle="ElectricShock" copyentityangle="false" anglemin="0" anglemax="360" particleamount="5" velocitymin="0" velocitymax="2000" scalemin="0.3" scalemax="0.33" />
      </StatusEffect>
      <!-- Drain condition of nearby batteries.-->
      <StatusEffect type="OnBroken" target="nearbyItems" range="450" targettags="loadable" condition="-100" />
    </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" />
        <ParticleEmitter particle="grenadepin" emitinterval="10" particleamount="1" anglemin="70" anglemax="100" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <ParticleEmitter particle="grenadelever" emitinterval="10" particleamount="1" anglemin="120" anglemax="210" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <Sound file="Content/Items/Weapons/pinpull.ogg" type="OnUse" range="720" />
      </StatusEffect>
      <StatusEffect type="OnActive" targettype="This" Condition="-24">
        <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.1" />
      <QualityStat stattype="ExplosionDamage" value="0.1" />
    </Quality>
  </Item>
  <Item name="" identifier="fraggrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="explosivecrate" tags="smallitem,weapon,explosive,demolitionsexpert,handgrenade" scale="0.5" impactsoundtag="impact_metal_heavy">
    <PreferredContainer primary="secarmcab" minamount="1" maxamount="3" spawnprobability="0.75" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="2" spawnprobability="0.2" />
    <PreferredContainer secondary="armcab" />
    <Upgrade gameversion="0.9.3.0" scale="0.5" />
    <Price baseprice="150">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.35" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="2" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="iron" />
      <Item identifier="sodium" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20">
      <RequiredSkill identifier="weapons" level="60" />
      <RequiredItem identifier="iron" />
      <RequiredItem identifier="uex" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="580,770,54,63" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="217,305,40,61" depth="0.55" origin="0.5,0.5" />
    <!-- Broken sprite is the same but without the pin and lever-->
    <BrokenSprite texture="Content/Items/Weapons/weapons_new.png" name="fraggrenade" sourcerect="423,120,40,61" depth="0.55" origin="0.5,0.5" maxcondition="99.9" />
    <Body radius="20" height="10" 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/ExplosionMedium1.ogg" range="10000" selectionmode="All" />
        <sound file="Content/Items/Weapons/ExplosionDebris1.ogg" range="10000" />
        <Explosion range="750.0" ballastfloradamage="100" structuredamage="20" levelwalldamage="140" itemdamage="500" force="5" severlimbsprobability="0.5" decal="explosion" decalsize="0.5">
          <Affliction identifier="explosiondamage" strength="150" />
          <Affliction identifier="bleeding" strength="100" />
          <Affliction identifier="bleeding" strength="50" probability="0.1" dividebylimbcount="false" />
          <Affliction identifier="stun" strength="7" />
        </Explosion>
        <Remove />
      </StatusEffect>
      <!-- Skip the removal of safeties and explode immediatly if inside of a detonator, railgun shell or a depth charge-->
      <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>
      <!-- forcefully pull the pin if player hasnt done so -->
      <StatusEffect type="OnSecondaryUse" target="This" disabledeltatime="true" checkconditionalalways="true">
        <Conditional IsActive="false" targetitemcomponent="ItemComponent" />
        <Use />
      </StatusEffect>
    </Throwable>
    <!-- Activating the ItemComponent starts the timer -->
    <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" />
        <ParticleEmitter particle="grenadepin" emitinterval="10" particleamount="1" anglemin="70" anglemax="100" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <ParticleEmitter particle="grenadelever" emitinterval="10" particleamount="1" anglemin="120" anglemax="210" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <Sound file="Content/Items/Weapons/pinpull.ogg" type="OnUse" range="720" />
      </StatusEffect>
      <StatusEffect type="OnActive" targettype="This" Condition="-24">
        <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.1" />
      <QualityStat stattype="ExplosionDamage" value="0.1" />
    </Quality>
  </Item>
  <!-- Emitters shoot themselves into the air and then land, creating an effect of "spreading" incendiary compound, covering given surfaces -->
  <Item name="Incendium Emitter" identifier="incendiumemitter" Scale="0.5" hideinmenus="true" isdangerous="true" noninteractable="true" tags="gas" sonarsize="0" depth="0.1">
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="1,1,1,1" depth="0.55" origin="0.5,0.5"/>
    <Body width="15" height="15" density="30"/>
    <!-- Sticks to characters for additional damage over time.-->
    <Projectile characterusable="false" launchimpulse="5" sticktocharacters="true" sticktostructures="false" sticktoitems="true" sticktodeflective="true">
      <StatusEffect type="OnImpact" target="This" delay="0.1" IsOn="true"/>
      <LightComponent LightColor="220,100,45,150" Flicker="0.8" range="110" IsOn="false">
        <!-- Drain oxygen -->
        <StatusEffect type="OnActive" target="Hull" oxygen="-400.0"/>
        <StatusEffect type="OnActive" targettype="This" Condition="-16.5">
          <ParticleEmitter particle="flamethrower" particlespersecond="6" scalemin="0.5" scalemax="0.8" anglemin="0" anglemax="360" distancemin="0" distancemax="30"/>
          <ParticleEmitter particle="smoke" particlespersecond="2" scalemin="2" scalemax="2.5"/>
        </StatusEffect>
        <StatusEffect type="OnActive" target="NearbyCharacters" range="120" delay="0.1" stackable="false" disabledeltatime="true">
          <Affliction identifier="burn" strength="0.025"/>
          <Affliction identifier="slow" strength="20"/>
          <Affliction identifier="burning" strength="0.15" dividebylimbcount="true"/>
        </StatusEffect>
        <StatusEffect type="OnBroken" target="This">
          <Remove/>
        </StatusEffect>
        <sound file="Content/Sounds/FireSmall.ogg" type="OnActive" range="500.0" loop="true"/>
      </LightComponent>
      <!-- Extinguished by water-->
      <StatusEffect type="Always" target="This">
        <Remove/>
        <Conditional InWater="true"/>
      </StatusEffect>
    </Projectile>
  </Item>
  <Item name="" identifier="incendiumgrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="explosivecrate" tags="smallitem,weapon,explosive,demolitionsexpert,handgrenade" Scale="0.5" impactsoundtag="impact_metal_heavy">
    <PreferredContainer primary="secarmcab" minamount="1" maxamount="3" spawnprobability="0.75" notcampaign="true" notpvp="true" />
    <PreferredContainer primary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="2" spawnprobability="0.05" />
    <PreferredContainer secondary="armcab" />
    <Upgrade gameversion="0.9.3.0" scale="0.5" />
    <Price baseprice="175" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" sold="true" multiplier="0.9" minavailable="2" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" sold="true" multiplier="0.9" minavailable="2" />
    </Price>
    <Deconstruct time="5" />
    <Fabricate suitablefabricators="fabricator" requiredtime="20" amount="2">
      <RequiredSkill identifier="weapons" level="40" />
      <RequiredItem identifier="iron" amount="2" />
      <RequiredItem identifier="incendium" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="68,320,56,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="188,312,26,54" depth="0.55" origin="0.5,0.5" />
    <BrokenSprite texture="Content/Items/Weapons/weapons_new.png" name="incendiumgrenade" sourcerect="460,186,27,54" depth="0.55" origin="0.5,0.5" maxcondition="99.9" />
    <Body width="24" height="52" 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/IncendiumGrenade.ogg" />
        <!-- Incendiary grenade tweaked: now instead of causing fires it spawn a bunch of emitters that act as lasting area-denial effect, similar to acid grenade, but with afterburn. This is done to encourage usage of this grenade indoors, Also buffed damage against ballast flora -->
        <Explosion range="300" ballastfloradamage="360" itemdamage="200" force="5" smoke="false">
          <Affliction identifier="burn" strength="75" />
          <Affliction identifier="burning" strength="15" dividebylimbcount="false" />
          <Affliction identifier="burn" strength="15" probability="0.2" dividebylimbcount="false" />
          <Affliction identifier="stun" strength="7" />
        </Explosion>
        <Remove />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="this" offset="0,20" >
        <SpawnItem identifier="incendiumemitter" count="12" aimspread="120" rotationtype="Collider" rotation="0" />
      </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" />
        <ParticleEmitter particle="grenadepin" emitinterval="10" particleamount="1" anglemin="70" anglemax="100" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <ParticleEmitter particle="grenadelever" emitinterval="10" particleamount="1" anglemin="120" anglemax="210" velocitymin="100" velocitymax="200" copyentityangle="true" scalemin="0.5" scalemax="0.5" />
        <Sound file="Content/Items/Weapons/pinpull.ogg" type="OnUse" range="720" />
      </StatusEffect>
      <StatusEffect type="OnActive" targettype="This" Condition="-24">
        <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.15" />
      <QualityStat stattype="ExplosionDamage" value="0.15" />
    </Quality>
  </Item>
  <Item name="" identifier="stunbaton" category="Weapon" Tags="smallitem,weapon,stunner,gunsmith,mountableweapon" Scale="0.5" cargocontaineridentifier="metalcrate" impactsoundtag="impact_metal_light" RequireAimToUse="True">
    <PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <Upgrade gameversion="0.9.2.0" scale="0.5" />
    <Price baseprice="200">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.35" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="2" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="6" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="6" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="plastic" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="770,0,58,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,0,191,63" depth="0.55" origin="0.4954025,0.7936202" />
    <Body width="170" height="30" density="20" />
    <MeleeWeapon slots="Any,RightHand,LeftHand" aimpos="40,20" handle1="-30,15" holdangle="20" aimangle="30" reload="0.95" range="100" combatPriority="35" msg="ItemMsgPickUpSelect" preferredcontaineditems="mobilebattery">
      <Attack targetimpulse="5" itemdamage="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>
        <Affliction identifier="blunttrauma" strength="4" />
        <Affliction identifier="stun" strength="0.2" />
      </Attack>
      <!-- changed to use electricshock: normal batteries cause 45 points of electricshock. Due to strength change of -5/s we can expect full stun in three consecutive hits -->
      <!-- keep weight check in place for now (affect targets with mass < 40, humans, mudraptors, etc.) -->
      <StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true">
        <Conditional mass="lt 40" />
        <Affliction identifier="stun" strength="0.3" />
        <Affliction identifier="electricshock" strength="45" />
        <sound file="Content/Items/Weapons/StunBaton1.ogg" selectionmode="random" range="500" />
        <sound file="Content/Items/Weapons/StunBaton2.ogg" range="500" />
        <sound file="Content/Items/Weapons/StunBaton3.ogg" range="500" />
        <sound file="Content/Items/Weapons/StunBaton4.ogg" range="500" />
        <RequiredItem items="mobilebattery" ExcludedIdentifiers="fulguriumbatterycell" type="Contained" msg="ItemMsgBatteryCellRequired" />
        <Explosion range="100.0" force="0.1" shockwave="false" flames="false" smoke="false" underwaterbubble="false" camerashake="6.0" />
        <ParticleEmitter particle="ElectricShock" DistanceMin="5" DistanceMax="20" ParticleAmount="3" ScaleMin="0.07" ScaleMax="0.1" />
      </StatusEffect>
      <!-- changed to use electricshock: fulgurium batteries cause 60 points of electricshock -> full stun in two consecutive hits -->
      <!-- keep weight check in place for now (affect targets with mass < 60, includes veteran mudraptors) -->
      <StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true">
        <Conditional mass="lt 60" />
        <Affliction identifier="stun" strength="0.3" />
        <Affliction identifier="electricshock" strength="60" />
        <sound file="Content/Items/Weapons/StunBaton1.ogg" selectionmode="random" range="500" />
        <sound file="Content/Items/Weapons/StunBaton2.ogg" range="500" />
        <sound file="Content/Items/Weapons/StunBaton3.ogg" range="500" />
        <sound file="Content/Items/Weapons/StunBaton4.ogg" range="500" />
        <RequiredItem items="fulguriumbatterycell" type="Contained" msg="ItemMsgBatteryCellRequired" />
        <Explosion range="100.0" force="0.5" shockwave="false" flames="false" smoke="true" underwaterbubble="false" camerashake="6.0" />
        <ParticleEmitter particle="ElectricShock" DistanceMin="10" DistanceMax="25" ParticleAmount="5" ScaleMin="0.1" ScaleMax="0.12" />
      </StatusEffect>
      <!-- 8 usages with normal battery, 16 with fulgurium -->
      <StatusEffect type="OnUse" target="Contained,UseTarget" Condition="-12.5" disabledeltatime="true">
        <RequiredItem items="mobilebattery" type="Contained" msg="ItemMsgBatteryCellRequired" />
        <Conditional entitytype="eq Character" />
      </StatusEffect>
    </MeleeWeapon>
    <ItemContainer capacity="1" maxstacksize="1" hideitems="true" containedstateindicatorstyle="battery">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="128,448,64,64" origin="0.5,0.5" />
      <Containable items="mobilebattery" />
    </ItemContainer>
    <aitarget sightrange="500" soundrange="500" fadeouttime="1" />
    <Quality>
      <QualityStat stattype="StrikingPowerMultiplier" value="0.25" />
    </Quality>
  </Item>
  <Item name="" identifier="divingknife" category="Weapon" Tags="smallitem,weapon,gunsmith,mountableweapon,sharptool" cargocontaineridentifier="metalcrate" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" amount="1" spawnprobability="0.25" />
    <PreferredContainer secondary="abandonedstoragecab,piratestoragecab" amount="1" spawnprobability="0.05" />
    <PreferredContainer secondary="beaconsupplycab" amount="1" spawnprobability="0.05" />
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <Price baseprice="29">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" minavailable="6" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="8" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" minavailable="2" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="15" />
      <Price storeidentifier="merchantmine" multiplier="1.25" minavailable="2" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="15" />
      <Price storeidentifier="merchanthusk" minavailable="0" maxavailable="2"/>
    </Price>
    <Deconstruct time="10">
      <Item identifier="iron" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="iron" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="835,385,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="183,203,66,16" depth="0.55" origin="0.5,0.5" />
    <Body width="65" height="15" density="25" />
    <MeleeWeapon slots="Any,RightHand,LeftHand" aimpos="50,0" handle1="-10,0" holdangle="30" reload="0.75" range="50" combatPriority="25" msg="ItemMsgPickUpSelect">
      <Attack targetimpulse="2" severlimbsprobability="0.1" itemdamage="3" structuredamage="2" structuresoundtype="StructureSlash">
        <Affliction identifier="lacerations" strength="10" />
        <Affliction identifier="bleeding" strength="10" />
        <Affliction identifier="stun" strength="0.2" />
        <StatusEffect type="OnUse" target="UseTarget">
          <Conditional entitytype="eq Character" />
          <Sound file="Content/Sounds/Damage/LimbSlash1.ogg" selectionmode="random" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash2.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash3.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash4.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash5.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash6.ogg" range="500" />
        </StatusEffect>
      </Attack>
    </MeleeWeapon>
    <aitarget sightrange="500" soundrange="250" fadeouttime="1" />
    <Quality>
      <QualityStat stattype="StrikingPowerMultiplier" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="grenadelauncher" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gun,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" amount="1" spawnprobability="0.2" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" spawnprobability="0.1" />
    <PreferredContainer secondary="armcab" />
    <Price baseprice="1000" sold="false" minleveldifficulty="30">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" sold="true" multiplier="0.9" minavailable="1" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" sold="true" multiplier="0.9" minavailable="1" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="titaniumaluminiumalloy" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="896,831,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,244,186,65" depth="0.55" origin="0.5,0.5" />
    <Body width="170" height="40" density="25" />
    <Holdable slots="RightHand+LeftHand" controlpose="true" holdpos="40,-20" aimpos="45,-10" handle1="-33,-15" handle2="26,5" holdangle="-25" />
    <Wearable slots="Bag" msg="ItemMsgEquipSelect" canbeselected="false" canbepicked="true" pickkey="Select">
      <sprite name="Grenade Launcher Worn" texture="Content/Items/Weapons/weapons_new.png" canbehiddenbyotherwearables="false" sourcerect="0,244,186,65" rotation="90" depth="0.6" limb="Torso" depthlimb="LeftArm" scale="0.5" origin="0.5,0.8" />
    </Wearable>
    <RangedWeapon barrelpos="80,11" reload="0.8" spread="1" unskilledspread="10" combatPriority="75" 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="muzzleflashchaingun" particleamount="1" velocitymin="0" velocitymax="0" scalemin="0.5" scalemax="0.6" />
      <ParticleEmitter particle="explosionsmoke" particleamount="1" velocitymin="0" velocitymax="0" scalemin="0.5" scalemax="0.6" />
      <Sound file="Content/Items/Weapons/GrenadeLauncherShot1.ogg" type="OnUse" range="1000" />
      <Sound file="Content/Items/Weapons/GrenadeLauncherShot2.ogg" type="OnUse" range="1000" />
      <Sound file="Content/Items/Weapons/GrenadeLauncherShot3.ogg" type="OnUse" range="1000" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="150.0" force="2" shockwave="false" smoke="false" flames="false" flash="true" sparks="false" underwaterbubble="false" applyfireeffects="false" camerashake="6.0" />
      </StatusEffect>
      <RequiredItems items="grenade" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="60" />
    </RangedWeapon>
    <!--Holds six grenades at a time-->
    <ItemContainer capacity="6" maxstacksize="1" hideitems="false" ShowTotalStackCapacityInContainedStateIndicator="true" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <Containable items="grenade" hide="true" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="2" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="3" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="4" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="5" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="6" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="22,-1" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="500" soundrange="500" fadeouttime="3" />
    <Quality>
      <QualityStat stattype="ExplosionRadius" value="0.1" />
      <QualityStat stattype="ExplosionDamage" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <SkillRequirementHint identifier="weapons" level="60" />
  </Item>
  <Item name="" identifier="40mmgrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,grenade" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="grenadelauncher" amount="6" spawnprobability="1" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="2" spawnprobability="0.2" />
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <Price baseprice="100" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" sold="true" multiplier="0.9" minavailable="4" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" sold="true" multiplier="0.9" minavailable="4" />
    </Price>
    <Deconstruct time="5">
      <Item identifier="iron" />
      <Item identifier="sodium" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="iron" />
      <RequiredItem identifier="uex" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="704,960,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="215,286,41,17" depth="0.55" origin="0.5,0.5" />
    <Body width="38" height="15" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Projectile characterusable="false" launchimpulse="20.0" sticktocharacters="false">
      <Attack structuredamage="40" penetration="1" severlimbsprobability="5">
        <Affliction identifier="explosiondamage" strength="50" />
      </Attack>
      <sound file="Content/Items/Weapons/FragGrenade40mmShot1.ogg" type="OnImpact" range="3000" selectionmode="Random" />
      <sound file="Content/Items/Weapons/FragGrenade40mmShot2.ogg" type="OnImpact" range="3000" />
      <!--Grenade launcher ammo explodes on impact-->
      <StatusEffect type="OnImpact" target="This" Condition="-100.0" disabledeltatime="true">
        <sound file="Content/Items/Weapons/ExplosionDebris2.ogg" range="2000" />
        <Explosion range="300.0" ballastfloradamage="80" structuredamage="20" levelwalldamage="120" itemdamage="400" force="5.0" severlimbsprobability="0.4" debris="true" decal="explosion" decalsize="0.3">
          <Affliction identifier="burn" strength="100" />
          <Affliction identifier="bleeding" strength="400" probability="0.05" />
          <Affliction identifier="stun" strength="5" />
        </Explosion>
        <Remove />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="40mmstungrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,grenade" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <Price baseprice="120" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" sold="true" multiplier="0.9" minavailable="4" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" sold="true" multiplier="0.9" minavailable="4" />
    </Price>
    <Deconstruct time="5">
      <Item identifier="iron" />
      <Item identifier="phosphorus" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="iron" />
      <RequiredItem identifier="phosphorus" />
      <RequiredItem identifier="flashpowder" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="768,960,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="214,266,42,18" depth="0.55" origin="0.5,0.5" />
    <Body width="38" height="15" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Projectile characterusable="false" launchimpulse="20.0" sticktocharacters="false">
      <sound file="Content/Items/Weapons/StunGrenade40mmShot1.ogg" type="OnImpact" range="2000" selectionmode="Random" />
      <sound file="Content/Items/Weapons/StunGrenade40mmShot2.ogg" type="OnImpact" range="2000" />
      <!--Grenade launcher ammo explodes on impact-->
      <StatusEffect type="OnImpact" target="This" Condition="-100.0" disabledeltatime="true">
        <sound file="Content/Items/Weapons/TrueStunGrenade.ogg" range="3000" />
        <Explosion range="250" force="0.1" smoke="false" playtinnitus="true">
          <Affliction identifier="explosiondamage" strength="5" />
          <Affliction identifier="stun" strength="10" />
          <Affliction identifier="blind" strength="30" />
          <Affliction identifier="sensoryoverload" strength="15" />
        </Explosion>
        <Remove />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="shotgun" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gun,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" amount="1" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" amount="1" spawnprobability="0.2" />
    <PreferredContainer secondary="wreckweaponholder" amount="1" spawnprobability="0.03" />
    <PreferredContainer secondary="armcab" />
    <Price baseprice="500" minleveldifficulty="30">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="1" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="titaniumaluminiumalloy" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="60" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="55" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="2" />
      <RequiredItem identifier="plastic" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="704,830,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,65,185,54" depth="0.55" origin="0.5,0.25" />
    <Body width="180" height="30" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="40,-10" aimpos="55,5" handle1="-25,-16" handle2="26,0" holdangle="-40" msg="ItemMsgPickUpSelect" />
    <RangedWeapon barrelpos="80,5" spread="0.1" unskilledspread="3" combatPriority="80" reload="1" 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="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <Sound file="Content/Items/Weapons/ShotgunShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/ShotgunShot2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/ShotgunShot3.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/ShotgunShot4.ogg" type="OnUse" range="3000" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="150.0" force="2.5" shockwave="false" smoke="false" flash="true" sparks="false" flames="false" underwaterbubble="false" camerashake="6.0" />
      </StatusEffect>
      <!-- Cocking sound, delayed by 1.0 seconds. -->
      <StatusEffect type="OnUse" target="This" delay="1.0">
        <Sound file="Content/Items/Weapons/ShotgunLoad1.ogg" type="OnUse" range="500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/ShotgunLoad2.ogg" type="OnUse" range="500" />
        <Sound file="Content/Items/Weapons/ShotgunLoad3.ogg" type="OnUse" range="500" />
        <ParticleEmitter particle="casingfirearm" colormultiplier="0.5,0.5,0.5,1" ScaleMultiplier="1.5,1.5" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
      </StatusEffect>
      <RequiredItems items="shotgunammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="50" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="6" hideitems="false" containedstateindicatorslot="0" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <Containable items="shotgunammo" hide="true" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="26,-3" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="3000" soundrange="5000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <SkillRequirementHint identifier="weapons" level="50" />
  </Item>
  <Item name="" identifier="shotgunshell" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="12" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,shotgunammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="shotgun" amount="6" spawnprobability="1" />
    <PreferredContainer primary="autoshotgun" amount="8" spawnprobability="1" />
    <PreferredContainer primary="shotgununique" amount="2" spawnprobability="1" />
    <PreferredContainer primary="armcab" minamount="6" maxamount="12" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" minamount="1" maxamount="6" spawnprobability="0.5" />
    <PreferredContainer secondary="wreckarmcab,wrecksecarmcab,abandonedarmcab,piratearmcab,abandonedsecarmcab,piratesecarmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer secondary="secarmcab" />
    <PreferredContainer secondary="respawncontainer_kingofthehull" amount="32" spawnprobability="1" notcampaign="true"/>
    <Price baseprice="30" minleveldifficulty="30">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="4" sold="true" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="12" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="12" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true" amount="6">
      <RequiredSkill identifier="weapons" level="30" />
      <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="plastic" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="832,960,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="189,299,23,11" depth="0.55" origin="0.5,0.5" />
    <Body width="23" height="10" density="15" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <!--When fired, spawns 8 projectiles simultaneously.-->
    <Projectile characterusable="false" hitscan="true" hitscancount="8" removeonhit="true" spread="15">
      <ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0" velocitymax="0" colormultiplier="255,255,115,100" scalemultiplier="1,0.5" />
      <Attack structuredamage="1" targetforce="4" itemdamage="2" severlimbsprobability="0.5">
        <Affliction identifier="gunshotwound" strength="8" />
        <Affliction identifier="bleeding" strength="6" />
        <Affliction identifier="stun" strength="0.1" />
      </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>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="shotgunshellblunt" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="12" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,shotgunammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="shotgun,autoshotgun,shotgununique" />
    <PreferredContainer primary="armcab" minamount="6" maxamount="12" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" minamount="1" maxamount="6" spawnprobability="0.5" />
    <PreferredContainer secondary="wreckarmcab,wrecksecarmcab,abandonedarmcab,piratearmcab,abandonedsecarmcab,piratesecarmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer secondary="secarmcab" />
    <Price baseprice="15" minleveldifficulty="30">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="4" sold="true" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="12" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="12" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" amount="12">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem tag="munition_propulsion" description="fabricationdescription.munition_propulsion" />
      <RequiredItem identifier="rubber" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="384,640,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="189,269,22,10" depth="0.55" origin="0.5,0.5" />
    <Body width="23" height="10" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <!--When fired, spawns 8 projectiles simultaneously.-->
    <Projectile characterusable="false" hitscan="true" hitscancount="8" removeonhit="true" spread="15">
      <ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0" velocitymax="0" colormultiplier="150,150,200,200" scalemultiplier="1,0.5" />
      <Attack structuredamage="0" targetforce="4" itemdamage="0" severlimbsprobability="0">
        <Affliction identifier="blunttrauma" strength="3" />
        <Affliction identifier="stun" strength="0.3" />
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget">
        <ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" colormultiplier="150,150,200,130" />
      </StatusEffect>
    </Projectile>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="stungun" category="Weapon" cargocontaineridentifier="metalcrate" tags="smallitem,weapon,gun,stunner,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" minamount="1" maxamount="2" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="armcab" />
    <Price baseprice="180">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.35" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="2" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="4" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="4" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20">
      <RequiredSkill identifier="weapons" level="40" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="plastic" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="768,830,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,368,83,47" depth="0.55" origin="0.5,0.5" />
    <Body width="80" height="40" density="25" />
    <Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="70,10" handle1="-5,-7" msg="ItemMsgPickUpSelect" />
    <RangedWeapon barrelpos="14,6" spread="0" unskilledspread="2" combatPriority="40" 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" />
      <Sound file="Content/Items/Weapons/TaserShot1.ogg" type="OnUse" range="1000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/TaserShot2.ogg" type="OnUse" range="1000" />
      <StatusEffect type="OnUse" target="Contained">
        <Explosion range="100.0" force="2" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="2.0" />
      </StatusEffect>
      <RequiredItems items="stungunammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="20" />
    </RangedWeapon>
    <ItemContainer capacity="1" hideitems="true" maxstacksize="1" containedstateindicatorstyle="bullet">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <Containable items="stungunammo" />
    </ItemContainer>
    <aitarget sightrange="0" soundrange="0" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.2" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <SkillRequirementHint identifier="weapons" level="20" />
  </Item>
  <Item name="" identifier="stungundart" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,stungunammo,handheldammo" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="armcab" minamount="1" maxamount="10" spawnprobability="0.25" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer primary="stungun" amount="2" spawnprobability="1" />
    <PreferredContainer secondary="secarmcab" />
    <Price baseprice="30">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="3" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="6" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="6" />
    </Price>
    <Deconstruct time="5" />
    <Fabricate suitablefabricators="fabricator" requiredtime="20" amount="2">
      <RequiredSkill identifier="weapons" level="30" />
      <Item identifier="steel" />
      <Item tag="wire" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="766,576,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="183,221,72,18" depth="0.55" origin="0.5,0.5" />
    <Body width="70" height="15" density="11" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <!--Non-lethal projectile sticks to characters and stuns them for some seconds, depending on mass.-->
    <Projectile characterusable="false" launchimpulse="15.0" sticktocharacters="true">
      <Attack structuredamage="0" targetforce="2">
        <Affliction identifier="lacerations" strength="0.5" />
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget" delay="0.5" 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="2.5" disabledeltatime="true">
        <Conditional entitytype="eq Character" />
        <Affliction identifier="electricshock" strength="35" /><!-- should reach between 90-100 str (-5 strength change/s)-->
      </StatusEffect>
      <StatusEffect type="OnImpact" target="This" delay="0.5">
        <Sound file="Content/Items/Weapons/TaserHit1.ogg" type="OnUse" range="500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/TaserHit2.ogg" type="OnUse" range="500" />
        <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>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="nuclearaftereffectemitter" identifier="nuclearaftereffectemitter" Scale="0.5" tags="" sonarsize="20" hideinmenus="true">
    <AiTarget sightrange="1000.0" soundrange="1000" sonardisruption="10" static="True" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,0,2,2" depth="0.55" origin="0.5,0.5" />
    <ItemComponent>
      <!-- reduce condition to remove the emitter after 10 seconds -->
      <StatusEffect type="Always" target="This" condition="-10">
        <ParticleEmitter particle="risingbubbles" anglemin="0" anglemax="360" particlespersecond="50" velocitymin="0" velocitymax="50" scalemin="1" scalemax="6" distancemin="0" distancemax="500" />
      </StatusEffect>
      <!-- apply radiation sickness to nearby characters -->
      <StatusEffect type="Always" target="NearbyCharacters" range="1000">
        <Affliction identifier="radiationsickness" strength="5" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </ItemComponent>
  </Item>

  <Item name="walldamageprojectile" identifier="walldamageprojectile" Scale="1.0" tags="" sonarsize="0" hideinmenus="true">
    <sprite texture="Content/Particles/ParticleAtlas.png" depth="0" sourcerect="32,32,32,32" />
    <Body radius="5" mindensity="15" maxdensity="20" />
    <Projectile characterusable="false" launchimpulse="20" impulsespread="0.15" spread="25" maxtargetstohit="3" sticktocharacters="true" sticktoitems="false" sticktodoors="false" sticktostructures="true" penetration="0.25" friendlyfire="false" damagedoors="true">
      <Attack structuredamage="20" itemdamage="20" severlimbsprobability="0.5" penetration="0.2">
        <!--Hits up to 3 limbs, so the actual damage can be 3x-->
        <Affliction identifier="lacerations" strength="5" />
        <Affliction identifier="bleeding" strength="5" />
        <Affliction identifier="stun" strength="0.05" />
      </Attack>
      <StatusEffect type="OnActive" target="This" lifetime="0.5">
        <ParticleEmitter particle="ammotrail" copyentityangle="true" anglemin="0" anglemax="0" particleamount="10" velocitymin="-10" velocitymax="-100" scalemin="0.5" scalemax="1" />
      </StatusEffect>
      <StatusEffect type="OnNotContained" target="This" stackable="false" delay="5">
        <Remove />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="This" condition="-34" />
      <StatusEffect type="OnImpact" target="UseTarget">
        <Conditional entitytype="eq Structure" />
        <ParticleEmitter particle="shrapnel" copyentityangle="true" anglemin="0" anglemax="360" particleamount="5" velocitymin="100" velocitymax="2000" scalemin="0.1" scalemax="0.2" />
      </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>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Projectile>
  </Item>

  
  <Item name="" identifier="shotgununique" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gun,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light" hideinmenus="true" allowasextracargo="true">
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" spawnprobability="0.05" />
    <Price baseprice="931" sold="false" canbespecial="false" />
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="titaniumaluminiumalloy" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="320,320,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="262,70,184,51" depth="0.55" origin="0.5,0.25" />
    <Body width="180" height="30" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="40,-10" aimpos="55,5" handle1="-20,-11" handle2="26,7" holdangle="-40" msg="ItemMsgPickUpSelect" />
    <RangedWeapon barrelpos="85,10" spread="1" unskilledspread="4" combatPriority="80" reload="0.1" 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="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <Sound file="Content/Items/Weapons/ShotgunShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/ShotgunShot2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/ShotgunShot3.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/ShotgunShot4.ogg" type="OnUse" range="3000" />
      <StatusEffect type="OnUse" target="This">
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Explosion range="150.0" force="3" shockwave="false" smoke="false" flash="true" sparks="false" flames="false" underwaterbubble="false" camerashake="6.0" />
      </StatusEffect>
      <!-- only 2 shots can be fired at the 0.1 interval, after that you need to wait 1 second -->
      <StatusEffect type="OnUse" target="This" reload="2.0" setvalue="true" delay="0.05" />
      <StatusEffect type="OnUse" target="This" reload="0.1" setvalue="true" delay="2.0" />
      <!-- Cocking sound, delayed by 1.0 seconds. -->
      <StatusEffect target="This" type="OnUse" delay="1.0">
        <Sound file="Content/Items/Weapons/ShotgunLoad1.ogg" type="OnUse" range="500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/ShotgunLoad2.ogg" type="OnUse" range="500" />
        <Sound file="Content/Items/Weapons/ShotgunLoad3.ogg" type="OnUse" range="500" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This" reload="1.0" setvalue="true" delay="0.2" />
      <StatusEffect type="OnUse" target="This" reload="0.1" setvalue="true" delay="1.0" />
      <RequiredItems items="shotgunammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="50" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="2" hideitems="false" containedstateindicatorslot="0" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <Containable items="shotgunammo" hide="true" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="22,-1" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="3000" soundrange="5000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="50" />
  </Item>
  <Item name="" identifier="spearunique" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="6" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="mediumitem,handheldammo,harpoonammo" Scale="0.5" impactsoundtag="impact_metal_light" hideinmenus="true" allowasextracargo="true">
    <PreferredContainer primary="harpoongun,armcab" secondary="secarmcab" />
    <PreferredContainer secondary="wrecksecarmcab,wreckarmcab,abandonedsecarmcab,piratesecarmcab,abandonedarmcab,piratearmcab" amount="6" spawnprobability="0.05" />
    <Price baseprice="550" sold="false" canbespecial="false" />
    <Deconstruct time="5">
      <Item identifier="steel" />
      <Item identifier="iron" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="448,256,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="262,363,172,14" depth="0.55" origin="0.5,0.5" />
    <Body width="160" height="10" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Rope sourcepullforce="300" targetpullforce="150" projectilepullforce="5" maxlength="1500" snaponcollision="false" spritewidth="3" tile="true" origin="0.05,0.5" targetminmass="10" lerpforces="true" snapanimduration="0.5" ReelSoundPitchSlide="1.0,2.25">
      <Sprite texture="Content/Map/Thalamus/thalamus.png" sourcerect="617,352,174,32" depth="0.57" origin="0.5,0.5" />
      <SnapSound file="Content/Items/Weapons/HarpoonGun1.ogg" range="500" frequencymultiplier="3.0,4.0"/>
      <ReelSound file="Content/Items/Weapons/WEAPON_harpoonGunReelLoop.ogg" range="1000" />
      <!-- Snap after 1 seconds if not stuck to anything -->
      <StatusEffect type="OnUse" target="This" Snapped="true" delay="1" checkconditionalalways="true">
        <Conditional targetitemcomponent="Projectile" IsStuckToTarget="false" />
      </StatusEffect>
    </Rope>
    <Projectile characterusable="false" launchimpulse="20.0" sticktocharacters="true" sticktoitems="true" sticktostructures="true" sticktodeflective="true" sticktodoors="false" sticktolighttargets="true">
      <Attack structuredamage="20" itemdamage="20" targetforce="20" severlimbsprobability="0.2">
        <Affliction identifier="lacerations" strength="80" />
        <Affliction identifier="bleeding" strength="80" />
        <Affliction identifier="stun" strength="1" />
      </Attack>
      <StatusEffect type="OnActive" target="UseTarget,This" checkconditionalalways="true" comparison="And" disabledeltatime="true">
        <Conditional Snapped="false" />
        <Conditional mass="lt 30" />
        <Affliction identifier="drag" strength="1" />
      </StatusEffect>
    </Projectile>
  </Item>
  <Item name="" identifier="divingknifeunique" category="Weapon" Tags="smallitem,weapon,mountableweapon,sharptool" cargocontaineridentifier="metalcrate" scale="0.5" impactsoundtag="impact_metal_light" hideinmenus="true" allowasextracargo="true" RequireAimToUse="True">
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" spawnprobability="0.05" />
    <Price baseprice="770" sold="false" canbespecial="false" />
    <Deconstruct time="10">
      <Item identifier="iron" />
      <Item identifier="morbusine" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="448,320,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="186,183,63,16" depth="0.55" origin="0.5,0.5" />
    <Body width="65" height="15" density="25" />
    <MeleeWeapon slots="Any,RightHand,LeftHand" aimpos="50,0" handle1="-10,0" holdangle="30" reload="0.75" range="50" combatPriority="30" msg="ItemMsgPickUpSelect">
      <Attack targetimpulse="2" severlimbsprobability="0.1" itemdamage="3" structuredamage="2" structuresoundtype="StructureSlash">
        <Affliction identifier="lacerations" strength="10" />
        <Affliction identifier="bleeding" strength="10" />
        <Affliction identifier="stun" strength="0.2" />
        <Affliction identifier="morbusinepoisoning" strength="4" />
        <StatusEffect type="OnUse" target="UseTarget">
          <Conditional entitytype="eq Character" />
          <Sound file="Content/Sounds/Damage/LimbSlash1.ogg" selectionmode="random" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash2.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash3.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash4.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash5.ogg" range="500" />
          <Sound file="Content/Sounds/Damage/LimbSlash6.ogg" range="500" />
        </StatusEffect>
      </Attack>
    </MeleeWeapon>
    <aitarget sightrange="500" soundrange="250" fadeouttime="1" />
    <Quality>
      <QualityStat stattype="StrikingPowerMultiplier" value="0.1" />
    </Quality>
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
  </Item>
  <Item name="" identifier="smgunique" category="Weapon" cargocontaineridentifier="metalcrate" tags="smallautoweapon,smallitem,weapon,gun,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light" hideinmenus="true" allowasextracargo="true">
    <PreferredContainer primary="secarmcab" secondary="armcab" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" spawnprobability="0.05" />
    <Price baseprice="1064" sold="false" canbespecial="false" />
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="plastic" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="384,320,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="263,135,145,56" depth="0.55" origin="0.5,0.5" />
    <Body width="140" height="60" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="40,-15" aimpos="45,-10" handle1="-30,-8" handle2="18,5" holdangle="-35" msg="ItemMsgPickUpSelect" />
    <RangedWeapon reload="0.1" weapondamagemodifier="1.5" penetration="0.3"  holdtrigger="true" barrelpos="58,19" spread="2" unskilledspread="8" 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="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <Sound file="Content/Items/Weapons/SMGsingleShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/SMGsingleShot2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot3.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot4.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot5.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/SMGsingleShot6.ogg" type="OnUse" range="3000" />
      <StatusEffect type="OnUse" target="This">
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Explosion range="150.0" force="1" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="12.0" />
      </StatusEffect>
      <!--"Use" contained magazine to spawn projectiles.-->
      <StatusEffect type="OnUse" target="Contained">
        <Use />
      </StatusEffect>
      <RequiredItems items="smgammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <StatusEffect type="OnUse" target="This" reload="0.7" setvalue="true" delay="0.2" />
      <StatusEffect type="OnUse" target="This" reload="0.1" setvalue="true" delay="0.7" />
      <RequiredSkill identifier="weapons" level="50" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="1" hideitems="false" containedstateindicatorslot="0" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <Containable items="smgammo" hide="false" itempos="4,-5" rotation="-25" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="17,5" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="2000" soundrange="4000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="50" />
  </Item>
  <Item name="" identifier="rifle" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gun,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" amount="1" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" amount="1" spawnprobability="0.2" />
    <PreferredContainer secondary="wreckweaponholder" amount="1" spawnprobability="0.03" />
    <PreferredContainer secondary="armcab" />
    <Price baseprice="500" minleveldifficulty="15">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="1" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="titaniumaluminiumalloy" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="60" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="55" />
      <RequiredItem identifier="steel" amount="2" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="2" />
      <RequiredItem identifier="plastic" amount="2" />
    </Fabricate>
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="254,2,200,55" depth="0.55" origin="0.5,0.25" />
    <Body width="190" height="50" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="40,-10" aimpos="55,5" handle1="-25,-16" handle2="26,0" holdangle="-40" msg="ItemMsgPickUpSelect" />
    <ItemComponent characterusable="true">
      <!-- define this here, because it won't work in RangedWeapon:
        the grenade has been fired and is no longer in the container when OnUse executes -->
      <StatusEffect type="OnUse" target="This">
        <RequiredItem items="grenade" type="Contained" targetslot="0" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleGrenadeShot1.ogg" type="OnUse" range="1000" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleGrenadeShot2.ogg" type="OnUse" range="1000" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleGrenadeShot3.ogg" type="OnUse" range="1000" />
      </StatusEffect>
    </ItemComponent>
    <RangedWeapon launchimpulse="-10.0" barrelpos="80,0" unskilledspread="2" combatPriority="70" reload="2" reloadnoskill="5" reloadskillrequirement="40" drawhudwhenequipped="true" crosshairscale="0.15">
      <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="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <Sound file="Content/Items/Weapons/WEAPON_rifleShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/WEAPON_rifleShot2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/WEAPON_rifleShot3.ogg" type="OnUse" range="3000" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="150.0" force="2.0" shockwave="false" smoke="false" flash="true" sparks="false" flames="false" underwaterbubble="false" camerashake="2.0" />
      </StatusEffect>
      <!-- Cocking sound, delayed by varied seconds. -->
      <StatusEffect type="OnUse" delay="1" target="Character" forceplaysounds="true">
        <Conditional skillrequirement="true" weapons="gte 50" />
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleReload50-_1.ogg" type="OnUse" range="500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleReload50-_2.ogg" type="OnUse" range="500" />
      </StatusEffect>
      <StatusEffect type="OnUse" delay="1" target="Character" comparison="and" forceplaysounds="true">
        <Conditional skillrequirement="true" weapons="lt 50" />
        <Conditional skillrequirement="true" weapons="gte 20" />
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleReload20-50_1.ogg" type="OnUse" range="500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleReload20-50_2.ogg" type="OnUse" range="500" />
      </StatusEffect>
      <StatusEffect type="OnUse" delay="1" target="Character" forceplaysounds="true">
        <Conditional skillrequirement="true" weapons="lt 20" />
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleReload0-20_1.ogg" type="OnUse" range="500" selectionmode="Random" />
        <Sound file="Content/Items/Weapons/WEAPON_rifleReload0-20_2.ogg" type="OnUse" range="500" />
      </StatusEffect>
      <RequiredItems items="rifleammo,grenade" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="60" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="1" hideitems="false" containedstateindicatorstyle="bullet" containedstateindicatorslot="1" containedspritedepth="0.56">
      <Containable items="grenade" hide="false" itempos="50,0" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="448,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="2" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="6">
        <Containable items="rifleammo" hide="true" />
      </SubContainer>
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="30,-3" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="3000" soundrange="5000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="60" />
  </Item>
  <Item name="" identifier="riflebullet" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="12" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,rifleammo,handheldammo,riflemanbonus" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="rifle" amount="6" spawnprobability="1" />
    <PreferredContainer primary="armcab" minamount="6" maxamount="12" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" minamount="1" maxamount="6" spawnprobability="0.5" />
    <PreferredContainer secondary="wreckarmcab,wrecksecarmcab,abandonedarmcab,piratearmcab,abandonedsecarmcab,piratesecarmcab" minamount="1" maxamount="3" spawnprobability="0.2" />
    <PreferredContainer secondary="secarmcab" />
    <Price baseprice="30" minleveldifficulty="15">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="4" sold="true" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="12" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="12" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true" amount="6">
      <RequiredSkill identifier="weapons" level="30" />
      <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="advmunition_tip" description="fabricationdescription.advmunition_tip" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="128,832,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="233,163,23,9" depth="0.55" origin="0.5,0.5" />
    <Body width="23" height="9" density="30" />
    <Pickable slots="Any" msg="ItemMsgPickUpSelect" />
    <Projectile launchimpulse="35.0" characterusable="false" hitscan="true" removeonhit="true">
      <ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0" velocitymax="0" colormultiplier="255,200,200,175" scalemultiplier="1,0.8" />
      <Attack structuredamage="15" targetforce="12" itemdamage="15" severlimbsprobability="0.5" penetration="0.6">
        <Affliction identifier="gunshotwound" strength="55" />
        <Affliction identifier="bleeding" strength="33" />
        <Affliction identifier="stun" strength="0.6" />
        <StatusEffect type="OnUse" target="Limb" targetLimbs="Head">
          <Affliction identifier="gunshotwound" strength="10" />
          <Affliction identifier="stun" strength="1.2" />
        </StatusEffect>
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget">
        <ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" scalemultiplier="2,2" />
      </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="hmg" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gun,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" secondary="armcab,weaponholder" />
    <Price baseprice="900" sold="true" minleveldifficulty="65">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" sold="true" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" sold="true" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="75" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="65" />
      <RequiredItem identifier="physicorium" amount="2" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="3" />
      <RequiredItem identifier="rubber" />
    </Fabricate>
    <Deconstruct time="35">
      <Item identifier="physicorium" amount="2" />
      <Item identifier="titaniumaluminiumalloy" amount="2" />
      <Item identifier="rubber" />
    </Deconstruct>
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="262,436,230,72" depth="0.55" origin="0.5,0.5" />
    <Body width="220" height="60" density="30" />
    <Holdable slots="RightHand+LeftHand" controlpose="true" holdpos="45,-20" aimpos="57,-5" handle1="-35,-10" handle2="26,10" holdangle="-30">
      <Conditional recoilstabilized="lte 0" />
      <StatusEffect type="Always" target="Character" SpeedMultiplier="0.75" setvalue="true" />
    </Holdable>
    <Wearable slots="Bag" msg="ItemMsgEquipSelect" canbeselected="false" canbepicked="true" pickkey="Select">
      <sprite name="HMG Worn" texture="Content/Items/Weapons/weapons_new.png" canbehiddenbyotherwearables="false" rotation="90" sourcerect="262,436,230,72" depth="0.55" limb="Torso" depthlimb="LeftArm" scale="0.5" origin="0.5,0.8" />
    </Wearable>
    <RangedWeapon reload="0.1" holdtrigger="true" barrelpos="100,16" spread="6" unskilledspread="50" combatPriority="80" drawhudwhenequipped="true" crosshairscale="0.22">
      <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="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" scalemultiplier="4.0,4.0" colormultiplier="255,200,200,200" />
      <StatusEffect target="This" type="OnUse" forceplaysounds="true">
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Sound file="Content/Items/JobGear/Security/WEAPON_hmgShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
        <Sound file="Content/Items/JobGear/Security/WEAPON_hmgShot2.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Security/WEAPON_hmgShot3.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Security/WEAPON_hmgShot4.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Security/WEAPON_hmgShot5.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Security/WEAPON_hmgShot6.ogg" type="OnUse" range="3000" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This">
        <Explosion range="180.0" force="2" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="15.0" />
      </StatusEffect>
      <!-- Can only be used somewhat succesfully from 75+ skill, as then OnFailure turns it into a skill check per shot -->
      <StatusEffect type="OnFailure" target="Character" disabledeltatime="true" comparison="and">
        <Conditional skillrequirement="true" weapons="lt 90" />
        <Conditional recoilstabilized="lte 0" />
        <Affliction identifier="stun" strength="0.15" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="Character" disabledeltatime="true" comparison="and">
        <Conditional skillrequirement="true" weapons="lt 70" />
        <Conditional recoilstabilized="lte 0" />
        <Affliction identifier="stun" strength="0.3" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="Character" disabledeltatime="true" comparison="and">
        <Conditional skillrequirement="true" weapons="lt 50" />
        <Conditional recoilstabilized="lte 0" />
        <Affliction identifier="stun" strength="0.75" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="Contained">
        <Use />
      </StatusEffect>
      <RequiredItems items="hmgammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="90" />
    </RangedWeapon>
    <Propulsion force="-30" usablein="both" ApplyToHands="false">
      <RequiredItems items="hmgammo" type="Contained" />
    </Propulsion>
    <ItemContainer capacity="1" maxstacksize="1" hideitems="false" containedstateindicatorslot="0" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <Containable items="hmgammo" hide="false" itempos="0,-10" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="30,1" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="2000" soundrange="4000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="90" />
  </Item>
  <Item name="" identifier="hmgmagazine" maxstacksize="4" maxstacksizecharacterinventory="1" scale="0.5" category="Weapon" cargocontaineridentifier="metalcrate" linkable="true" tags="smallitem,hmgammo,handheldammo" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="hmg" minamount="1" maxamount="1" spawnprobability="1" />
    <PreferredContainer primary="armcab" secondary="secarmcab" />
    <Price baseprice="330" sold="true" minleveldifficulty="65" 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="merchantarmory" 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 identifier="titaniumaluminiumalloy" />
      <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 identifier="titaniumaluminiumalloy" />
      <RequiredItem tag="advmunition_core" description="fabricationdescription.advmunition_core" />
      <RequiredItem tag="advmunition_jacket" description="fabricationdescription.advmunition_jacket" />
      <RequiredItem identifier="hmgmagazine" mincondition="0.0" maxcondition="0.1" usecondition="false" />
    </Fabricate>
    <Deconstruct time="15">
      <Item identifier="steel" />
    </Deconstruct>
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="208,88,29,37" depth="0.55" origin="0.5,0.5" />
    <Body width="29" height="37" density="25" />
    <ItemContainer hideitems="true" capacity="1" drawinventory="false" canbeselected="false" ShowConditionInContainedStateIndicator="true" SpawnWithId="hmground" removecontaineditemsondeconstruct="true" containedstateindicatorstyle="bullet">
      <Containable items="hmground" />
      <StatusEffect type="OnUse" target="This" condition="-1" disabledeltatime="true">
        <SpawnItem identifiers="hmground" spawnposition="ThisInventory" />
      </StatusEffect>
    </ItemContainer>
    <Holdable canBeCombined="true" slots="Any,RightHand,LeftHand" handle1="0,0" msg="ItemMsgPickUpSelect" />
  </Item>
  <Item name="" identifier="hmground" category="Weapon" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem" 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="17" height="6" 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,200,200,175" scalemultiplier="1,0.8" />
      <Attack structuredamage="4" targetforce="7.5" itemdamage="4" severlimbsprobability="0.1" penetration="0.4">
        <Affliction identifier="gunshotwound" strength="12" />
        <Affliction identifier="bleeding" strength="10" />
        <Affliction identifier="stun" strength="0.1" />
        <Affliction identifier="stun" strength="0.5" probability="0.01" />
      </Attack>
      <StatusEffect type="OnImpact" target="UseTarget">
        <ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" scalemultiplier="2,2" />
      </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>
      <!-- hmg rounds should not exist outside magazines -->
      <StatusEffect type="OnNotContained" target="This" stackable="false" delay="1">
        <Remove />
      </StatusEffect>
    </Projectile>
  </Item>
  <Item name="" identifier="harpooncoilrifle" category="Weapon" cargocontaineridentifier="metalcrate" tags="mediumitem,weapon,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer secondary="wreckweaponholder" spawnprobability="0.005" />
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" amount="1" spawnprobability="0.01" />
    <PreferredContainer primary="secarmcab" secondary="armcab,weaponholder" />
    <Price baseprice="270" minleveldifficulty="30">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="2" sold="false" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="aluminium" />
      <Item identifier="plastic" />
      <Item identifier="copper" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredItem identifier="aluminium" amount="2" />
      <RequiredItem identifier="plastic" amount="2" />
      <RequiredItem identifier="copper" amount="2" />
    </Fabricate>
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="262,383,179,49" depth="0.55" origin="0.5,0.5" />
    <Body width="170" height="44" density="25" />
    <Holdable slots="Any,RightHand+LeftHand" controlpose="true" holdpos="35,-10" aimpos="45,-10" handle1="-20,-6" handle2="30,10" holdangle="-40" msg="ItemMsgPickUpSelect" />
    <RangedWeapon launchimpulse="30.0" maxchargetime="0.25" reload="1.5" weapondamagemodifier="1.25" spread="0.2" unskilledspread="5" combatPriority="70" drawhudwhenequipped="true" barrelpos="85,16" crosshairscale="0.2" holdtrigger="true">
      <Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
      <CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png" sourcerect="256,256,256,256" />
      <Sound file="Content/Items/Weapons/WEAPON_harpoonCoilRifleShot1.ogg" type="OnUse" range="2000" />
      <Sound file="Content/Items/Weapons/WEAPON_harpoonCoilRifleShot2.ogg" type="OnUse" range="2000" />
      <Sound file="Content/Items/Weapons/WEAPON_harpoonCoilRifleShot3.ogg" type="OnUse" range="2000" />
      <ChargeSound file="Content/Items/Weapons/WEAPON_harpoonCoilRifleChargeUp.ogg" range="500" />
      <StatusEffect type="OnUse" target="This">
        <Explosion range="150.0" force="5" shockwave="false" smoke="false" flames="false" flash="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
      </StatusEffect>
      <!-- 12 usages with normal battery -->
      <StatusEffect type="OnUse" target="Contained" targetslot="1" Condition="-8.3" disabledeltatime="true">
        <RequiredItem items="mobilebattery" type="Contained" msg="ItemMsgBatteryCellRequired" />
      </StatusEffect>
      <RequiredItem items="mobilebattery" type="Contained" TargetSlot="1" msg="ItemMsgBatteryCellRequired" />
      <RequiredItems items="harpoonammo" type="Contained" msg="ItemMsgSpearRequired" />
      <RequiredSkill identifier="weapons" level="30" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="6" slotsperrow="2" hideitems="false" iteminterval="0,-4" itempos="27,10" containedstateindicatorstyle="spear" containedstateindicatorslot="0" containedspritedepth="0.56">
      <Containable items="harpoonammo" hide="false" />
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="0,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="128,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="2" texture="Content/UI/StatusMonitorUI.png" sourcerect="320,448,64,64" origin="0.5,0.5" />
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="mobilebattery" hide="true" />
      </SubContainer>
      <SubContainer capacity="1" maxstacksize="1">
        <Containable items="flashlight" hide="false" itempos="18,13" setactive="true" />
      </SubContainer>
    </ItemContainer>
    <aitarget sightrange="0" soundrange="500" fadeouttime="2" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="30" />
  </Item>
  <Item name="" identifier="machinepistol" category="Weapon" cargocontaineridentifier="metalcrate" tags="smallautoweapon,smallitem,weapon,gun,gunsmith,provocativetohumanai,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="secarmcab" amount="1" spawnprobability="1" notcampaign="true" notpvp="true" />
    <PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
    <PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab,piratesecarmcab" amount="1" spawnprobability="0.25" />
    <PreferredContainer secondary="armcab,weaponholder" />
    <Price baseprice="200" minleveldifficulty="15">
      <Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" minavailable="1" sold="false" />
      <Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="2" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="2" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="steel" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="270,295,107,49" depth="0.55" origin="0.5,0.5" />
    <Body width="100" height="44" density="25" />
    <Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="70,5" handle1="-25,-7" msg="ItemMsgPickUpSelect" />
    <RangedWeapon reload="0.175" weapondamagemodifier="0.8" holdtrigger="true" barrelpos="54,9" spread="10" unskilledspread="18" combatPriority="70" drawhudwhenequipped="true" crosshairscale="0.2" DualWieldAccuracyPenalty="10">
      <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="muzzleflash" particleamount="1" velocitymin="0" velocitymax="0" />
      <Sound file="Content/Items/Weapons/WEAPON_machinePistolShot1.ogg" type="OnUse" range="3000" selectionmode="Random" />
      <Sound file="Content/Items/Weapons/WEAPON_machinePistolShot2.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/WEAPON_machinePistolShot3.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/WEAPON_machinePistolShot4.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/WEAPON_machinePistolShot5.ogg" type="OnUse" range="3000" />
      <Sound file="Content/Items/Weapons/WEAPON_machinePistolShot6.ogg" type="OnUse" range="3000" />
      <StatusEffect type="OnUse" target="This">
        <ParticleEmitter particle="casingfirearm" particleamount="1" anglemin="90" anglemax="150" velocitymin="50" velocitymax="250" CopyEntityAngle="true" />
        <Explosion range="150.0" force="1" shockwave="false" smoke="false" flames="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
      </StatusEffect>
      <!--"Use" contained magazine to spawn projectiles.-->
      <StatusEffect type="OnUse" target="Contained">
        <Use />
      </StatusEffect>
      <RequiredItems items="smgammo" type="Contained" msg="ItemMsgAmmoRequired" />
      <RequiredSkill identifier="weapons" level="50" />
    </RangedWeapon>
    <ItemContainer capacity="1" maxstacksize="1" hideitems="false" containedstateindicatorslot="0" containedstateindicatorstyle="bullet" containedspritedepth="0.56">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="256,448,64,64" origin="0.5,0.5" />
      <Containable items="smgammo" hide="false" itempos="3,-5" rotation="-5" />
    </ItemContainer>
    <aitarget sightrange="2000" soundrange="4000" fadeouttime="5" />
    <Quality>
      <QualityStat stattype="FirepowerMultiplier" value="0.1" />
    </Quality>
    <SkillRequirementHint identifier="weapons" level="50" />
  </Item>
</Items>
