# SPDX-FileCopyrightText: 2019 moneyl <8206401+Moneyl@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 AJCM-git <60196617+AJCM-git@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 Hugo Laloge <hugo.laloge@gmail.com>
# SPDX-FileCopyrightText: 2020 Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 nuke <47336974+nuke-makes-games@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 DmitriyRubetskoy <75271456+DmitriyRubetskoy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Elijahrane <60792108+Elijahrane@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 SETh lafuente <cetaciocascarudo@gmail.com>
# SPDX-FileCopyrightText: 2021 ScalyChimp <72841710+scaly-chimp@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 SethLafuente <84478872+SethLafuente@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com>
# SPDX-FileCopyrightText: 2021 Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Vera Aguilera Puerto <gradientvera@outlook.com>
# SPDX-FileCopyrightText: 2021 xRiriq <94037592+xRiriq@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 xRiriq <xRiriq.git@gmail.com>
# SPDX-FileCopyrightText: 2022 CrudeWax <75271456+CrudeWax@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 EmoGarbage404 <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Flipp Syder <76629141+vulppine@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Jack Fox <35575261+DubiousDoggo@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Julian Giebel <juliangiebel@live.de>
# SPDX-FileCopyrightText: 2022 Kara D <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2022 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Moony <moonheart08@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Myctai <108953437+Myctai@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Peptide90 <78795277+Peptide90@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Rane <60792108+Elijahrane@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Ripmorld <60119809+UKNOWH@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Sam Weaver <weaversam8@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 lapatison <100279397+lapatison@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 mirrorcult <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2022 moonheart08 <moonheart08@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Alekshhh <44923899+Alekshhh@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Alex Evgrashin <aevgrashin@yandex.ru>
# SPDX-FileCopyrightText: 2023 CrigCrag <137215465+CrigCrag@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 DjfjdfofdjfjD <119279366+DjfjdfofdjfjD@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Doru991 <75124791+Doru991@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Dynexust <47256242+Dynexust@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Interrobang01 <113810873+Interrobang01@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Kevin Zheng <kevinz5000@gmail.com>
# SPDX-FileCopyrightText: 2023 LankLTE <135308300+LankLTE@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Maxtone <124747282+MagnusCrowe@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Sir Winters <7543955+Owai-Seek@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Veritius <veritiusgaming@gmail.com>
# SPDX-FileCopyrightText: 2023 Visne <39844191+Visne@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2023 nikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ashley Woodiss-Field <ash@DESKTOP-H64M4AI.localdomain>
# SPDX-FileCopyrightText: 2024 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 ColesMagnum <98577947+AW-FulCode@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 EdenTheLiznerd <138748328+Eden077@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ghagliiarghii <68826635+Ghagliiarghii@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Gotimanga <127038462+Gotimanga@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2024 Kira Bridgeton <161087999+Verbalase@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 Scribbles0 <91828755+Scribbles0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Skye <57879983+Rainbeon@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 SlamBamActionman <slambamactionman@gmail.com>
# SPDX-FileCopyrightText: 2024 Tayrtahn <tayrtahn@gmail.com>
# SPDX-FileCopyrightText: 2024 Tmanzxd <164098915+Tmanzxd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ubaser <134914314+UbaserB@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2024 icekot8 <93311212+icekot8@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 potato1234_x <79580518+potato1234x@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 slarticodefast <161409025+slarticodefast@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 themias <89101928+themias@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Alzore <140123969+Blackern5000@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 AstroDogeDX <48888500+AstroDogeDX@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Errant <35878406+Errant-4@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 FrostRibbon <107171544+FrostRibbon@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 OnyxTheBrave <131422822+OnyxTheBrave@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 PunishedJoe <PunishedJoeseph@proton.me>
# SPDX-FileCopyrightText: 2025 RedMush1 <88719613+RedMush1@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 RedMush1 <axmetvaliev1@gmail.com>
# SPDX-FileCopyrightText: 2025 SX-7 <sn1.test.preria.2002@gmail.com>
# SPDX-FileCopyrightText: 2025 SX_7 <sn1.test.preria.2002@gmail.com>
# SPDX-FileCopyrightText: 2025 Samuka-C <47865393+Samuka-C@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Solstice <solsticeofthewinter@gmail.com>
# SPDX-FileCopyrightText: 2025 SolsticeOfTheWinter <solsticeofthewinter@gmail.com>
# SPDX-FileCopyrightText: 2025 TheBorzoiMustConsume <197824988+TheBorzoiMustConsume@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <linebarrelerenthusiast@gmail.com>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
# SPDX-FileCopyrightText: 2025 āda <ss.adasts@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: reagent
  id: Cryptobiolin
  name: reagent-name-cryptobiolin
  group: Medicine
  desc: reagent-desc-cryptobiolin
  physicalDesc: reagent-physical-desc-fizzy
  flavor: medicine
  color: "#081a80"
  metabolisms:
    Medicine:
      effects:
      - !type:GenericStatusEffect
        key: Stutter
        component: ScrambledAccent
      - !type:Drunk
        slurSpeech: false
        boozePower: 20

