- type: reagent
  id: Serenitol
  name: reagent-name-serenitol
  group: Medicine
  desc: reagent-desc-serenitol
  physicalDesc: reagent-physical-desc-tart
  flavor: medicine
  color: "#ebbce9"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.03
      effects:
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "reagent-effect-antidepressant-mild1"
          - "reagent-effect-antidepressant-mild2"
          - "reagent-effect-antidepressant-mild3"
          - "reagent-effect-antidepressant-mild4"
        probability: 0.035
      - !type:Vomit
        probability: 0.1
        conditions:
          - !type:ReagentCondition # fairly safe overdose, safe to take with alcohol
            reagent: Serenitol
            min: 22.5
      - !type:HealthChange
        conditions:
          - !type:ReagentCondition
            reagent: Serenitol
            min: 22.5
        damage:
          types:
            Poison: 0.01
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages:
          - "reagent-effect-antidepressant-fade" # A decent chance to notify the player when their meds run out, but could happen silently.
        probability: 0.4
        conditions:
          - !type:ReagentCondition
            reagent: Serenitol
            max: 0.1

- type: reagent
  id: Neurozenium
  name: reagent-name-neurozenium
  group: Medicine
  desc: reagent-desc-neurozenium
  physicalDesc: reagent-physical-desc-crystalline
  flavor: metallic
  color: "#382f6b"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.02
      effects:
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages:
          - "reagent-effect-antidepressant-normal1"
          - "reagent-effect-antidepressant-normal2"
          - "reagent-effect-antidepressant-normal3"
          - "reagent-effect-antidepressant-normal4"
        probability: 0.045
        conditions:
          - !type:ReagentCondition
            reagent: Neurozenium
            max: 15.1
      - !type:HealthChange
        conditions:
          - !type:ReagentCondition
            reagent: Neurozenium
            min: 15.1
        damage:
          types:
            Poison: 0.02
      - !type:PopupMessage
        type: Local
        visualType: MediumCaution
        messages:
          - "reagent-effect-antidepressant-normaloverdose1" # overdose makes you angry
          - "reagent-effect-antidepressant-normaloverdose2"
        probability: 0.15
        conditions:
        - !type:ReagentCondition
          reagent: Neurozenium
          min: 15.1
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Ethanol # Alcohol makes it really easy to overdose by increasing your body's absorption of the medicine.
          min: 1
        reagent: Neurozenium
        amount: 0.15
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Serenitol # Purges Serenitol if dosage is too high.
          min: 10
        reagent: Serenitol
        amount: -7.5
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "reagent-effect-antidepressant-fade" # A decent chance to notify the player when their meds run out, but could happen silently.
        probability: 0.4
        conditions:
          - !type:ReagentCondition
            reagent: Neurozenium
            max: 0.1

- type: reagent
  id: Blissifylovene
  name: reagent-name-blissifylovene
  group: Medicine
  desc: reagent-desc-blissifylovene
  physicalDesc: reagent-physical-desc-bending
  flavor: bitter
  color: "#f2ff00"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.01
      effects:
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages:
          - "reagent-effect-antidepressant-strong1"
          - "reagent-effect-antidepressant-strong2"
          - "reagent-effect-antidepressant-strong3"
          - "reagent-effect-antidepressant-strong4"
        probability: 0.055
        conditions:
          - !type:ReagentCondition
            reagent: Blissifylovene
            max: 5.1
      - !type:HealthChange
        conditions:
          - !type:ReagentCondition
            reagent: Blissifylovene
            min: 5.1
        damage:
          types:
            Poison: 0.02 # minor poison from OD
      - !type:PopupMessage
        type: Local
        visualType: LargeCaution
        messages:
          - "reagent-effect-antidepressant-strongoverdose1" # overdose makes you psychotic
          - "reagent-effect-antidepressant-strongoverdose2"
          - "reagent-effect-antidepressant-strongoverdose3"
          - "reagent-effect-antidepressant-strongoverdose4"
          - "reagent-effect-antidepressant-strongoverdose5"
          - "reagent-effect-antidepressant-strongoverdose6"
          - "reagent-effect-antidepressant-strongoverdose7"
          - "reagent-effect-antidepressant-strongoverdose8"
          - "reagent-effect-antidepressant-strongoverdose9"
        probability: 0.15
        conditions:
        - !type:ReagentCondition
          reagent: Blissifylovene
          min: 5.1
      - !type:Emote
        emote: Scream # makes you screna sometimes
        showInChat: true
        probability: 0.05
        conditions:
        - !type:ReagentCondition
          reagent: Blissifylovene
          min: 5.1
      - !type:ModifyStatusEffect
        conditions:
        - !type:ReagentCondition
          reagent: Blissifylovene
          min: 5.1
        effectProto: StatusEffectSeeingRainbow # hallucinations set in after 40 seconds, meaning ~0.40u overdose untreated.
        type: Add
        time: 1.1
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Ethanol # Alcohol makes it really easy to overdose by increasing your body's absorption of the medicine.
          min: 1
        reagent: Blissifylovene
        amount: 0.15
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Serenitol # Purges Serenitol if dosage is too high.
          min: 10
        reagent: Serenitol
        amount: -7.5
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Neurozenium # Purges Neurozenium if dosage is too high
          min: 10
        reagent: Neurozenium
        amount: -7.5
      - !type:HealthChange
        conditions:
          - !type:ReagentCondition
            reagent: Neurozenium # Conflicts with any remaining Neurozenium
            min: 0.1
        damage:
          types:
            Poison: 0.5
     #- !type:GenericStatusEffect
       #conditions:
       #- !type:ReagentCondition
         #reagent: Tranquinase # conflicts with many other meds
         #min: 2.0
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
       #probability: 0.4
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #conditions:
       #- !type:ReagentCondition
         #reagent: Soretizone # conflicts with many other meds
         #min: 3.0
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
       #probability: 0.3
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #conditions:
       #- !type:ReagentCondition
         #reagent: Agonolexyne # conflicts with many other meds
         #min: 0.25
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
       #probability: 0.3
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "reagent-effect-antidepressant-fade" # A decent chance to notify the player when their meds run out, but could happen silently.
        probability: 0.2
        conditions:
          - !type:ReagentCondition
            reagent: Blissifylovene
            max: 0.1


