<?xml version="1.0" encoding="utf-8"?>
<Override>
  <Item name="" identifier="handcannonround" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="32" interactthroughwalls="true" cargocontaineridentifier="metalcrate" allowasextracargo="true" Scale="0.5" tags="smallitem,handcannonammo,handheldammo,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="Content/Items/JobGear/TalentGear.png" sourcerect="166,430,40,43" origin="0.5,0.5" />
    <Sprite texture="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>
  <Rum name="" identifier="rum" category="Medical,Misc" maxstacksize="32" cargocontaineridentifier="mediccrate" description="" Tags="smallitem" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.01" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" minamount="1" maxamount="1" spawnprobability="0.01" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.02" notcampaign="true" />
    <PreferredContainer primary="medfabcab" secondary="medcab" />
    <Price baseprice="130" sold="false">
      <Price storeidentifier="merchantclown" minavailable="0" maxavailable="3">
        <Reputation faction="clowns" min="30" />
      </Price>
      <Price storeidentifier="merchantnightclub" minavailable="0" maxavailable="3" />
    </Price>
    <Fabricate suitablefabricators="fabricator" requiredtime="25" requiresrecipe="true">
      <RequiredItem identifier="ethanol" />
      <RequiredItem tag="distillable" />
    </Fabricate>
    <Sprite texture="Content/Items/Jobgear/TalentGear.png" sourcerect="486,212,27,66" depth="0.6" origin="0.5,0.5" />
    <SuitableTreatment type="infection" suitability="30" />
    <SuitableTreatment type="burn" suitability="-3" />
    <Body width="27" height="66" density="20" />
    <Holdable canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="32,28" holdangle="30" aimangle="120" aimable="false" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnSecondaryUse" target="This" Condition="-30.0" />
      <StatusEffect type="OnUse" target="This" Condition="-100.0" disabledeltatime="true" />
      <!-- When Rum is drunk -->
      <StatusEffect type="OnSecondaryUse" target="This,UseTarget" disabledeltatime="true" stackable="false">
        <Conditional Condition="lte 1" />
        <Affliction identifier="psychosisresistance" amount="600" />
      </StatusEffect>
      <StatusEffect type="OnSecondaryUse" target="This,UseTarget" duration="30" stackable="false" ConditionalComparison="And">
        <Conditional Condition="lte 1" />
        <Conditional huskinfection="lt 50.0" />
        <ReduceAffliction identifier="huskinfection" amount="1" />
      </StatusEffect>
      <StatusEffect type="OnSecondaryUse" target="This,UseTarget" duration="30" stackable="false">
        <Conditional Condition="lte 1" />
        <ReduceAffliction identifier="psychosis" amount="3" />
        <ReduceAffliction identifier="hallucinating" amount="3" />
        <Affliction identifier="drunk" amount="3" />
        <Remove />
      </StatusEffect>
      <!-- When Rum is used in Health GUI -->
      <StatusEffect type="OnUse" target="This, Limb" duration="10">
        <ReduceAffliction identifier="infection" amount="1.5" />
        <Affliction identifier="burn" amount="0.15" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
  </Rum>
</Override>