- type: reagent
  id: Dylovene
  name: reagent-name-dylovene
  group: Medicine
  desc: reagent-desc-dylovene
  physicalDesc: reagent-physical-desc-translucent
  flavor: medicine
  color: "#3a1d8a"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Poison: -1.5 # Was 1, Slight Buff as it should heal for half the amount as Dip or Stelli(GoobStation)
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        damage:
          groups:
            Brute: 2
      - !type:Jitter
        conditions:
        - !type:ReagentThreshold
          min: 20
      - !type:PopupMessage
        conditions:
        - !type:ReagentThreshold
          min: 20
        type: Local
        visualType: Medium
        messages: [ "generic-reagent-effect-nauseous" ]
        probability: 0.2
      - !type:ChemVomit
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        probability: 0.02
      - !type:Drunk
        conditions:
        - !type:ReagentThreshold
          min: 15
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: -10
  - !type:PlantAdjustHealth
    amount: 1

- type: reagent
  id: Diphenhydramine
  name: reagent-name-diphenhydramine
  group: Medicine
  desc: reagent-desc-diphenhydramine
  physicalDesc: reagent-physical-desc-chalky
  flavor: medicine
  color: "#64ffe6"
  metabolisms:
    Medicine:
      effects:
      - !type:AdjustReagent
        reagent: Histamine
        amount: -3.0
      - !type:GenericStatusEffect
        key: Jitter
        time: 3.0
        type: Remove
      - !type:ModifyStatusEffect
        effectProto: StatusEffectDrowsiness
        time: 1.5
        type: Add
        refresh: false
      - !type:HealthChange
        damage:
          types:
            Poison: -3

- type: reagent
  id: Ethylredoxrazine
  name: reagent-name-ethylredoxrazine
  group: Medicine
  desc: reagent-desc-ethylredoxrazine
  physicalDesc: reagent-physical-desc-opaque
  flavor: medicine
  color: "#2d5708"
  metabolisms:
    Medicine:
      effects:
      - !type:GenericStatusEffect
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        key: Drunk
        time: 6.0
        type: Remove
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        damage:
          types:
            Poison: -0.5

- type: reagent
  id: Arithrazine
  name: reagent-name-arithrazine
  group: Medicine
  desc: reagent-desc-arithrazine
  physicalDesc: reagent-physical-desc-cloudy
  flavor: medicine
  color: "#bd5902"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Radiation: -3
          groups:
            Brute: 0.5

- type: reagent
  id: Bicaridine
  name: reagent-name-bicaridine
  group: Medicine
  desc: reagent-desc-bicaridine
  physicalDesc: reagent-physical-desc-opaque
  flavor: medicine
  color: "#ffaa00"
  metabolisms:
    Medicine:
      effects:
      - !type:SuppressPain
        amount: 1.2
        time: 30 # it accumulated 1.2 * quantity and then exists for 30 seconds.
      - !type:AdjustPainFeels
        conditions:
        - !type:ReagentThreshold
          min: 15
        amount: 0.04
      - !type:HealthChange
        damage:
          groups:
            Brute: -2.5 # Was 2, Buffed due to limb damage changes(GoobStation)
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 15
        damage:
          types:
            Asphyxiation: 0.5
            Poison: 1.5
      - !type:ChemVomit
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 30
        probability: 0.02
      - !type:Jitter
        conditions:
        - !type:ReagentThreshold
          min: 15
      - !type:Drunk
      - !type:AdjustConsciousness
        conditions:
        - !type:ReagentThreshold
          min: 10
        allowNewModifiers: true
        modifierType: Pain
        identifier: Suffocation
        amount: -1.2
        time: 12

- type: reagent
  id: Cryoxadone
  name: reagent-name-cryoxadone
  group: Medicine
  desc: reagent-desc-cryoxadone
  physicalDesc: reagent-physical-desc-fizzy
  flavor: medicine
  color: "#0091ff"
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: -5
  - !type:PlantAdjustHealth
    amount: 5
  - !type:PlantCryoxadone {}
  worksOnTheDead: true # Goobstation
  metabolisms:
    Medicine:
      effects:
        - !type:HealthChange
          conditions:
          - !type:Temperature
            # this is a little arbitrary but they gotta be pretty cold
            max: 213.0
          scaleByTemperature: # Shitmed Change
            min: 100.0
            max: 213.0
            scale: 1.6
          damage:
            groups: # Goobstation - Cryo rebalance
              Airloss: -3
              Brute: -3
              Burn: -3

- type: reagent
  id: Doxarubixadone
  name: reagent-name-doxarubixadone
  group: Medicine
  desc: reagent-desc-doxarubixadone
  physicalDesc: reagent-physical-desc-bubbling
  flavor: medicine
  color: "#32cd32"
  worksOnTheDead: true # Goobstation - Cryo rebalance
  metabolisms:
    Medicine:
      effects:
        - !type:HealthChange
          conditions:
          - !type:Temperature
            max: 213.0
          scaleByTemperature: # Shitmed Change
            min: 100.0
            max: 213.0
            scale: 1.6
          damage:
            types:
             Cellular: -2