- type: reagent
  id: Calmafluxine
  name: reagent-name-calmafluxine
  group: Medicine
  desc: reagent-desc-calmafluxine
  physicalDesc: reagent-physical-desc-syrupy
  flavor: bitter
  color: "#634e3a"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.03
      effects:
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "reagent-effect-anxietymed-mild1"
          - "reagent-effect-anxietymed-mild2"
          - "reagent-effect-anxietymed-mild3"
          - "reagent-effect-anxietymed-mild4"
          - "reagent-effect-anxietymed-mild5"
        probability: 0.035
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Calmafluxine
          min: 30
        reagent: Calmafluxine
        amount: -1.2
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages:
          - "reagent-effect-anxietymed-fade" # A decent chance to notify the player when their meds run out, but could happen silently.
        probability: 0.35
        conditions:
          - !type:ReagentCondition
            reagent: Calmafluxine
            max: 0.1

- type: reagent
  id: Tranquinase
  name: reagent-name-tranquinase
  group: Medicine
  desc: reagent-desc-tranquinase
  physicalDesc: reagent-physical-desc-odorless
  flavor: sweet
  color: "#2e3b52"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.02
      effects:
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages:
          - "reagent-effect-anxietymed-normal1"
          - "reagent-effect-anxietymed-normal2"
          - "reagent-effect-anxietymed-normal3"
          - "reagent-effect-anxietymed-normal4"
          - "reagent-effect-anxietymed-normal5"
        probability: 0.04
        conditions:
        - !type:ReagentCondition
          reagent: Tranquinase
          max: 16.5
      - !type:PopupMessage
        type: Local
        visualType: LargeCaution
        messages:
          - "reagent-effect-anxietymed-normaloverdose1" # overdose makes you tired and forgetful
          - "reagent-effect-anxietymed-normaloverdose2"
          - "reagent-effect-anxietymed-normaloverdose3"
          - "reagent-effect-anxietymed-normaloverdose4"
          - "reagent-effect-anxietymed-normaloverdose5"
          - "reagent-effect-anxietymed-normaloverdose6"
        probability: 0.06
        conditions:
        - !type:ReagentCondition
          reagent: Tranquinase
          min: 16.5
      - !type:Emote
        conditions:
        - !type:ReagentCondition
          reagent: Tranquinase
          min: 16.5
        emote: Yawn
        showInChat: true
        probability: 0.02
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Ethanol # Alcohol makes it really easy to overdose by increasing your body's absorption of the medicine.
          min: 1
        reagent: Tranquinase
        amount: 0.1
      - !type:MovementSpeedModifier
        walkSpeedModifier: 0.8
        sprintSpeedModifier: 0.8
        conditions:
        - !type:ReagentCondition
          reagent: Tranquinase
          min: 16.5
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #conditions:
       #- !type:ReagentCondition
         #min: 20.0
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
       #probability: 0.1
      - !type:HealthChange # poisons you if you take way too much
        conditions:
        - !type:ReagentCondition
          reagent: Tranquinase
          min: 30
        damage:
          types:
            Poison: 1
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages:
          - "reagent-effect-anxietymed-fade" # A decent chance to notify the player when their meds run out, but could happen silently.
        probability: 0.32
        conditions:
          - !type:ReagentCondition
            reagent: Tranquinase
            max: 0.1

