<?xml version="1.0" encoding="utf-8"?>
<Items>
  <Item name="" identifier="autoinjectorheadset" scale="0.5" category="Equipment,Medical" tags="smallitem,mobileradio" allowasextracargo="true" description="" cargocontaineridentifier="metalcrate" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="medcab"/>
    <Price baseprice="140" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="113,264,58,45" origin="0.5,0.5" />
    <Sprite name="Headset" texture="Content/Items/JobGear/TalentGear.png" depth="0.6" sourcerect="255,305,72,60" origin="0.35,0.5" />
    <Body radius="20" height="20" density="15" />
    <Deconstruct time="10">
      <Item identifier="plastic" amount="2" />
      <Item identifier="copper" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10" requiresrecipe="true">
      <RequiredSkill identifier="mechanical" level="30" />
      <RequiredItem identifier="plastic" />
      <RequiredItem identifier="fpgacircuit" />
    </Fabricate>
    <WifiComponent range="35000.0" LinkToChat="true" MinChatMessageInterval="0.0" />
    <ItemContainer capacity="1" maxstacksize="1" autoinject="true">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="384,448,64,64" origin="0.5,0.5" />
      <Containable items="chem,syringe" />
    </ItemContainer>
    <Wearable limbtype="Head" slots="Any,Headset" msg="ItemMsgPickUpSelect" displaycontainedstatus="true">
      <sprite name="Headset Wearable" texture="Content/Items/JobGear/TalentGear.png" sourcerect="255,305,72,58" limb="Head" hidelimb="false" inheritlimbdepth="true" inheritscale="true" ignorelimbscale="true" scale="0.7" hideotherwearables="false" origin="0.5,0.5" />
    </Wearable>
  </Item>
  <Item name="" identifier="skillbookeuropanmedicine" category="Misc" Tags="smallitem,skillbook" maxstacksize="8" scale="0.5" impactsoundtag="impact_soft" cargocontaineridentifier="metalcrate">
    <PreferredContainer primary="crewcab"/>
    <Price baseprice="350" buyingpricemodifier="2.5" minleveldifficulty="40" >
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" maxavailable="1" />
      <Price storeidentifier="merchantresearch" maxavailable="1" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Deconstruct time="20">
      <Item identifier="carbon" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/JobGear/TalentGear.png" sourcerect="1,368,40,56" origin="0.5,0.5" />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="2,75,32,38" depth="0.6" origin="0.5,0.5" />
    <Body width="28" height="36" density="20" />
    <Holdable slots="Any,RightHand+LeftHand" aimable="false" aimpos="40,-20" handle1="5,0" aimangle="260" swingamount="0,3" swingspeed="0.5" swingwhenaiming="true" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnSecondaryUse" target="This" Condition="-10" />
      <StatusEffect type="OnSecondaryUse" target="This,Character" disabledeltatime="true">
        <Conditional Condition="lte 0" />
        <GiveSkill skillidentifier="medical" amount="10" triggertalents="false" />
        <RemoveItem />
      </StatusEffect>
    </Holdable>
  </Item>
  <Item name="" identifier="combatstimulantsyringe" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" Tags="smallitem,chem,medical,syringe" allowasextracargo="true" description="" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="medcab"/>
    <Price baseprice="340" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" multiplier="1.1" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="55" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="40" />
      <RequiredItem identifier="adrenaline" amount="2"/>
      <RequiredItem identifier="antidama1" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="adrenaline"/>
      <Item identifier="opium"/>
    </Deconstruct>
    <InventoryIcon texture="Content/Items/Medical/Medicines.png" sourcerect="448,320,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="264,309,37,68" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.2" waterdragcoefficient="1"/>
    <MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="220" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
      <RequiredSkill identifier="medical" level="35" />
      <StatusEffect type="OnSuccess" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnFailure" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect tags="medical" type="OnSuccess" target="UseTarget" duration="5.0">
        <Affliction identifier="combatstimulant" amount="15.0" />
        <Affliction identifier="chemaddiction" amount="2.0" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" duration="5.0">
        <Affliction identifier="combatstimulant" amount="15.0" />
        <Affliction identifier="chemaddiction" amount="4.0" />
      </StatusEffect>
      <StatusEffect type="OnSuccess" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnFailure" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget" multiplyafflictionsbymaxvitality="true" AllowWhenBroken="true">
        <Affliction identifier="stun" amount="0.1" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="18.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon" inheritrequiredskillsfrom="MeleeWeapon"/>
    <SkillRequirementHint identifier="medical" level="35" />
  </Item>
  <Item name="" identifier="pressurestabilizer" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" Tags="smallitem,chem,medical,syringe" allowasextracargo="true" description="" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="medcab"/>
    <Price baseprice="200" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" multiplier="1.1" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="20" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="40" />
      <RequiredItem identifier="liquidoxygenite" amount="2" />
      <RequiredItem identifier="stabilozine" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="liquidoxygenite" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="576,640,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="3,308,37,69" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.2" waterdragcoefficient="1"/>
    <MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="220" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
      <RequiredSkill identifier="medical" level="35" />
      <StatusEffect type="OnSuccess" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnFailure" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect tags="medical" type="OnSuccess" target="UseTarget" duration="10.0">
        <Affliction identifier="pressurestabilized" amount="90.0" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" duration="10.0">
        <Affliction identifier="pressurestabilized" amount="45.0" />
      </StatusEffect>
      <StatusEffect type="OnSuccess" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnFailure" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget" multiplyafflictionsbymaxvitality="true" AllowWhenBroken="true">
        <Affliction identifier="stun" amount="0.1" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="18.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon" inheritrequiredskillsfrom="MeleeWeapon"/>
    <SkillRequirementHint identifier="medical" level="35" />
  </Item>
  <Item name="" identifier="endocrinebooster" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" Tags="smallitem,chem,medical,syringe" allowasextracargo="true" description="" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="medcab"/>
    <Price baseprice="1400" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="1.1" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="50" amount="1" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="90" />
      <RequiredItem identifier="sulphuriteshard" />
      <RequiredItem identifier="sulphuriteshard" />
      <RequiredItem identifier="paralyxis" />
      <RequiredItem identifier="paralyxis" />
      <RequiredItem identifier="deusizine" />
    </Fabricate>
    <Deconstruct time="25">
      <Item identifier="sulphuricacid" />
      <Item identifier="sulphuricacid" />
      <Item identifier="paralyxis" />
      <Item identifier="deusizine" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/Medical/Medicines.png" sourcerect="448,256,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="303,310,35,67" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.2" waterdragcoefficient="1"/>
    <MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="220" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
      <RequiredSkill identifier="medical" level="60" />
      <StatusEffect type="OnSuccess" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnFailure" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnSuccess" target="UseTarget">
        <GiveTalentInfo giverandom="true" talentidentifiers="prodigy,downwiththeship,lonewolf, physicalconditioning,swole,beatcop, exampleofhealth,laresistance,drsubmarine, egghead,grounded,unstoppablecuriosity, ballastdenizen,miner,mudraptorwrestler, skedaddle,revengesquad,thewaitinglist" />
      </StatusEffect>
      <StatusEffect type="OnFailure" target="UseTarget">
        <GiveTalentInfo giverandom="true" talentidentifiers="prodigy,downwiththeship, physicalconditioning,swole, exampleofhealth,laresistance, egghead,grounded, ballastdenizen,miner, skedaddle,revengesquad" />
      </StatusEffect>
      <StatusEffect type="OnSuccess" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnFailure" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget" multiplyafflictionsbymaxvitality="true" AllowWhenBroken="true">
        <Affliction identifier="stun" amount="0.1" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="18.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon" inheritrequiredskillsfrom="MeleeWeapon" />
    <SkillRequirementHint identifier="medical" level="60" />
  </Item>
  <Item identifier="advancedgenesplicer" variantof="genesplicer" allowasextracargo="true" descriptionidentifier="advancedgenesplicer">
    <PreferredContainer primary="medcab" secondary="medcab"/>
    <PreferredContainer secondary="abandonedmedcab,piratemedcab,wreckmedcab,outpostmedcab" spawnprobability="0"/>
    <Price baseprice="550" sold="false" minleveldifficulty="65">
      <Price storeidentifier="merchanthusk" minavailable="1" maxavailable="2" sold="true">
        <Reputation faction="huskcult" min="50"/>
      </Price>
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="1.1" sold="true" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Deconstruct time="10">
      <Item identifier="fulgurium" amount="1" />
      <Item identifier="copper" amount="2" />
      <Item identifier="rubber" />
      <Item identifier="silicon" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="60" />
      <RequiredItem identifier="fulgurium" />
      <RequiredItem identifier="fpgacircuit" amount="2" />
      <RequiredItem identifier="rubber" amount="2" />
      <RequiredItem identifier="silicon" amount="2" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/Genetic/Genetic.png" sourcerect="327,62,73,65" origin="0.5,0.5" />
    <Sprite name="Headset" texture="Content/Items/Genetic/Genetic.png" depth="0.6" sourcerect="148,85,73,35" origin="0.5,0.5" />
    <Body radius="8" width="48" density="15" />
    <ItemContainer capacity="2" maxstacksize="1" />
    <Wearable>
      <sprite name="Gene Splicer Wearable" texture="Content/Items/Genetic/Genetic.png" limb="Head" hidelimb="false" inheritlimbdepth="true" inheritscale="true" ignorelimbscale="true" scale="0.5" hideotherwearables="false" sourcerect="326,131,67,55" origin="0.6,0.0" />
    </Wearable>
  </Item>

  <Item name="" identifier="advancedsyringegun" variantof="syringegun">
    <PreferredContainer primary="armcab" amount="1" spawnprobability="0" notcampaign="true" />
    <PreferredContainer secondary="secarmcab,weaponholder"/>
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab,wreckarmcab,abandonedarmcab,piratearmcab" amount="1" spawnprobability="0" />
    <Price baseprice="310" sold="false">
      <Price storeidentifier="merchanthusk" minavailable="1" maxavailable="2" sold="true">
        <Reputation faction="huskcult" min="50"/>
      </Price>
    </Price>
    <Deconstruct time="10">
      <Item identifier="titaniumaluminiumalloy" />
      <Item identifier="plastic" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="50" />
      <RequiredItem identifier="titaniumaluminiumalloy" amount="1" />
      <RequiredItem identifier="aluminium" amount="1" />
      <RequiredItem identifier="plastic" amount="2" />
    </Fabricate>
    <InventoryIcon />
    <Sprite texture="Content/Items/JobGear/TalentGear.png" sourcerect="354,429,145,78" depth="0.7" origin="0.5,0.5" />
    <Body width="90" height="74" density="25" />
    <RangedWeapon launchimpulse="10.0" barrelpos="71,30" spread="0" unskilledspread="10" 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/SyringeGun1.ogg" type="OnUse" range="1000" volume="0.75"/>
      <Sound file="Content/Items/Weapons/SyringeGun2.ogg" type="OnUse" range="1000" volume="0.75"/>
      <RequiredItems items="syringe" type="Contained" msg="ItemMsgSyringeRequired" />
      <RequiredSkill identifier="weapons" level="30" />
      <RequiredSkill identifier="medical" level="50" />
    </RangedWeapon>
    <ItemContainer capacity="2" maxstacksize="8" itempos="0,25" itemrotation="-90" hideitems="false" containedstateindicatorstyle="syringe" ShowTotalStackCapacityInContainedStateIndicator="true" containedstateindicatorslot="0">
      <SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="384,448,64,64" origin="0.5,0.5" />
      <SlotIcon slotindex="1" texture="Content/UI/StatusMonitorUI.png" sourcerect="384,448,64,64" origin="0.5,0.5" />
      <Containable items="syringe" />
    </ItemContainer>
    <StatusHUD drawhudwhenequipped="true" />
    <SkillRequirementHint identifier="weapons" level="30" />
    <SkillRequirementHint identifier="medical" level="50" />
  </Item>

  <Item name="" identifier="europabrew" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="chemicalcrate" Tags="smallitem,chem,medical,syringe" description="" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
    <PreferredContainer primary="toxcab" secondary="toxcontainer"/>
    <PreferredContainer primary="wrecktoxcab,abandonedtoxcab,piratetoxcab" spawnprobability="0.05" />
    <Price baseprice="200" minavailable="1">
      <Price storeidentifier="merchantoutpost" sold="false" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.1" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="10" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="30" />
      <RequiredItem identifier="alienblood" count="1" />
      <RequiredItem identifier="calcium" count="2" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="alienblood" />
      <Item identifier="calcium" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="0,960,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="113,209,37,72" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.2" waterdragcoefficient="1"/>
    <MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="220" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
      <StatusEffect type="OnSuccess" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnSuccess" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
        <Affliction identifier="acidreaction" amount="30" MultiplyByMaxVitality="true" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnSuccess" target="UseTarget" duration="30">
        <ReduceAffliction type="poison" amount="1" />
      </StatusEffect>
      <!-- Remove the item when fully used -->
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="20.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon"/>
  </Item>

  <Item name="" identifier="sulphuricacidsyringe" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="chemicalcrate" description="" Tags="smallitem,chem,syringe" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light" RequireAimToUse="True">
    <PreferredContainer secondary="wrecktoxcab,abandonedtoxcab,piratetoxcab" spawnprobability="0" />
    <PreferredContainer primary="toxcab" secondary="toxcontainer"/>
    <Price baseprice="160" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.25" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" />
      <Price storeidentifier="merchantmine" multiplier="1.1" />
      <Price storeidentifier="merchantarmory" multiplier="0.9"  />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" amount="2" requiredtime="5" requiresrecipe="true">
      <RequiredSkill identifier="medical" level="30" />
      <RequiredItem identifier="sulphuricacid" count="2" />
      <RequiredItem identifier="alienblood" count="1" />
      <RequiredItem identifier="plastic" count="1" />
    </Fabricate>
    <Deconstruct time="5">
      <Item identifier="sulphuricacid" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="64,960,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="263,210,37,72" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.2" waterdragcoefficient="1"/>
    <MeleeWeapon canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="40,5" handle1="0,0" holdangle="220" reload="1.0" msg="ItemMsgPickUpSelect" HitOnlyCharacters="true">
      <StatusEffect type="OnSuccess" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnSuccess" target="UseTarget" duration="10.0">
        <Conditional mass="lt 3000" />
        <Affliction identifier="acidburn" amount="7.5" />
        <!-- Make sure it's effective regardless of the size of the enemy, 75 damage flat and 20% max health damage to an enemy without resistances -->
        <Affliction identifier="acidburn" amount="2.0" MultiplyByMaxVitality="true" />
        <Affliction identifier="slow" amount="20" MultiplyByMaxVitality="true" />
      </StatusEffect>
      <StatusEffect type="OnSuccess" target="UseTarget" duration="20.0">
        <!-- Latcher and heavier monsters take longer and more doses to kill, 150 damage flat and 5% max health damage. -->
        <Conditional mass="gte 3000" />
        <Affliction identifier="acidburn" amount="7.5" />
        <Affliction identifier="acidburn" amount="0.25" MultiplyByMaxVitality="true" />
        <Affliction identifier="slow" amount="20" MultiplyByMaxVitality="true" />
      </StatusEffect>
      <StatusEffect type="OnSuccess" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnImpact" target="UseTarget" multiplyafflictionsbymaxvitality="true" AllowWhenBroken="true">
        <Affliction identifier="stun" amount="0.1" />
      </StatusEffect>
      <!-- Remove the item when fully used -->
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="18.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon"/>
  </Item>

  <Item name="" identifier="chemgrenade" 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"/>
    <Price baseprice="80" sold="false">
      <Price storeidentifier="merchantoutpost" multiplier="1.5" />
      <Price storeidentifier="merchantcity" multiplier="1.25" />
      <Price storeidentifier="merchantresearch" multiplier="1.25" mindifficulty="60" sold="true" />
      <Price storeidentifier="merchantmilitary" multiplier="0.9" mindifficulty="60" sold="true" />
      <Price storeidentifier="merchantmine" multiplier="1.25" />
      <Price storeidentifier="merchantarmory" multiplier="0.9" />
    </Price>
    <Deconstruct time="5" />
    <Fabricate suitablefabricators="fabricator" requiredtime="20" amount="2" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="40" />
      <RequiredItem identifier="iron" amount="2" />
      <RequiredItem identifier="sulphuricacid" />
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="576,448,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="79,414,26,54" depth="0.55" origin="0.5,0.5" />
    <BrokenSprite texture="Content/Items/Weapons/weapons_new.png" name="chemgrenade" sourcerect="487,186,24,54" depth="0.55" origin="0.5,0.5185185" maxcondition="99.9" />
    <Body width="26" height="54" density="30" />
    <Throwable characterusable="false" slots="Any,RightHand,LeftHand" throwforce="4.0" aimpos="35,-10" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Weapons/StunGrenade.ogg" />
        <Explosion range="500" ballastfloradamage="0" itemdamage="0" force="0.5" sparks="true" shockwave="false" flames="false" smoke="false" flash="true">
          <Affliction identifier="acidburn" strength="30" />
          <Affliction identifier="acidburn" strength="15" probability="0.2" dividebylimbcount="false" />
          <Affliction identifier="stun" strength="0.5" />
        </Explosion>
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This" delay="0.2">
        <SpawnItem identifier="acidmistemitter" count="10" aimspread="360" impulse="30" rotationtype="Collider" rotation="0" spawnposition="This" />
        <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>
    <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="-30">
        <ParticleEmitter particle="flamethrowersmoke" particlespersecond="25" anglemin="0" anglemax="0" velocitymin="75" velocitymax="125" copyentityangle="true" scalemin="0.1" scalemax="0.15" colormultiplier="255,255,255,150" />
      </StatusEffect>
    </ItemComponent>
    <Quality>
      <QualityStat stattype="ExplosionRadius" value="0.1"/>
      <QualityStat stattype="ExplosionDamage" value="0.1"/>
    </Quality>
  </Item>

  <Item name="" identifier="40mmchemgrenade" category="Weapon" maxstacksize="32" maxstacksizecharacterinventory="8" interactthroughwalls="true" cargocontaineridentifier="metalcrate" tags="smallitem,grenade" Scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="grenadelauncher" amount="1" spawnprobability="0"/>
    <PreferredContainer secondary="wreckarmcab,abandonedarmcab,piratearmcab" minamount="1" maxamount="2" spawnprobability="0"/>
    <PreferredContainer primary="secarmcab" secondary="armcab"/>
    <Price baseprice="130" 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 storeidentifier="merchantarmory" multiplier="0.9" />
    </Price>
    <Deconstruct time="5">
      <Item identifier="iron" />
      <Item identifier="sulphuricacid" />
    </Deconstruct>
    <Fabricate suitablefabricators="fabricator" requiredtime="10" requiresrecipe="true">
      <RequiredSkill identifier="weapons" level="30"/>
      <RequiredItem identifier="iron"/>
      <RequiredItem identifier="sulphuricacid"/>
      <RequiredItem identifier="phosphorus"/>
    </Fabricate>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="512,448,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="185,159,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">
      <StatusEffect type="OnUse" target="This" Condition="-100.0" delay="1.0" setvalue="true" />
      <StatusEffect type="OnBroken" target="This">
        <sound file="Content/Items/Weapons/FragGrenade40mmShot1.ogg" range="2000" />
        <sound file="Content/Items/Weapons/FragGrenade40mmShot2.ogg" range="2000" />
        <Explosion range="500" ballastfloradamage="0" itemdamage="0" force="0.5" sparks="true" shockwave="false" flames="false" smoke="false" flash="true">
          <Affliction identifier="acidburn" strength="30" />
          <Affliction identifier="acidburn" strength="15" probability="0.2" dividebylimbcount="false"/>
          <Affliction identifier="stun" strength="0.5" />
        </Explosion>
        <Remove />
      </StatusEffect>
      <StatusEffect type="OnUse" target="This" delay="0.3">
        <SpawnItem identifier="acidmistemitter" count="10" aimspread="360" impulse="30" rotationtype="Collider" rotation="0" spawnposition="This" />
        <Remove />
      </StatusEffect>
    </Projectile>
  </Item>

  
  <Item name="Acid Emitter" identifier="acidmistemitter" Scale="1" tags="gas" sonarsize="0" hideinmenus="true" health="10" depth="0.1" isdangerous="true" noninteractable="true">
    <Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="0,0,2,2" depth="0.55" origin="0.5,0.5" />
    <!-- Without a body, the item wouldn't stay inside the sub, and could go through sub walls from the outside -->
    <Body radius="50" density="15" gravityscale="0.1" lineardamping="0.5" />
    <ItemComponent>
      <StatusEffect type="OnSpawn" target="This" duration="10">
        <ParticleEmitter particle="acidmistgrenade" particlespersecond="5" scalemin="0.9" scalemax="1.0" anglemin="0" anglemax="360" velocitymin="0" velocitymax="25" copyentityangle="false"/>
      </StatusEffect>
      <StatusEffect type="Always" target="This" disabledeltatime="false" condition="-1">
        <Sound file="Content/Items/Tools/Sprayer.ogg" range="300" volume="0.1" loop="true"/>
      </StatusEffect>
      <StatusEffect type="Always" target="NearbyCharacters" range="200" delay="0.5" stackable="false" disabledeltatime="true">
        <Affliction identifier="acidburn" strength="0.08"/>
        <Affliction identifier="slow" strength="50" MultiplyByMaxVitality="true" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </ItemComponent>
  </Item>
</Items>