- type: reagent
  id: Dermaline
  name: reagent-name-dermaline
  group: Medicine
  desc: reagent-desc-dermaline
  physicalDesc: reagent-physical-desc-translucent
  flavor: medicine
  color: "#215263"
  metabolisms:
    Medicine:
      effects:
      - !type:SuppressPain
        amount: 2
        time: 7
      - !type:AdjustPainFeels
        conditions:
        - !type:ReagentThreshold
          min: 10
        amount: 0.01
      - !type:HealthChange
        damage:
          types:
            Heat: -2
            Shock: -2
            Cold: -2 # Was 1.5, Buffed due to limb damage changes(GoobStation)
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 10
        damage:
          types:
            Asphyxiation: 1
            Cold: 2
          groups:
            Brute: 0.5
      - !type:Jitter
        conditions:
        - !type:ReagentThreshold
          min: 10

- type: reagent
  id: Dexalin
  name: reagent-name-dexalin
  group: Medicine
  desc: reagent-desc-dexalin
  physicalDesc: reagent-physical-desc-opaque
  flavor: medicine
  color: "#0041a8"
  metabolisms:
    Medicine:
      effects:
      - !type:SuppressPain
        amount: 2.4
        time: 12
      - !type:AdjustPainFeels
        conditions:
        - !type:ReagentThreshold
          min: 20
        amount: 0.04
      - !type:HealthChange
        damage:
          types:
            Asphyxiation: -1
            Bloodloss: -0.5
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        damage:
          types:
            Asphyxiation: 3
            Cold: 1
      - !type:AdjustConsciousness
        allowNewModifiers: false
        modifierType: Pain
        identifier: Suffocation
        amount: 3.4
        time: 12

- type: reagent
  id: DexalinPlus
  name: reagent-name-dexalin-plus
  group: Medicine
  desc: reagent-desc-dexalin-plus
  physicalDesc: reagent-physical-desc-cloudy
  flavor: medicine
  color: "#4da0bd"
  metabolisms:
    Medicine:
      effects:
      - !type:SuppressPain
        amount: 3.7
        time: 12
      - !type:AdjustPainFeels
        conditions:
        - !type:ReagentThreshold
          min: 25
        amount: 0.1
      - !type:HealthChange
        damage:
          types:
            Asphyxiation: -3.5
            Bloodloss: -3
      - !type:AdjustReagent
        conditions:
        - !type:ReagentThreshold
          reagent: HeartbreakerToxin
          min: 1
        reagent: HeartbreakerToxin
        amount: -3
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 25
        damage:
          types:
            Asphyxiation: 5
            Cold: 3
      - !type:AdjustConsciousness
        allowNewModifiers: false
        modifierType: Pain
        identifier: Suffocation
        amount: 6
        time: 12
      - !type:AdjustConsciousness
        allowNewModifiers: true
        modifierType: Pain
        identifier: Suffocation
        amount: -5
        time: 12

# this ones a doozy
- type: reagent
  id: Epinephrine
  name: reagent-name-epinephrine
  group: Medicine
  desc: reagent-desc-epinephrine
  physicalDesc: reagent-physical-desc-odorless
  flavor: medicine
  color: "#d2fffa"
  metabolisms:
    Medicine:
      effects:
      - !type:SuppressPain
        conditions:
        - !type:MobStateCondition
          mobstate: Critical
        amount: 5
        time: 10 # very little because it's supposed to suppress pain while you're in crit
      - !type:AdjustConsciousness
        conditions:
        - !type:MobStateCondition
          mobstate: Critical
        allowNewModifiers: false
        modifierType: Pain
        identifier: Suffocation
        amount: 5 # Does not let the entity suffocate while the pain is suppressed
        time: 10
      - !type:AdjustReagent
        conditions:
        - !type:ReagentThreshold
          reagent: Histamine
          min: 45
        reagent: Histamine
        amount: -5
      - !type:HealthChange
        conditions:
          # they gotta be in crit first
        - !type:MobStateCondition
          mobstate: Critical
        - !type:ReagentThreshold
          min: 0
          max: 20
        damage:
          types:
            Asphyxiation: -3
            Poison: -0.5
          groups:
            Brute: -1
            Burn: -1 # Was .5, Buffed due to limb damage changes(GoobStation)
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        damage:
          types:
            Asphyxiation: 1
            Poison: 1
      - !type:AdjustReagent
        reagent: HeartbreakerToxin
        amount: -2
      - !type:AdjustReagent
        conditions:
        - !type:ReagentThreshold
          reagent: HeartbreakerToxin
          min: 1
        reagent: Epinephrine
        amount: -1
      - !type:AdjustReagent
        probability: 0.1
        conditions:
        - !type:ReagentThreshold
          reagent: HeartbreakerToxin
          min: 1
        reagent: Histamine
        amount: 4
      - !type:GenericStatusEffect
        key: Stun
        time: 0.75
        type: Remove
      - !type:GenericStatusEffect
        key: KnockedDown
        time: 0.75
        type: Remove
      - !type:GenericStatusEffect
        key: Adrenaline # Guess what epinephrine is...
        component: IgnoreSlowOnDamage
        time: 5 # lingers less than hivemind reagent to give it a niche
      - !type:MovespeedModifier # Goob edit
        walkSpeedModifier: 1.1
        sprintSpeedModifier: 1.1
      - !type:AdjustConsciousness
        conditions:
        - !type:ReagentThreshold
          min: 20
        allowNewModifiers: false
        modifierType: Pain
        identifier: Suffocation
        amount: -2.4
        time: 12