- type: reagent
  id: Equilibrazine
  name: reagent-name-equilibrazine
  group: Medicine
  desc: reagent-desc-equilibrazine
  physicalDesc: reagent-physical-desc-translucent
  flavor: metallic
  color: "#291816"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.01
      effects:
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages:
          - "reagent-effect-anxietymed-strong1"
          - "reagent-effect-anxietymed-strong2"
          - "reagent-effect-anxietymed-strong3"
          - "reagent-effect-anxietymed-strong4"
          - "reagent-effect-anxietymed-strong5"
          - "reagent-effect-anxietymed-strong6"
          - "reagent-effect-anxietymed-strong7"
        probability: 0.04
        conditions:
        - !type:ReagentCondition
          reagent: Equilibrazine
          max: 6.7
      - !type:HealthChange # poisons you on OD
        conditions:
        - !type:ReagentCondition
          reagent: Equilibrazine
          min: 6.7
        damage:
          types:
            Poison: 0.07
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Equilibrazine
          min: 6.7
        reagent: Histamine # causes allergy-like reaction on OD
        amount: 0.25
      - !type:MovementSpeedModifier
        walkSpeedModifier: 0.55
        sprintSpeedModifier: 0.55
        conditions:
      - !type:Drunk # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
        conditions:
        - !type:ReagentCondition
          reagent: Serenitol
          min: 5
      - !type:Drunk # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
        conditions:
        - !type:ReagentCondition
          reagent: Neurozenium
          min: 5
      - !type:Drunk # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
        conditions:
        - !type:ReagentCondition
          reagent: Blissifylovene
          min: 5
      - !type:MovementSpeedModifier # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
        walkSpeedModifier: 0.65
        sprintSpeedModifier: 0.65
        conditions:
        - !type:ReagentCondition
          reagent: Serenitol
          min: 5
      - !type:MovementSpeedModifier # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
        walkSpeedModifier: 0.65
        sprintSpeedModifier: 0.65
        conditions:
        - !type:ReagentCondition # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
          reagent: Neurozenium
          min: 5
      - !type:MovementSpeedModifier # starcup - mixing with antidepressants makes you drunk, slowed, and poisoned
        walkSpeedModifier: 0.65
        sprintSpeedModifier: 0.65
        conditions:
        - !type:ReagentCondition
          reagent: Blissifylovene
          min: 5
      - !type:HealthChange # starcup - mixing with antidepressants makes you drunk+slowed and causes lungs to seize up
        conditions:
        - !type:ReagentCondition
          reagent: Serenitol
          min: 5
        damage:
          types:
            Asphyxiation: 0.75
      - !type:HealthChange # starcup - mixing with antidepressants makes you drunk+slowed and causes lungs to seize up
        conditions:
        - !type:ReagentCondition
          reagent: Neurozenium
          min: 5
        damage:
          types:
            Asphyxiation: 0.75
      - !type:HealthChange # starcup - mixing with antidepressants makes you drunk+slowed and causes lungs to seize up
        conditions:
        - !type:ReagentCondition
          reagent: Blissifylovene
          min: 5
        damage:
          types:
            Asphyxiation: 0.75
#      - !type:ReagentCondition
#          reagent:
#          min: 5
#      - !type:Paralyze
#        conditions:
#        - !type:ReagentCondition
#          reagent: Neurozenium # wildly incompatable with antidepressants
#          min: 5
#      - !type:Paralyze
#        conditions:
#        - !type:ReagentCondition
#          reagent: Blissifylovene # wildly incompatable with antidepressants
#          min: 3
#      - !type:AdjustReagent
#        reagent: Neurozenium # purges Neurozenium so paralysis isn't too long
#        amount: -0.5
#      - !type:AdjustReagent
#        reagent: Blissifylovene # purges Blissifylovene so paralysis isn't too long
#        amount: -0.2
#      - !type:AdjustReagent
#        reagent: Tranquinase # purges Tranquinase
#        amount: -1.5
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages:
          - "reagent-effect-anxietymed-fade" # A decent chance to notify the player when their meds run out, but could happen silently.
        probability: 0.2
        conditions:
          - !type:ReagentCondition
            reagent: Equilibrazine
            max: 0.1

