- type: reagent
  id: Toxin
  name: toxin
  group: Toxins
  desc: A Toxic chemical.
  color: "#cf3600"
  physicalDesc: opaque
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: 10
  - !type:PlantAdjustHealth
    amount: -5
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          types:
            Poison: 2

- type: reagent
  id: PolytrinicAcid
  name: polytrinic acid
  group: Toxins
  desc: An extremely corrosive chemical substance. The slightest touch of it will melt off most masks and headgear, and it deals extreme damage to anyone who comes directly into contact with it.
  physicalDesc: strong-smelling
  color: "#a1000b"
  boilingPoint: 78.2 # This isn't a real chemical...
  meltingPoint: -19.4
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: 20
  - !type:PlantAdjustWeeds
    amount: -4
  - !type:PlantAdjustHealth
    amount: -8
  reactiveEffects:
    Acidic:
      methods: [ Touch ]
      effects:
      - !type:HealthChange
        scaleByQuantity: true
        ignoreResistances: false
        damage:
          groups:
            Caustic: 0.5
      - !type:Scream
        probability: 0.3
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          groups:
            Caustic: 2
      - !type:PopupMessage
        type: Local
        messages: [ "generic-reagent-effect-burning-insides" ]
        probability: 0.33

- type: reagent
  id: FluorosulfuricAcid
  name: fluorosulfuric acid
  group: Toxins
  desc: An extremely corrosive chemical substance.
  physicalDesc: strong-smelling
  color: "#5050ff"
  boilingPoint: 165
  meltingPoint: -87
  reactiveEffects:
    Acidic:
      methods: [ Touch ]
      effects:
      - !type:HealthChange
        scaleByQuantity: true
        ignoreResistances: false
        damage:
          groups:
            Caustic: 0.3
      - !type:Scream
        probability: 0.2
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          groups:
            Caustic: 2
      - !type:PopupMessage
        type: Local
        messages: [ "generic-reagent-effect-burning-insides" ]
        probability: 0.33

- type: reagent
  id: SulfuricAcid
  name: sulfuric acid
  group: Toxins
  desc: A highly corrosive, oily, colorless liquid.
  physicalDesc: oily
  color: "#BF8C00"
  boilingPoint: 337.0
  meltingPoint: 10.31
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: 10
  - !type:PlantAdjustWeeds
    amount: -2
  - !type:PlantAdjustHealth
    amount: -5
  reactiveEffects:
    Acidic:
      methods: [ Touch ]
      effects:
      - !type:HealthChange
        scaleByQuantity: true
        ignoreResistances: false
        damage:
          groups:
            Caustic: 0.1
      - !type:Scream
        probability: 0.1
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          types:
            Poison: 2
      - !type:PopupMessage
        type: Local
        messages: [ "generic-reagent-effect-burning-insides" ]
        probability: 0.33

- type: reagent
  id: UnstableMutagen
  name: unstable mutagen
  group: Toxins
  desc: Causes mutations when injected into living people or plants. High doses may be lethal, especially in humans.
  physicalDesc: glowing
  color: "#00ff5f"
  boilingPoint: 340282300000000000000000000000000000000 # Ethidium bromide, which doesn't boil.
  meltingPoint: 261.0
  plantMetabolism:
  - !type:PlantAdjustMutationLevel
    amount: 1
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          types:
            Radiation: 3

- type: reagent
  id: HeartbreakerToxin
  name: heartbreaker toxin
  group: Toxins
  desc: A hallucinogenic compound that is illegal under space law. A synthetic drug derived from Mindbreaker toxin, it blocks some neurological signals to the respiratory system which causes choking.
  physicalDesc: strong-smelling
  color: "#5f959c"
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          types:
            Asphyxiation: 4
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: 10

- type: reagent
  id: Lexorin
  name: lexorin
  group: Toxins
  desc: Temporarily stops respiration and causes tissue damage. Large doses are fatal, and will cause people to pass out very quickly. Dexalin and Dexalin Plus will both remove it, however.
  physicalDesc: pungent
  color: "#6b0007"
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          groups:
            Airloss: 7

- type: reagent
  id: MindbreakerToxin
  name: mindbreaker toxin
  group: Toxins
  desc: A potent hallucinogenic compound that is illegal under space law. Formerly known as LSD.
  physicalDesc: opaque
  color: "#77b58e"
  plantMetabolism:
  - !type:PlantAdjustToxins
    amount: 10
  # TODO hallucinations

- type: reagent
  id: Histamine
  name: histamine
  group: Toxins
  desc: Histamine's effects become more dangerous depending on the dosage amount. They range from mildly annoying to incredibly lethal.
  physicalDesc: abrasive
  color: "#FA6464"
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        probability: 0.1
        damage:
          groups:
            Brute: 2
      # todo: cough, sneeze
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          min: 30
        damage:
          groups:
            Brute: 2
            Toxin: 2
            Airloss: 2
      - !type:PopupMessage
        type: Local
        messages: [ "histamine-effect-light-itchiness" ]
        probability: 0.1
      - !type:PopupMessage
        conditions:
        - !type:ReagentThreshold
          min: 30
        type: Local
        messages: [ "histamine-effect-heavy-itchiness" ]
        probability: 0.2

- type: reagent
  id: Theobromine
  name: theobromine
  group: Toxins
  desc: Theobromine is a bitter alkaloid of the cacao plant found in chocolate, and some other foods.
  physicalDesc: grainy
  color: "#f5f5f5"
  meltingPoint: 351
  boilingPoint: 554 # I'm not a chemist, but it boils at 295, lower than melting point, idk how it works so I gave it higher value
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        conditions:
        - !type:ReagentThreshold
          min: 1
        - !type:OrganType
          type: Animal # Applying damage to the mobs with lower metabolism capabilities
        damage:
          types:
            Poison: 4

- type: reagent
  id: Amatoxin
  name: amatoxin
  group: Toxins
  desc: A potent toxin found in some mushrooms.
  physicalDesc: nondescript
  color: "#D6CE7B"
  metabolisms:
    Poison:
      effects:
      - !type:HealthChange
        damage:
          types:
            Poison: 6

- type: reagent
  id: VentCrud
  name: vent crud
  desc: A jet black substance found in poorly maintained ventilation systems.
  physicalDesc: sticky
  color: "#000000"
  metabolisms:
    Poison:
      effects:
        - !type:HealthChange
          damage:
            types:
              Poison: 2
        - !type:ChemCauseDisease ##Since this mostly just comes from the event you won't ingest that much
          causeChance: 0.6
          disease: VentCough