- type: reagent
  id: Hyronalin
  name: reagent-name-hyronalin
  group: Medicine
  desc: reagent-desc-hyronalin
  physicalDesc: reagent-physical-desc-cloudy
  flavor: medicine
  color: "#4cb580"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Radiation: -1
      - !type:ChemVomit
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        probability: 0.02
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 30
        damage:
          types:
           Heat: 2
      - !type:Jitter
        conditions:
        - !type:ReagentThreshold
          min: 30

- type: reagent
  id: Ipecac
  name: reagent-name-ipecac
  group: Medicine
  desc: reagent-desc-ipecac
  physicalDesc: reagent-physical-desc-inky
  flavor: medicine
  color: "#422912"
  metabolisms:
    Medicine:
      effects:
      - !type:ChemVomit
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 4
        probability: 0.3

- type: reagent
  id: Inaprovaline
  name: reagent-name-inaprovaline
  group: Medicine
  desc: reagent-desc-inaprovaline
  physicalDesc: reagent-physical-desc-opaque
  flavor: medicine
  color: "#731024"
  metabolisms:
    Medicine:
      metabolismRate: 0.1 # Smaller doses stabilize critical people for longer. Gives it a specific usecase as to not be entirely outclassed by dex+
      effects:
      - !type:HealthChange
        conditions:
          # they gotta be in crit first
        - !type:MobStateCondition
          mobstate: Critical
        damage:
          types:
            Asphyxiation: -2
      - !type:ModifyBleedAmount
        amount: -0.25
      - !type:AdjustConsciousness
        allowNewModifiers: false
        modifierType: Pain
        identifier: Suffocation
        amount: 8
        time: 20

- type: reagent
  id: Kelotane
  name: reagent-name-kelotane
  group: Medicine
  desc: reagent-desc-kelotane
  physicalDesc: reagent-physical-desc-strong-smelling
  flavor: medicine
  color: "#bf3d19"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Heat: -0.5
            Shock: -0.5
            Cold: -0.5 # Was .33, Buffed due to limb damage changes(GoobStation)
      - !type:SatiateThirst
        factor: -10
        conditions:
        - !type:ReagentThreshold
          min: 30
      - !type:PopupMessage
        type: Local
        messages:
        - generic-reagent-effect-nauseous
        - generic-reagent-effect-thirsty
        - generic-reagent-effect-parched
        probability: 0.1
        conditions:
        - !type:ReagentThreshold
          min: 25

- type: reagent
  id: Leporazine
  name: reagent-name-leporazine
  group: Medicine
  desc: reagent-desc-leporazine
  physicalDesc: reagent-physical-desc-pungent
  flavor: medicine
  color: "#ff7db5"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Cold: -4
      - !type:AdjustTemperature
        conditions:
        - !type:Temperature
          max: 293.15
        amount: 100000 # thermal energy, not temperature!
      - !type:AdjustTemperature
        conditions:
        - !type:Temperature
          min: 293.15
        amount: -10000
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages: [ "leporazine-effect-temperature-adjusting" ]
        probability: 0.2
      - !type:AdjustReagent
        reagent: Fresium
        amount: -5

- type: reagent
  id: Barozine
  name: reagent-name-barozine
  group: Medicine
  desc: reagent-desc-barozine
  physicalDesc: reagent-physical-desc-viscous
  flavor: medicine
  color: "#ff867d"
  metabolisms:
    Medicine:
      metabolismRate: 0.25 #goob
      effects:
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        probability: 0.3
        damage:
          types:
            Heat: 0.5
      - !type:ChemVomit
        probability: 0.15
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 30
      - !type:GenericStatusEffect
        key: PressureImmunity
        component: PressureImmunity
      - !type:GenericStatusEffect
        key: Stutter
        component: StutteringAccent
      - !type:Jitter
      - !type:Emote
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        emote: Scream
        probability: 0.2
      - !type:PopupMessage
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        type: Local
        visualType: Large
        messages: [ "barozine-effect-skin-burning", "barozine-effect-muscle-contract" ]
        probability: 0.1

- type: reagent
  id: Phalanximine
  name: reagent-name-phalanximine
  group: Medicine
  desc: reagent-desc-phalanximine
  physicalDesc: reagent-physical-desc-acrid
  flavor: medicine
  color: "#c8ff75"
  plantMetabolism:
    - !type:PlantAdjustToxins
      amount: 6
    - !type:PlantPhalanximine
      conditions:
      - !type:ReagentThreshold
        min: 4
  metabolisms:
    Medicine:
      metabolismRate: 0.1
      effects:
      - !type:HealthChange
        damage:
          types:
            Cellular: -0.3
            Radiation: 0.15
            Caustic: 0.15
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          min: 11
        damage:
          types:
            Radiation: 0.2
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          reagent: Arithrazine
          min: 1
        damage:
          types:
            Caustic: 0.3
      # Goobstation
      - !type:DiseaseProgressChange
        affectedType: OwnCells
        progressModifier: -0.07 # anti-cancer

