# SPDX-FileCopyrightText: 2025 ReserveBot <211949879+ReserveBot@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Svarshik <96281939+lexaSvarshik@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: reagent
  id: RoyalOmniheal
  name: reagent-name-royal-omniheal
  group: Medicine
  desc: reagent-desc-royal-omniheal
  physicalDesc: reagent-physical-desc-exotic-smelling
  flavor: medicine
  color: "#F0E68C"
  metabolisms:
    Medicine:
      effects:
      - !type:HealthChange
        damage:
          groups:
            Brute: -4
            Burn: -4
            Airloss: -4
            Toxin: -4
            Genetic: -4
          types:
            Cellular: -4
            Holy: -4
            Radiation: -4
      - !type:ModifyBleedAmount
        amount: -2
      - !type:ChemHealEyeDamage
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages: ["omniheal-effect-rejuvenating"]
        probability: 0.3
      - !type:AdjustTemperature
        conditions:
        - !type:Temperature
          max: 293.15
        amount: 10
      - !type:AdjustTemperature
        conditions:
        - !type:Temperature
          min: 293.15
        amount: -10

- type: reagent
  id: RoyalHyperphase
  name: reagent-name-royal-hyperphase
  desc: reagent-desc-royal-hyperphase
  group: Medicine
  physicalDesc: reagent-physical-desc-energizing
  flavor: medicine
  color: "#FF0000"
  metabolisms:
    Medicine:
      effects:
      - !type:MovespeedModifier
        walkSpeedModifier: 1.35
        sprintSpeedModifier: 1.35
      - !type:GenericStatusEffect
        key: Adrenaline
        component: IgnoreSlowOnDamage
        time: 10
        type: Add
        refresh: true
      - !type:GenericStatusEffect
        key: PressureImmunity
        component: PressureImmunity
        time: 10
        type: Add
        refresh: true
      - !type:GenericStatusEffect
        key: RadiationProtection
        component: RadiationProtection
        time: 10
        type: Add
        refresh: true
      - !type:GenericStatusEffect
        key: StaminaModifier
        component: StaminaModifier
        time: 10
        type: Add
        refresh: true
      - !type:ChemHealEyeDamage
        conditions:
        - !type:ReagentThreshold
          min: 1
      - !type:ChemCleanBloodstream
        cleanseRate: 5
      - !type:AdjustReagent
        reagent: Histamine
        amount: -5.0
      - !type:AdjustReagent
        reagent: HeartbreakerToxin
        amount: -5.0
      - !type:AdjustReagent
        reagent: Fresium
        amount: -5.0
      - !type:AdjustReagent
        reagent: Amatoxin
        amount: -5.0
      - !type:AdjustReagent
        reagent: Licoxide
        amount: -5.0
      - !type:AdjustReagent
        reagent: Tazinide
        amount: -5.0
      - !type:AdjustReagent
        reagent: Desoxyephedrine
        amount: -5.0
      - !type:AdjustReagent
        reagent: Ephedrine
        amount: -5.0
      - !type:AdjustReagent
        reagent: Stimulants
        amount: -5.0
      - !type:AdjustReagent
        reagent: THC
        amount: -5.0
      - !type:AdjustReagent
        reagent: SpaceDrugs
        amount: -5.0
      - !type:AdjustReagent
        reagent: Bananadine
        amount: -5.0
      - !type:AdjustReagent
        reagent: SpaceGlue
        amount: -5.0
      - !type:AdjustReagent
        reagent: MindbreakerToxin
        amount: -5.0
      - !type:AdjustReagent
        reagent: ChloralHydrate
        amount: -10.0
      - !type:GenericStatusEffect
        key: Jitter
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: Drunk
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: Stun
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: KnockedDown
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: Drowsiness
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: ForcedSleep
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: SeeingRainbows
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: TemporaryBlindness
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: Muted
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: Stutter
        component: ScrambledAccent
        time: 10
        type: Remove
      - !type:GenericStatusEffect
        key: Stutter
        component: StutteringAccent
        time: 10
        type: Remove
      - !type:ResetNarcolepsy
        conditions:
        - !type:ReagentThreshold
          min: 1
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages: ["hyperphase-effect-rejuvenating"]
        probability: 0.3
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          reagent: RoyalHyperphase
          min: 25
        damage:
          types:
            Poison: 5
            Asphyxiation: 5
            Caustic: 5
      - !type:ChemVomit
        conditions:
        - !type:ReagentThreshold
          reagent: RoyalHyperphase
          min: 25
        probability: 0.25
      - !type:Emote
        conditions:
        - !type:ReagentThreshold
          reagent: RoyalHyperphase
          min: 25
        emote: Scream
        showInChat: false
        probability: 0.3
      - !type:PopupMessage
        conditions:
        - !type:ReagentThreshold
          reagent: RoyalHyperphase
          min: 25
        type: Local
        visualType: LargeCaution
        messages: ["hyperphase-overdose-effect-burning", "hyperphase-overdose-effect-shocking", "hyperphase-overdose-effect-too-much-power"]
        probability: 0.3
      - !type:AdjustAlert
        alertType: Walking
        conditions:
        - !type:ReagentThreshold
          reagent: RoyalHyperphase
          max: 1
        clear: False
        time: 10
      - !type:MovespeedModifier
        conditions:
        - !type:ReagentThreshold
          reagent: RoyalHyperphase
          max: 1
        walkSpeedModifier: 0.3
        sprintSpeedModifier: 0.3
