<?xml version="1.0" encoding="utf-8"?>
<Override>
  <Items>
    <!-- 手炮子弹 -->
    <Item name="" identifier="handcannonround" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="12" interactthroughwalls="true" cargocontaineridentifier="metalcrate" allowasextracargo="true" Scale="0.5" tags="smallitem,handcannonammo,pistolammoitem" impactsoundtag="impact_metal_light">
      <PreferredContainer primary="secarmcab" secondary="armcab" />
      <PreferredContainer primary="handcannon" amount="6" spawnprobability="1.0" />
      <PreferredContainer secondary="wrecksecarmcab" minamount="1" maxamount="6" spawnprobability="0.02" />
      <Price baseprice="50" sold="false" />
      <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true" amount="6">
        <RequiredSkill identifier="weapons" level="45" />
        <RequiredItem tag="munition_propulsion" description="fabricationdescription.munition_propulsion" />
        <RequiredItem tag="advmunition_tip" description="fabricationdescription.advmunition_tip" />
        <RequiredItem tag="advmunition_core" description="fabricationdescription.advmunition_core" />
        <RequiredItem tag="advmunition_jacket" description="fabricationdescription.advmunition_jacket" />
      </Fabricate>
      <InventoryIcon texture="%ModDir%/Content/Items/JobGear/TalentGear.png" sourcerect="166,430,43,43" origin="0.5,0.5" />
      <Sprite texture="%ModDir%/Content/Items/Jobgear/TalentGear.png" sourcerect="3,118,24,9" depth="0.55" origin="0.5,0.5" />
      <Body width="34" 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,200,115,200" scalemultiplier="1,1" />
        <Attack structuredamage="20" targetforce="20" itemdamage="20" severlimbsprobability="1.0" penetration="0.5">
          <Affliction identifier="gunshotwound" strength="70" />
          <Affliction identifier="bleeding" strength="50" />
          <Affliction identifier="stun" strength="1.5" />
        </Attack>
        <StatusEffect type="OnImpact" target="UseTarget">
          <ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" scalemultiplier="6,6" colormultiplier="255,200,115,200" />
        </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.75" scalemax="1" />
        </StatusEffect>
      </Projectile>
    </Item>
    <!-- 手炮：提升制造品质，提高射速 -->
    <Item name="" identifier="handcannon" category="Weapon" cargocontaineridentifier="metalcrate" allowasextracargo="true" tags="smallitem,weapon,gun,pistolitem,mountableweapon" Scale="0.5" impactsoundtag="impact_metal_light">
      <PreferredContainer primary="secarmcab" />
      <PreferredContainer secondary="armcab,weaponholder" />
      <Price baseprice="600" 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>
      <Fabricate suitablefabricators="fabricator" requiredtime="70" requiresrecipe="true">
        <RequiredSkill identifier="weapons" level="60" />
        <RequiredItem identifier="titaniumaluminiumalloy" amount="3" />
        <RequiredItem identifier="physicorium" />
      </Fabricate>
      <Deconstruct time="30">
        <Item identifier="titaniumaluminiumalloy" amount="2" />
        <Item identifier="physicorium" />
      </Deconstruct>
      <InventoryIcon texture="%ModDir%/Content/Items/JobGear/TalentGear.png" sourcerect="303,364,42,67" origin="0.5,0.5" />
      <Sprite texture="%ModDir%/Content/Items/Jobgear/TalentGear.png" sourcerect="0,256,111,56" depth="0.55" origin="0.5,0.5" />
      <Body width="106" height="49" density="30" />
      <Holdable slots="Any,RightHand+LeftHand" controlpose="true" aimpos="90,10" handle1="-45,-4" handle2="-45,-15" msg="ItemMsgPickUpSelect" />
      <RangedWeapon reload="0.5" reloadnoskill="1" reloadskillrequirement="60" barrelpos="40,6" spread="0" unskilledspread="8" combatPriority="90" 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/JobGear/Captain/WEAPONS_handCannon.ogg" type="OnUse" range="3000" selectionmode="Random" />
        <Sound file="Content/Items/JobGear/Captain/WEAPONS_handCannon_1.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Captain/WEAPONS_handCannon_2.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Captain/WEAPONS_handCannon_3.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Captain/WEAPONS_handCannon_4.ogg" type="OnUse" range="3000" />
        <Sound file="Content/Items/JobGear/Captain/WEAPONS_handCannon_5.ogg" type="OnUse" range="3000" />
        <ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0" velocitymax="0" scalemultiplier="7.0,7.0" colormultiplier="255,200,115,200" />
        <StatusEffect type="OnUse">
          <Explosion range="150.0" force="5" shockwave="false" smoke="false" flash="true" sparks="false" flames="false" underwaterbubble="false" camerashake="6.0" />
        </StatusEffect>
        <RequiredItems items="handcannonammo" type="Contained" msg="ItemMsgAmmoRequired" />
        <RequiredSkill identifier="weapons" level="60" />
      </RangedWeapon>
      <ItemContainer capacity="1" maxstacksize="6" hideitems="false" containedstateindicatorstyle="bullet" containedstateindicatorslot="0" containedspritedepth="0.56">
        <Containable items="handcannonammo" 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="17,4" setactive="true" />
        </SubContainer>
      </ItemContainer>
      <aitarget sightrange="2000" soundrange="5000" fadeouttime="5" />
      <Quality>
        <QualityStat stattype="FirepowerMultiplier" value="0.1" />
      </Quality>
      <SkillRequirementHint identifier="weapons" level="60" />
    </Item>
  </Items>
</Override>