- type: reagent
  id: PolypyryliumOligomers
  name: reagent-name-polypyrylium-oligomers
  group: Medicine
  desc: reagent-desc-polypyrylium-oligomers
  physicalDesc: reagent-physical-desc-pungent
  flavor: violets
  color: "#9423FF"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          groups:
            Brute: -3.5
          types:
            Asphyxiation: -2.5
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 30
        damage:
          types:
            Asphyxiation: 3.5
      - !type:ModifyBleedAmount
        amount: -0.25
      - !type:AdjustConsciousness
        allowNewModifiers: false
        modifierType: Pain
        identifier: Suffocation
        amount: 6
        time: 12
      - !type:AdjustConsciousness
        conditions:
        - !type:ReagentThreshold
          min: 30
        allowNewModifiers: true
        modifierType: Pain
        identifier: Suffocation
        amount: 6
        time: 12

- type: reagent
  id: Ambuzol
  name: reagent-name-ambuzol
  group: Medicine
  desc: reagent-desc-ambuzol
  physicalDesc: reagent-physical-desc-crisp
  flavor: medicine
  color: "#86caf7"
  metabolisms:
    Medicine:
      effects:
        - !type:CureZombieInfection
          conditions:
            - !type:ReagentThreshold
              min: 10

- type: reagent
  id: AmbuzolPlus
  name: reagent-name-ambuzol-plus
  group: Medicine
  desc: reagent-desc-ambuzol-plus
  physicalDesc: reagent-physical-desc-crisp
  flavor: medicine
  color: "#1274b5"
  metabolisms:
    Medicine:
      effects:
        - !type:CureZombieInfection
          innoculate: true
          conditions:
            - !type:ReagentThreshold
              min: 5

- type: reagent
  id: PulpedBananaPeel
  name: reagent-name-pulped-banana-peel
  group: Medicine
  desc: reagent-desc-pulped-banana-peel
  physicalDesc: reagent-physical-desc-pulpy
  flavor: medicine
  color: "#FFE774"
  metabolisms:
    Medicine:
      effects:
      - !type:ModifyBleedAmount
        amount: -0.5

- type: reagent
  id: Saline
  name: reagent-name-saline
  group: Medicine
  desc: reagent-desc-saline
  physicalDesc: reagent-physical-desc-salty
  flavor: salty
  color: "#0064C8"
  metabolisms:
    Drink:
      effects:
        - !type:SatiateThirst
          conditions: # DeltaV nerf of saline for Feroxi
          - !type:OrganType
            type: Feroxi
            shouldHave: false
          factor: 6
        - !type:SatiateThirst # DeltaV nerf of saline for Feroxi
          conditions:
          - !type:OrganType
            type: Feroxi
          factor: 2
        - !type:ModifyBloodLevel
          amount: 12 # Goobstation - buffed by two times due to shitmed changes

- type: reagent
  id: Siderlac
  name: reagent-name-siderlac
  group: Medicine
  desc: reagent-desc-siderlac
  physicalDesc: reagent-physical-desc-milky
  flavor: medicine
  color: "#f4dab8"
  metabolisms:
    Medicine:
      effects:
      - !type:AdjustPainFeels
        amount: 0.05 # heheheh
      - !type:HealthChange
        damage:
          types:
            Caustic: -5

- type: reagent
  id: Stellibinin
  name: reagent-name-stellibinin
  group: Medicine
  desc: reagent-desc-stellibinin
  physicalDesc: reagent-physical-desc-starry
  flavor: medicine
  color: "#2b2f77"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Poison: -4
      - !type:AdjustReagent
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          reagent: Amatoxin
          min: 1
        reagent: Amatoxin
        amount: -3

- type: reagent
  id: Synaptizine
  name: reagent-name-synaptizine
  group: Medicine
  desc: reagent-desc-synaptizine
  physicalDesc: reagent-physical-desc-pungent
  flavor: medicine
  color: "#d49a2f"
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        damage:
          types:
            Poison: 2
      - !type:GenericStatusEffect
        key: Stun
        time: 3.0
        type: Remove
      - !type:GenericStatusEffect
        key: KnockedDown
        time: 3.0
        type: Remove
      - !type:ModifyStatusEffect
        effectProto: StatusEffectSeeingRainbow
        time: 15.0
        type: Remove

- type: reagent
  id: TranexamicAcid
  name: reagent-name-tranexamic-acid
  group: Medicine
  desc: reagent-desc-tranexamic-acid
  physicalDesc: reagent-physical-desc-viscous
  flavor: medicine
  color: "#ba7d7d"
  metabolisms:
    Medicine:
      effects:
      # Medium-large quantities can hurt you instead,
      # but still technically stop your bleeding.
      - !type:ModifyBleedAmount
        amount: -1.5
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          min: 15
        damage:
          types:
            Bloodloss: 3

- type: reagent
  id: Tricordrazine
  name: reagent-name-tricordrazine
  group: Medicine
  desc: reagent-desc-tricordrazine
  physicalDesc: reagent-physical-desc-opaque
  flavor: medicine
  color: "#00e5ff"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        conditions:
        - !type:TotalDamage
          max: 100 # Goobstation
        damage:
          groups:
            Brute: -1
          types:
            Poison: -0.5 ##Should be about what it was when it healed the toxin group
            Heat: -0.5
            Shock: -0.5
            Cold: -0.5 # Was .33, Buffed due to limb damage changes(GoobStation)

- type: reagent
  id: Lipozine
  name: reagent-name-lipozine
  group: Medicine
  desc: reagent-desc-lipozine
  physicalDesc: reagent-physical-desc-oily
  flavor: medicine
  color: "#2690b5"
  metabolisms:
    Medicine:
      effects:
      # what the hell, this isn't satiating at all!!
      - !type:SatiateHunger
        factor: -1

  # Should heal quite literally everything, use in very small amounts
