<?xml version="1.0" encoding="utf-8"?>
<Items>
  <!-- Name: Methamphetamine -->
  <!-- Description: A potent nervous system stimulant. -->
  <!-- *************************************************************************************************************************************************************************** -->
  <Methamphetamine name="" identifier="meth" 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">
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <PreferredContainer primary="medcab"/>
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.2" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" amount="1" spawnprobability="0.05" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.05" notcampaign="true" notpvp="true"/>
    <Price baseprice="50">
      <Price storeidentifier="merchantoutpost" sold="false" />
      <Price storeidentifier="merchantcity" multiplier="0.9" minavailable="2" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" minavailable="3" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" minavailable="1" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.1" />
      <Price storeidentifier="merchantnightclub" minavailable="4" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="30">
      <RequiredSkill identifier="medical" level="30" />
      <RequiredItem identifier="phosphorus" />
      <RequiredItem identifier="chlorine" amount="2" />
      <RequiredItem identifier="carbon" amount="2" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="phosphorus" />
      <Item identifier="chlorine" />
      <Item identifier="carbon" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="512,448,64,64" origin="0.5,0.5" />
    <Sprite texture="Medicines.png" sourcerect="75,0,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="30.0">
        <Affliction identifier="organdamage" amount="0.5" />
        <ReduceAffliction identifier="oxygenlow" amount="3" />
        <ReduceAffliction identifier="stun" amount="0.75" />
        <Affliction identifier="chemaddiction" amount="0.25" />
        <ReduceAffliction identifier="chemwithdrawal" amount="3" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnSuccess" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="haste" amount="420" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" duration="30.0">
        <Affliction identifier="organdamage" amount="1" />
        <ReduceAffliction identifier="oxygenlow" amount="1.5" />
        <ReduceAffliction identifier="stun" amount="0.75" />
        <Affliction identifier="chemaddiction" amount="0.5" />
        <ReduceAffliction identifier="chemwithdrawal" amount="3" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="haste" amount="300" />
      </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>
      <!-- Remove the item when fully used -->
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="15.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon" inheritrequiredskillsfrom="MeleeWeapon"/>
    <SkillRequirementHint identifier="medical" level="35" />
  </Methamphetamine>
  <!-- Name: Anabolic Steroids -->
  <!-- Description: Temporarily increases muscular strength and physical performance. -->
  <!-- *************************************************************************************************************************************************************************** -->
  <AnabolicSteroids name="" identifier="steroids" 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">
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <PreferredContainer primary="medcab"/>
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" amount="1" spawnprobability="0.05" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.05" notcampaign="true" notpvp="true"/>
    <Price baseprice="350">
      <Price storeidentifier="merchantoutpost" sold="false" />
      <Price storeidentifier="merchantcity" multiplier="0.9" minavailable="1" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" minavailable="1" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" minavailable="2" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.1" />
      <Price storeidentifier="merchanthusk" minavailable="0" maxavailable="2"/>
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="45">
      <RequiredSkill identifier="medical" level="30" />
      <RequiredItem identifier="tonicliquid" />
      <RequiredItem identifier="adrenaline" amount="3" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="tonicliquid"/>
      <Item identifier="adrenaline" amount="2"/>
    </Deconstruct>
    <!-- TODO: sprite -->
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="576,448,64,64" origin="0.5,0.5" />
    <Sprite texture="Medicines.png" sourcerect="112,0,38,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="60.0">
        <ReduceAffliction identifier="oxygenlow" amount="0.2" />
        <Affliction identifier="chemaddiction" amount="0.1" />
        <ReduceAffliction identifier="chemwithdrawal" amount="1.5" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnSuccess" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="strengthen" amount="420" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" duration="60.0">
        <ReduceAffliction identifier="oxygenlow" amount="0.2" />
        <Affliction identifier="chemaddiction" amount="0.2" />
        <ReduceAffliction identifier="chemwithdrawal" amount="1.5" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="strengthen" amount="300" />
      </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>
      <!-- Remove the item when fully used -->
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="15.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon" inheritrequiredskillsfrom="MeleeWeapon"/>
    <SkillRequirementHint identifier="medical" level="35" />
  </AnabolicSteroids>
  <!-- Name: Hyperzine -->
  <!-- Description: An extremely potent muscle stimulant for those moments when you gotta go fast. -->
  <!-- *************************************************************************************************************************************************************************** -->
  <Hyperzine name="" identifier="hyperzine" 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">
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <PreferredContainer primary="medcab"/>
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" amount="1" spawnprobability="0.05" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.05" notcampaign="true" notpvp="true"/>
    <Price baseprice="450" minavailable="1">
      <Price storeidentifier="merchantoutpost" sold="false" />
      <Price storeidentifier="merchantcity" sold="false" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" sold="false" multiplier="1.1" />
      <Price storeidentifier="merchantnightclub" minavailable="3" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="60">
      <RequiredSkill identifier="medical" level="40" />
      <RequiredItem identifier="meth" />
      <RequiredItem identifier="steroids" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="steroids" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="640,448,64,64" origin="0.5,0.5" />
    <Sprite texture="Medicines.png" sourcerect="149,0,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="50" />
      <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="60.0">
        <ReduceAffliction type="damage" amount="0.2" />
        <ReduceAffliction identifier="oxygenlow" amount="0.25" />
        <ReduceAffliction identifier="stun" amount="0.9" />
        <Affliction identifier="chemaddiction" amount="0.2" />
        <ReduceAffliction identifier="chemwithdrawal" amount="1.5" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnSuccess" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="haste" amount="400" />
        <Affliction identifier="strengthen" amount="400" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" duration="60.0">
        <ReduceAffliction type="damage" amount="0.1" />
        <ReduceAffliction identifier="oxygenlow" amount="0.1" />
        <ReduceAffliction identifier="stun" amount="0.25" />
        <Affliction identifier="chemaddiction" amount="0.4" />
        <ReduceAffliction identifier="chemwithdrawal" amount="1.5" />
        <Affliction identifier="burn" amount="0.125" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="haste" amount="400" />
        <Affliction identifier="strengthen" amount="400" />
      </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>
      <!-- Remove the item when fully used -->
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </MeleeWeapon>
    <Projectile characterusable="false" launchimpulse="15.0" sticktocharacters="true" launchrotation="-90" inheritstatuseffectsfrom="MeleeWeapon" inheritrequiredskillsfrom="MeleeWeapon"/>
    <SkillRequirementHint identifier="medical" level="50" />
  </Hyperzine>
  <!-- Name: Ethanol -->
  <!-- Medical alcohol used as an ingredient in the manufacture of various medicines. Drinking while on duty is not advised. 
       Pouring on skin treats mild infections yet causes small burns.-->
  <!-- *************************************************************************************************************************************************************************** -->
  <Ethanol name="" identifier="ethanol" category="Medical,Material" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="chemicalcrate" description="" Tags="smallitem,chem,medical,petfood2" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <PreferredContainer primary="sprayer" amount="1" spawnprobability="1"/>
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.2" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" minamount="1" maxamount="2" spawnprobability="0.3" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.5" notcampaign="true" notpvp="true"/>
    <PreferredContainer primary="medfabcab" secondary="medcab"/>
    <Price baseprice="60" minavailable="6" >
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" minavailable="8" />
      <Price storeidentifier="merchantresearch" multiplier="0.9" minavailable="10" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine" multiplier="1.1" />
      <Price storeidentifier="merchantclown" minavailable="0" maxavailable="2" />
      <Price storeidentifier="merchantnightclub" minavailable="4" />
    </Price>
    <Fabricate suitablefabricators="vendingmachine" requiredtime="1" requiredmoney="80" fabricationlimitmin="5" fabricationlimitmax="10"/>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="256,768,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="435,452,30,57" depth="0.6" origin="0.5,0.5" />
    <Body width="30" height="55" density="20" />
    <SuitableTreatment type="infection" suitability="1" />
    <SuitableTreatment type="burn" suitability ="-3" />
    <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" setvalue="true">
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <!-- When Ethanol is drunk -->
      <StatusEffect type="OnSecondaryUse" target="This,UseTarget" delay="10" duration="10" stackable="false">
        <Conditional Condition="lte 1" />
        <Affliction identifier="drunk" amount="2.0" />
        <ReduceAffliction identifier="psychosis" amount="2.0" />
        <ReduceAffliction identifier="hallucinating" amount="2.0" />
        <Affliction identifier="psychosisresistance" amount="30" />
        <Remove />
      </StatusEffect>
       <StatusEffect type="OnSecondaryUse" target="This" >
        <ParticleEmitter particle="waterdrop" particlespersecond="10" scalemin="1" scalemax="1.5" distancemin="20" distancemax="25" anglemin="80" anglemax="100" velocitymin="40" velocitymax="60" copyentityangle="true" lifetimemultiplier="0.10" />
      </StatusEffect>
      <!-- When Ethanol is used in Health GUI -->
      <StatusEffect type="OnUse" target="This, Limb" duration="10">
        <ReduceAffliction identifier="infection" amount="0.8" />
        <Affliction identifier="burn" amount="0.15" /> 
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
    <AiTarget sightrange="1000" static="true" />
  </Ethanol>
  
  <!-- Name: Energy Drink -->
  <!-- Applies heightened speed for a while, but also has a probability to cause nausea. Only at vending machines. -->
  <!-- *************************************************************************************************************************************************************************** -->
  <EnergyDrink name="" identifier="energydrink" category="Medical,Material" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="chemicalcrate" description="" Tags="smallitem,chem,medical" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" minamount="1" maxamount="2" spawnprobability="0.15" />
    <Price baseprice="40" sold="false">
      <Price storeidentifier="merchantnightclub" minavailable="4" sold="true" />
    </Price>
    <Fabricate suitablefabricators="vendingmachine" requiredtime="1" requiredmoney="40" fabricationlimitmin="5" fabricationlimitmax="10"/>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="64,768,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="315,452,30,57" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" 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="OnSecondaryUse" target="This,Character">
        <Conditional Condition="lte 1" />
        <Use/>
      </StatusEffect>
      <StatusEffect type="OnUse" target="This" Condition="-100.0" setvalue="true">
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="haste" amount="100" />
        <Affliction identifier="nausea" amount="50.0" probability="0.25"/>
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
  </EnergyDrink>
  
  <!-- Name: Protein bar -->
  <!-- Provides slow healing for damage and burns. Only at vending machines. -->
  <!-- *************************************************************************************************************************************************************************** -->
  <ProteinBar name="" identifier="proteinbar" category="Medical,Material" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="chemicalcrate" description="" Tags="smallitem,medical" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <Upgrade gameversion="0.10.0.0" scale="0.5" />
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" minamount="1" maxamount="2" spawnprobability="0.15" />
    <PreferredContainer primary="crewcab"/>
    <Fabricate suitablefabricators="vendingmachine" requiredtime="1" requiredmoney="40" fabricationlimitmin="5" fabricationlimitmax="10"/>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="0,768,64,64" origin="0.5,0.5" />
    <Sprite texture="Content/Items/Medical/Medicines.png" sourcerect="285,452,30,57" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.1" />
    <Holdable canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" aimpos="32,15" holdangle="0" aimangle="90" aimable="false" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnSecondaryUse" target="This" Condition="-30.0" />
      <StatusEffect type="OnSecondaryUse" target="This,Character" disabledeltatime="true">
        <Conditional Condition="lte 1" />
        <Use/>
      </StatusEffect>
      <StatusEffect type="OnUse" target="This" Condition="-100.0" setvalue="true">
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnUse" target="UseTarget" stackable="false" duration="7.5">
        <ReduceAffliction type="damage" amount="1.0" />
        <ReduceAffliction type="burn" amount="1.0" />
        <Affliction identifier="strengthen" amount="2" />
      </StatusEffect>  
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
  </ProteinBar>

  <!-- Name: Mind Sense -->
  <!-- Gives the user temporarily the ability to highlight enemies, similar to Thermal Goggles -->
  <!-- *************************************************************************************************************************************************************************** -->
  <MindSense identifier="mindsense" category="Medical" maxstacksize="32" maxstacksizecharacterinventory="8" cargocontaineridentifier="chemicalcrate" description="" Tags="smallitem,chem,medical" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="medcab"/>
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" amount="1" spawnprobability="0.05" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.05" notcampaign="true" notpvp="true"/>
    <Price baseprice="280" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" multiplier="0.9" />
      <Price storeidentifier="merchantresearch" sold="true" maxavailable="1" mindifficulty="35" multiplier="0.9" />
      <Price storeidentifier="merchantmilitary" multiplier="1.1" />
      <Price storeidentifier="merchantmine"  multiplier="1.1" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="60">
      <RequiredSkill identifier="medical" level="40" />
      <RequiredItem identifier="dementonite" />
      <RequiredItem identifier="meth" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="meth" />
    </Deconstruct>
    <InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="196,834,56,56" origin="0.5,0.5" />
    <!-- TODO new Sprite-->
    <Sprite texture="Medicines.png" sourcerect="480,391,32,57" depth="0.6" origin="0.5,0.5" />
    <Body width="32" height="57" density="10.2" waterdragcoefficient="1"/>
    <Holdable canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" handle1="0,0" msg="ItemMsgPickUpSelect">
      <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 tags="medical" type="OnSuccess" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="mindsense" amount="420" />
      </StatusEffect>
      <StatusEffect tags="medical" type="OnFailure" target="UseTarget" disabledeltatime="true">
        <Affliction identifier="mindsense" amount="240" />
      </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="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
    <SkillRequirementHint identifier="medical" level="60" />
  </MindSense>

  <!-- Name: Mind Wipe -->
  <!-- Resets the talent points of the character, overuse can lose points -->
  <!-- *************************************************************************************************************************************************************************** -->
  <MindWipe identifier="mindwipe" category="Medical" maxstacksize="8" maxstacksizecharacterinventory="1" cargocontaineridentifier="chemicalcrate" description="" Tags="smallitem" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer primary="medcab"/>
    <PreferredContainer secondary="crewcab" />
    <PreferredContainer primary="ruinstoragelarge" amount="1" spawnprobability="0.03" />
    <PreferredContainer primary="ruintreasure" amount="1" spawnprobability="0.1" />
    <Price baseprice="860" sold="false">
      <Price storeidentifier="merchantoutpost" />
      <Price storeidentifier="merchantcity" />
      <Price storeidentifier="merchantresearch" sold="true" maxavailable="1" mindifficulty="55" />
      <Price storeidentifier="merchantmilitary" />
      <Price storeidentifier="merchantmine" />
    </Price>
    <Fabricate suitablefabricators="medicalfabricator" requiredtime="60">
      <RequiredSkill identifier="medical" level="50" />
      <RequiredItem identifier="dementonite" amount="4" />
      <RequiredItem identifier="antipsychosis" amount="4" />
    </Fabricate>
    <Deconstruct time="20">
      <Item identifier="dementonite" amount="2" />
      <Item identifier="antipsychosis" amount="2" />
    </Deconstruct>
    <InventoryIcon texture="Medicines.png" sourcerect="448,193,64,64" origin="0.5,0.5" />
    <Sprite texture="Medicines.png" sourcerect="341,310,35,67" depth="0.6" origin="0.5,0.5" />
    <Body width="35" height="65" density="10.2" waterdragcoefficient="1"/>
    <Holdable canBeCombined="true" removeOnCombined="true" slots="Any,RightHand,LeftHand" holdangle="30" aimable="false" msg="ItemMsgPickUpSelect">
      <StatusEffect type="OnUse" target="This" Condition="-100.0" setvalue="true"/>
      <StatusEffect type="OnUse" target="UseTarget">
        <Conditional entitytype="eq Character"/>
        <RefundTalents />
        <Sound file="Content/Items/Medical/Syringe.ogg" range="500" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
  </MindWipe>
  <Item name="" nameidentifier="beerbottle" identifier="beerbottle1" category="Medical,Misc" maxstacksize="8" cargocontaineridentifier="mediccrate" description="" Tags="smallitem" useinhealthinterface="true" scale="0.5" impactsoundtag="impact_metal_light">
    <PreferredContainer secondary="wreckmedcab,abandonedmedcab,piratemedcab" amount="1" spawnprobability="0.05" />
    <PreferredContainer secondary="abandonedcrewcab,piratecrewcab" minamount="1" maxamount="1" spawnprobability="0.1" />
    <PreferredContainer secondary="crewcab" amount="1" spawnprobability="0.1" notcampaign="true" notpvp="true"/>
    <PreferredContainer primary="medfabcab" secondary="medcab"/>
    <Price baseprice="60" sold="false">
      <Price storeidentifier="merchantclown" minavailable="0" maxavailable="3" sold="true">
        <Reputation faction="clowns" min="30"/>
      </Price>
      <Price storeidentifier="merchantnightclub" minavailable="20" sold="true" />
    </Price>
    <Fabricate suitablefabricators="vendingmachine" requiredtime="1" requiredmoney="60" fabricationlimitmin="2" fabricationlimitmax="6"/>
    <Sprite texture="Content/Map/Outposts/Art/AdminResidentAssets.png" sourcerect="835,0,20,63" depth="0.6" origin="0.5,0.5" />
    <SuitableTreatment type="psychosis" suitability="12" />
    <Body width="20" height="63" 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 beer is drunk -->
      <StatusEffect type="OnSecondaryUse" target="This,UseTarget" duration="20" disabledeltatime="true">
        <Conditional Condition="lte 1" />
        <Use/>
      </StatusEffect>
      <!-- When beer is used in Health GUI -->
      <StatusEffect type="OnUse" target="UseTarget" duration="12" stackable="false">
        <ReduceAffliction identifier="psychosis" amount="1" />
        <ReduceAffliction identifier="hallucinating" amount="1" />
        <Affliction identifier="drunk" amount="2" />
        <ReduceAffliction type="damage" amount="0.5" />
      </StatusEffect>
      <StatusEffect type="OnBroken" target="This">
        <Remove />
      </StatusEffect>
    </Holdable>
  </Item>
  <Item name="" nameidentifier="beerbottle" identifier="beerbottle2" variantof="beerbottle1">
    <Sprite texture="Content/Map/Outposts/Art/AdminResidentAssets.png" sourcerect="856,0,21,63" depth="0.6" origin="0.5,0.5" />
  </Item>
</Items>