- type: reagent
  id: Stubantazine
  name: reagent-name-stubantazine
  group: Medicine
  desc: reagent-desc-stubantazine
  physicalDesc: reagent-physical-desc-sour
  flavor: sour
  color: "#6bb3b5"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.02
      effects:
      - !type:SuppressPain
        suppressionLevel: Mild
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "reagent-effect-painkiller-mild1"
          - "reagent-effect-painkiller-mild2"
          - "reagent-effect-painkiller-mild3"
          - "reagent-effect-painkiller-mild4"
        probability: 0.08
      - !type:Vomit
        probability: 0.4
        conditions:
          - !type:ReagentCondition # makes you vomit if you OD
            reagent: Stubantazine
            min: 14
      - !type:SatiateHunger # causes digestion inefficiency during overdose
        factor: -1.2
        conditions:
        - !type:ReagentCondition # makes you vomit if you OD
          reagent: Stubantazine
          min: 14
      - !type:Vomit
        probability: 0.8
        conditions:
          - !type:ReagentCondition # alcohol causes vomiting
            reagent: Ethanol
            min: 2
      - !type:SatiateHunger # causes digestion inefficiency if you drink alcohol
        factor: -2.0
        conditions:
          - !type:ReagentCondition
            reagent: Ethanol
            min: 2
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages:
          - "reagent-effect-painkiller-fade" # A decent chance to notify the player when their meds run out
        probability: 0.35
        conditions:
          - !type:ReagentCondition
            reagent: Stubantazine
            max: 0.2

- type: reagent
  id: Soretizone
  name: reagent-name-soretizone
  group: Medicine
  desc: reagent-desc-soretizone
  physicalDesc: reagent-physical-desc-thick
  flavor: tingly
  color: "#2e2c2c"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.01
      effects:
      - !type:SuppressPain
        suppressionLevel: Normal
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages:
          - "reagent-effect-painkiller-normal1"
          - "reagent-effect-painkiller-normal2"
          - "reagent-effect-painkiller-normal3"
          - "reagent-effect-painkiller-normal4"
        probability: 0.085
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #probability: 0.1
       #conditions:
       #- !type:ReagentCondition
         #min: 14.5 # overdose knocks you out
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #probability: 0.08
       #conditions:
       #- !type:ReagentCondition
         #reagent: Stubantazine
         #min: 5 # taking with other painkillers will knock you out
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Ethanol # lots of alcohol makes it really easy to overdose by increasing your body's absorption of the medicine.
          min: 20
        reagent: Soretizone
        amount: 0.03
      - !type:PopupMessage
        type: Local
        visualType: Medium # stronger painkiller = more noticable fading
        messages:
          - "reagent-effect-painkiller-fade" # A decent chance to notify the player when their meds run out
        probability: 0.4
        conditions:
          - !type:ReagentCondition
            reagent: Soretizone
            max: 0.1

- type: reagent
  id: Agonolexyne
  name: reagent-name-agonolexyne
  group: Medicine
  desc: reagent-desc-agonolexyne
  physicalDesc: reagent-physical-desc-overpowering
  flavor: nothing
  color: "#ffc7c7"
  metabolisms:
    Bloodstream:
      metabolismRate : 0.01
      effects:
      - !type:SuppressPain
        suppressionLevel: Strong
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages:
          - "reagent-effect-painkiller-strong1"
          - "reagent-effect-painkiller-strong2"
          - "reagent-effect-painkiller-strong3"
          - "reagent-effect-painkiller-strong4"
          - "reagent-effect-painkiller-strong5"
          - "reagent-effect-painkiller-strong6"
        probability: 0.1
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #probability: 0.1
       #conditions:
       #- !type:ReagentCondition
         #reagent: Stubantazine
         #min: 4 # taking with other painkillers will knock you out
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
     #- !type:GenericStatusEffect # DeltaV - Removed all psych med forcesleeps
       #probability: 0.15
       #conditions:
       #- !type:ReagentCondition
         #reagent: Soretizone
         #min: 2 # taking with other painkillers will knock you out
       #key: ForcedSleep
       #component: ForcedSleeping
       #refresh: false
       #type: Add
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: Ethanol # Alcohol makes it really easy to overdose by increasing your body's absorption of the medicine.
          min: 1
        reagent: Agonolexyne
        amount: 0.04
      - !type:Drunk # OD causes drunkeness
        conditions:
          - !type:ReagentCondition
            reagent: Agonolexyne
            min: 5
      - !type:HealthChange
        conditions:
        - !type:ReagentCondition
          reagent: Agonolexyne
          min: 5.5
        damage:
          types:
            Asphyxiation: 1 # your lungs relax so much you can't breathe, suffocating you on OD
      - !type:PopupMessage
        type: Local
        visualType: Large # stronger painkiller = more noticable fading
        messages:
          - "reagent-effect-painkiller-fade" # A decent chance to notify the player when their meds run out
        probability: 0.5
        conditions:
          - !type:ReagentCondition
            reagent: Agonolexyne
            max: 0.1