- type: reagent
  id: Omnizine
  name: reagent-name-omnizine
  group: Medicine
  desc: reagent-desc-omnizine
  physicalDesc: reagent-physical-desc-soothing
  flavor: medicine
  color: "#fcf7f9"
  metabolisms:
    Medicine:
      effects:
      - !type:SuppressPain
        amount: 2
        time: 14
      - !type:HealthChange # Goobstation - Make Omnizine great again!!!!!!!
        damage:
          types: # Goobstation change, Healthchange needs types or groups and groups fuck up the math for some reason and split the groups into types anyway
            Heat: -3 # Goob change from group to types
            Shock: -3 # Goob change from group to types
            Cold: -3 # Goob change from group to types
            Caustic: -3 # Goob change from group to types
            Poison: -3 # Goob change from group to types
            Radiation: -3 # Goob change from group to types
            Asphyxiation: -3 # Goob change from group to types
            Bloodloss: -3 # Goob change from group to types
            Blunt: -3 # Was 2, Buffed due to limb damage changes(GoobStation)
            Slash: -3 # Was 2, Buffed due to limb damage changes(GoobStation)
            Piercing: -3 # Was 2, Buffed due to limb damage changes(GoobStation)

- type: reagent
  id: Ultravasculine
  name: reagent-name-ultravasculine
  group: Medicine
  desc: reagent-desc-ultravasculine
  physicalDesc: reagent-physical-desc-thick-and-grainy
  flavor: medicine
  color: "#520e30"
  metabolisms:
    Medicine:
      metabolismRate: 0.25
      effects:
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          min: 0
          max: 30
        damage:
          groups:
            Toxin: -4   #Goobstation edit
            Brute: 0.5
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          min: 30
        damage:
          groups:
            Toxin: -1
            Brute: 3
      - !type:AdjustReagent
        conditions:
        - !type:ReagentThreshold
          reagent: Histamine
          min: 1
        reagent: Histamine
        amount: -1
      - !type:AdjustReagent
        conditions:
        - !type:ReagentThreshold
          reagent: Histamine
          min: 1
        reagent: Ultravasculine
        amount: 0.5

- type: reagent
  id: Oculine
  name: reagent-name-oculine
  desc: reagent-desc-oculine
  group: Medicine
  physicalDesc: reagent-physical-desc-translucent
  flavor: medicine
  color: "#404040"
  metabolisms:
    Medicine:
      effects:
      - !type:ChemHealEyeDamage

- type: reagent
  id: Cognizine
  name: reagent-name-cognizine
  desc: reagent-desc-cognizine
  group: Medicine
  physicalDesc: reagent-physical-desc-enigmatic
  flavor: magical
  color: "#b50ee8"
  metabolisms:
    Medicine:
      effects:
      - !type:MakeSentient
        conditions:
        - !type:ReagentThreshold
          min: 5

- type: reagent
  id: Ethyloxyephedrine
  name: reagent-name-ethyloxyephedrine
  desc: reagent-desc-ethyloxyephedrine
  group: Medicine
  physicalDesc: reagent-physical-desc-shiny
  flavor: medicine
  color: "#d5d5e4"
  metabolisms:
    Medicine:
      effects:
      - !type:Jitter
      - !type:GenericStatusEffect
        key: Stutter
        component: StutteringAccent
      - !type:ModifyStatusEffect
        effectProto: StatusEffectDrowsiness
        time: 10
        type: Remove
      - !type:ResetNarcolepsy
        conditions:
        - !type:ReagentThreshold
          min: 10
      - !type:PopupMessage
        visualType: Medium
        messages: ["ethyloxyephedrine-effect-feeling-awake", "ethyloxyephedrine-effect-clear-mind"]
        type: Local
        probability: 0.1

- type: reagent
  id: Diphenylmethylamine
  name: reagent-name-diphenylmethylamine
  desc: reagent-desc-diphenylmethylamine
  group: Medicine
  physicalDesc: reagent-physical-desc-glowing
  flavor: medicine
  color: "#b0abaa"
  metabolisms:
    Medicine:
      effects:
      - !type:ModifyStatusEffect
        effectProto: StatusEffectDrowsiness
        time: 10
        type: Remove
      - !type:ResetNarcolepsy
        conditions:
        - !type:ReagentThreshold
          min: 5
      - !type:PopupMessage
        visualType: Medium
        messages: ["ethyloxyephedrine-effect-feeling-awake", "ethyloxyephedrine-effect-clear-mind"]
        type: Local
        probability: 0.1

- type: reagent
  id: Sigynate
  name: reagent-name-sigynate
  group: Medicine
  desc: reagent-desc-sigynate
  physicalDesc: reagent-physical-desc-thick
  flavor: sweet
  color: "#e0a5b9"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Caustic: -3
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 16
        damage:
          types:
            Heat: 2
      - !type:Jitter
        conditions:
        - !type:ReagentThreshold
          min: 20
      - !type:PopupMessage
        conditions:
        - !type:ReagentThreshold
          min: 20
        type: Local
        visualType: Medium
        messages: [ "generic-reagent-effect-nauseous" ]
        probability: 0.2
      - !type:ChemVomit
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 30
        probability: 0.02
      - !type:ChemVomit
        conditions:
        - !type:ReagentThreshold
          reagent: Arithrazine
          min: 1
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        probability: 0.1
      - !type:PopupMessage
        conditions:
        - !type:ReagentThreshold
          reagent: Arithrazine
          min: 1
        type: Local
        visualType: Medium
        messages: [ "generic-reagent-effect-nauseous" ]
        probability: 0.2

- type: reagent
  id: Lacerinol
  name: reagent-name-lacerinol
  group: Medicine
  desc: reagent-desc-lacerinol
  physicalDesc: reagent-physical-desc-viscous
  flavor: syrupy
  color: "#283332"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Slash: -4 # Was 3, Buffed due to limb damage changes(GoobStation)
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 12
        damage:
          types:
            Cold: 3

- type: reagent
  id: Puncturase
  name: reagent-name-puncturase
  group: Medicine
  desc: reagent-desc-puncturase
  physicalDesc: reagent-physical-desc-fizzy
  flavor: fizzy
  color: "#b9bf93"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Piercing: -4
            Blunt: 0.1
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 11
        damage:
          types:
            Blunt: 5

- type: reagent
  id: Bruizine
  name: reagent-name-bruizine
  group: Medicine
  desc: reagent-desc-bruizine
  physicalDesc: reagent-physical-desc-mucus-like
  flavor: sour
  color: "#ff3636"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          types:
            Blunt: -4 # Was 3, Buffed due to limb damage changes(GoobStation)
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 10.5
        damage:
          types:
            Poison: 4

- type: reagent
  id: Holywater
  name: reagent-name-holywater
  group: Medicine
  desc: reagent-desc-holywater
  evaporationSpeed: 0.3
  physicalDesc: reagent-physical-desc-holy
  flavor: holy
  color: "#91C3F7"
  metabolisms:
    Drink:
      effects:
      - !type:SatiateThirst
        factor: 3
      - !type:CleanseCult # DeltaV - Cosmic Cult
        conditions:
        - !type:ReagentThreshold
          min: 10
      - !type:HealthChange
        conditions:
        - !type:TotalDamage
          max: 50
        damage:
          types:
            Blunt: -0.2
            Poison: -0.2
            Heat: -0.2
            Shock: -0.2
            Cold: -0.2

  reactiveEffects:
    Extinguish:
      methods: [ Touch ]
      effects:
      - !type:ExtinguishReaction
#    Acidic:  # Goobstation - Removing holy water damage on touch pending rework.
#      methods: [ Touch ]
#      effects:
#      - !type:HealthChange
#        scaleByQuantity: true
#        ignoreResistances: false
#        damage:
#          types:
#            Holy: 0.7
  plantMetabolism:
  - !type:PlantAdjustWater
    amount: 1
  tileReactions:
  - !type:ExtinguishTileReaction { }

- type: reagent
  id: Pyrazine
  name: reagent-name-pyrazine
  group: Medicine
  desc: reagent-desc-pyrazine
  physicalDesc: reagent-physical-desc-thick
  flavor: syrupy
  color: "#aa4308"
  metabolisms:
    Medicine:
      metabolismRate: 0.1 # slow metabolism to not be a godly combat med, its for treating burn victims efficiently
      effects:
      - !type:SuppressPain
        amount: 4 # To prevent people from dying while being healed
        time: 7
      - !type:HealthChange
        damage:
          types:
            Heat: -1
      # od causes massive bleeding
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        damage:
          types:
            Slash: 0.5
            Piercing: 0.5
      - !type:ChemVomit
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 15
        probability: 0.1
      - !type:Emote
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        emote: Scream
        probability: 0.2

- type: reagent
  id: Insuzine
  name: reagent-name-insuzine
  group: Medicine
  desc: reagent-desc-insuzine
  physicalDesc: reagent-physical-desc-frosty
  flavor: metallic
  color: "#8147ff"
  metabolisms:
    Medicine:
      effects:
      # heals shocks and removes shock chems
      - !type:HealthChange
        damage:
          types:
            Shock: -4
      - !type:AdjustReagent
        reagent: Licoxide
        amount: -4
      - !type:AdjustReagent
        reagent:  Tazinide
        amount: -4
      # makes you a little chilly when not oding
      - !type:AdjustTemperature
        amount: -5000
      # od makes you freeze to death
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 12
        damage:
          types:
            Cold: 2
      - !type:AdjustTemperature
        conditions:
        - !type:ReagentThreshold
          min: 12
        amount: -30000
      - !type:Jitter
        conditions:
        - !type:ReagentThreshold
          min: 12

- type: reagent
  id: Opporozidone #Name based of an altered version of the startreck chem "Opporozine"
  name: reagent-name-opporozidone
  group: Medicine
  desc: reagent-desc-opporozidone
  physicalDesc: reagent-physical-desc-sickly
  flavor: acid
  color: "#b5e36d"
  worksOnTheDead: true
  metabolisms:
    Medicine:
      effects:
        - !type:ReduceRotting
          seconds: 10 # Goob - Reduce effectiveness in exchange for easier recipe
          conditions:
          #Patient must be dead and in a cryo tube (or something cold)
          - !type:Temperature
            max: 150.0
          - !type:MobStateCondition
            mobstate: Dead

- type: reagent
  id: Necrosol
  name: reagent-name-necrosol
  group: Medicine
  desc: reagent-desc-necrosol
  physicalDesc: reagent-physical-desc-necrotic
  flavor: medicine
  color: "#86a5bd"
  worksOnTheDead: true
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: -5
  - !type:PlantAdjustHealth
    amount: 5
  - !type:PlantCryoxadone {}
  metabolisms:
    Medicine:
      effects:
        - !type:ModifyBloodLevel # Goobstation - Cryo rebalance
          conditions:
          - !type:Temperature
            max: 213.0
          amount: 10
        - !type:HealthChange
          conditions:
          - !type:Temperature
            max: 213.0
          scaleByTemperature: # Shitmed Change
            min: 100.0
            max: 213.0
            scale: 1.6
          damage: # Goobstation - Cryo rebalance
            groups:
              Airloss: -10.0
              Brute: -5.0
              Burn: -5.0
              Toxin: -5.0

- type: reagent
  id : Aloxadone
  name: reagent-name-aloxadone
  group: Medicine
  desc: reagent-desc-aloxadone
  physicalDesc: reagent-physical-desc-soothing
  flavor: medicine
  color: "#89f77f"
  worksOnTheDead: true
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        conditions:
        - !type:Temperature
          max: 213.0
        scaleByTemperature: # Shitmed Change
          min: 100.0
          max: 213.0
          scale: 1.6
        damage: # Goobstation - Cryo rebalance
          types:
            Heat: -10.0
            Shock: -10.0
            Caustic: -10.0

- type: reagent
  id : Mannitol # currently this is just a way to create psicodine
  name: reagent-name-mannitol
  group: Medicine
  desc: reagent-desc-mannitol
  physicalDesc: reagent-physical-desc-opaque
  flavor: sweet
  color: "#A0A0A0"
  metabolisms:
    Medicine:
      effects:
      - !type:PopupMessage
        conditions:
        - !type:ReagentThreshold
          min: 15
        type: Local
        visualType: Medium
        messages: [ "mannitol-effect-enlightened" ]
        probability: 0.2

- type: reagent
  id: Psicodine
  name: reagent-name-psicodine
  group: Medicine
  desc: reagent-desc-psicodine
  physicalDesc: reagent-physical-desc-shiny
  flavor: bitter
  color: "#07E79E"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 30
        damage:
          types:
            Poison: 2
      - !type:ModifyStatusEffect
        effectProto: StatusEffectSeeingRainbow
        conditions:
        - !type:ReagentThreshold
          min: 30
        type: Add
        time: 8
        refresh: false
      - !type:GenericStatusEffect
        key: Jitter
        time: 2.0
        type: Remove
      - !type:GenericStatusEffect
        key: Drunk
        time: 6.0
        type: Remove
      - !type:PopupMessage # we dont have sanity/mood so this will have to do
        type: Local
        visualType: Medium
        messages:
        - "psicodine-effect-fearless"
        - "psicodine-effect-anxieties-wash-away"
        - "psicodine-effect-at-peace"
        probability: 0.2

- type: reagent
  id: PotassiumIodide
  name: reagent-name-potassium-iodide
  group: Medicine
  desc: reagent-desc-potassium-iodide
  physicalDesc: reagent-physical-desc-grainy
  flavor: medicine
  color: "#baa15d"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange #Goobstation
        damage:
          types:
            Radiation: -0.25 #Goobend
      - !type:GenericStatusEffect
        key: RadiationProtection
        component: RadiationProtection
        time: 2
        type: Add
        refresh: false
      - !type:HealthChange
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:ReagentThreshold
          min: 20
        damage:
          types:
            Poison: 1

- type: reagent
  id: Haloperidol
  name: reagent-name-haloperidol
  group: Medicine
  desc: reagent-desc-haloperidol
  physicalDesc: reagent-physical-desc-crystalline
  flavor: medicine
  color: "#27870a"
  metabolisms:
    Medicine:
      effects:
      - !type:Emote
        emote: Yawn
        showInChat: true
        probability: 0.1
      - !type:ModifyStatusEffect
        effectProto: StatusEffectDrowsiness
        time: 4
        type: Add
        refresh: false
        conditions:
        - !type:ReagentThreshold
          min: 5
      - !type:GenericStatusEffect
        key: Jitter
        time: 4.0
        type: Remove
      - !type:ModifyStatusEffect
        effectProto: StatusEffectSeeingRainbow
        time: 10.0
        type: Remove
      - !type:AdjustReagent
        reagent: Desoxyephedrine
        amount: -3.0
      - !type:AdjustReagent
        reagent: Ephedrine
        amount: -3.0
      - !type:AdjustReagent
        reagent: Stimulants
        amount: -1.0 #Goobstation edit
      - !type:AdjustReagent
        reagent: THC
        amount: -3.0
      - !type:AdjustReagent
        reagent: SpaceDrugs
        amount: -3.0
      - !type:AdjustReagent
        reagent: Bananadine
        amount: -3.0
      - !type:AdjustReagent
        reagent: SpaceGlue
        amount: -3.0
      - !type:AdjustReagent
        reagent: MindbreakerToxin
        amount: -3.0
