- type: reagent
  id: Carpetium
  name: reagent-name-carpetium
  group: Special
  desc: reagent-desc-carpetium
  physicalDesc: reagent-physical-desc-fibrous
  flavor: carpet
  color: "#800000"
  tileReactions:
  - !type:CreateEntityTileReaction
    entity: Carpet
    maxOnTileWhitelist:
      tags: [ Carpet ]
  metabolisms:
    Poison:
      effects:
      - !type:PopupMessage
        type: Local
        messages: [ "carpetium-effect-blood-fibrous", "carpetium-effect-jumpsuit-insides" ]
        probability: 0.1
      # Hail the madman logic, if it has CARP, means it helps against CARPs
      - !type:AdjustReagent
        conditions:
        - !type:ReagentCondition
          reagent: CarpoToxin
          min: 1
        reagent: CarpoToxin
        amount: -3

- type: reagent
  id: Fiber
  name: reagent-name-fiber
  desc: reagent-desc-fiber
  physicalDesc: reagent-physical-desc-fibrous
  flavor: fiber
  color: "#808080"
  metabolisms:
    Food:
      effects:
      - !type:SatiateHunger
        conditions:
        - !type:MetabolizerTypeCondition
          type: [ Moth ]

- type: reagent
  id: BuzzochloricBees
  name: reagent-name-buzzochloric-bees
  group: Toxins
  desc: reagent-desc-buzzochloric-bees
  physicalDesc: reagent-physical-desc-buzzy
  contrabandSeverity: Minor
  flavor: bee
  color: "#FFD35D"
  tileReactions:
  - !type:CreateEntityTileReaction
    entity: MobBee
    usage: 2
    maxOnTile: 2
    randomOffsetMax: 0.3
    maxOnTileWhitelist:
      tags: [ Bee ]
  - !type:CleanTileReaction # Bees are extremely obsessive about cleanliness within what they consider their hive.
    cleanCost: 0 # Consume absolutely zero bees. Buzz buzz.
  metabolisms:
    Poison:
      effects:
      - !type:PopupMessage
        type: Local
        visualType: MediumCaution
        messages:
        - "buzzochloricbees-effect-oh-god-bees"
        - "buzzochloricbees-effect-its-the-bees"
        - "buzzochloricbees-effect-why-am-i-covered-in-bees"
        - "buzzochloricbees-effect-one-with-the-bees"
        - "buzzochloricbees-effect-squeaky-clean"
        probability: 0.1
        conditions:
        - !type:ReagentCondition
          max: 0
          reagent: Histamine
        - !type:TagCondition
          inverted: true
          tag: Bee
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "buzzochloricbees-effect-histamine-bee-allergy"
          - "buzzochloricbees-effect-histamine-swells"
          - "buzzochloricbees-effect-histamine-numb-to-the-bees"
          - "buzzochloricbees-effect-histamine-cannot-be-one-with-the-bees"
          - "buzzochloricbees-effect-squeaky-clean"
        probability: 0.05
        conditions:
        - !type:ReagentCondition
          min: 0.01
          reagent: Histamine
        - !type:TagCondition
          inverted: true
          tag: Bee
      - !type:PopupMessage
        type: Local
        visualType: Medium
        messages:
          - "buzzochloricbees-effect-licoxide-electrifying"
          - "buzzochloricbees-effect-licoxide-shocked-by-bee-facts"
          - "buzzochloricbees-effect-licoxide-buzzed"
          - "buzzochloricbees-effect-licoxide-buzzes"
        probability: 0.05
        conditions:
        - !type:TagCondition
          inverted: true
          tag: Bee
        - !type:ReagentCondition
          min: 0.01
          reagent: Licoxide
      - !type:PopupMessage
        type: Local
        messages:
          - "buzzochloricbees-effect-fiber-hairy"
          - "buzzochloricbees-effect-fiber-soft"
        probability: 0.05
        conditions:
        - !type:TagCondition
          inverted: true
          tag: Bee
        - !type:ReagentCondition
          min: 0.01
          reagent: Fiber
      - !type:HealthChange
        damage:
          types:
            Poison: 2
            Piercing: 2
        conditions:
        - !type:TagCondition
          inverted: true
          tag: Bee

- type: reagent
  id: GroundBee
  name: reagent-name-ground-bee
  desc: reagent-desc-ground-bee
  physicalDesc: reagent-physical-desc-bee-guts
  flavor: bee
  color: "#86530E"

- type: reagent
  id: Saxoite
  name: reagent-name-saxoite
  desc: reagent-desc-saxoite
  physicalDesc: reagent-physical-desc-ground-brass
  flavor: sax
  color: "#B8A603"

- type: reagent
  id: Licoxide
  name: reagent-name-licoxide
  group: Toxins
  desc: reagent-desc-licoxide
  physicalDesc: reagent-physical-desc-electric
  contrabandSeverity: Minor
  flavor: shocking
  color: "#FDD023"
  metabolisms:
    Poison:
      metabolismRate : 2.0
      effects:
      - !type:Electrocute
        siemensCoefficient: 0.5
        probability: 0.5

- type: reagent
  id: Razorium
  name: reagent-name-razorium
  group: Toxins
  slipData:
    requiredSlipSpeed: 3.5
  desc: reagent-desc-razorium
  physicalDesc: reagent-physical-desc-reflective
  flavor: sharp
  color: "#e3fffb"
  reactiveEffects:
    Acidic:
      methods: [ Touch ]
      effects:
      - !type:HealthChange
        ignoreResistances: false
        damage:
          types:
            Slash: 0.25
      - !type:Emote
        emote: Scream
        probability: 0.7
  metabolisms:
    Poison:
      metabolismRate : 3.00
      effects:
      - !type:HealthChange
        damage:
          types:
             Slash : 9
      - !type:PopupMessage
        type: Local
        visualType: LargeCaution
        messages: [ "generic-reagent-effect-slicing-insides"]
        probability: 0.33
      - !type:Emote
        emote: Scream
        probability: 0.3

- type: reagent
  id: Fresium
  name: reagent-name-fresium
  group: Toxins
  slipData:
    requiredSlipSpeed: 3.5
  desc: reagent-desc-fresium
  physicalDesc: reagent-physical-desc-frosty
  allowedDepartments:
  - Medical
  flavor: cold
  color: "#b3f1ff"
  boilingPoint: 50.0
  meltingPoint: 45.0
  tileReactions:
  - !type:CreateEntityTileReaction
    entity: IceCrust
    maxOnTileWhitelist:
      tags: [ Ice ]
  - !type:ExtinguishTileReaction { }
  reactiveEffects:
    Acidic:
      methods: [ Touch ]
      effects:
      - !type:HealthChange
        ignoreResistances: false
        damage:
          types:
            Cold: 0.05
      - !type:AdjustTemperature
        conditions:
        - !type:TemperatureCondition
          min: 160.15
        amount: -30000
    Extinguish:
      methods: [ Touch ]
      effects:
      - !type:Extinguish # cold
  metabolisms:
    Poison:
      metabolismRate : 0.45
      effects:
      - !type:HealthChange
        damage:
          types:
             Cold: 0.01 # slightly nips directly, other cold damage comes from the temp change
             Heat: -3 # ghetto burn chem. i don't think anyone would use this intentionally but it's funny
      - !type:PopupMessage
        conditions:
        - !type:ReagentCondition
          reagent: Fresium
          max: 35
        type: Local
        visualType: LargeCaution
        messages: [ "fresium-effect-freeze-insides"]
        probability: 0.05
      - !type:PopupMessage
        conditions:
        - !type:ReagentCondition
          reagent: Fresium
          max: 35
        type: Local
        visualType: LargeCaution
        messages: [ "fresium-effect-slow"]
        probability: 0.2
      - !type:AdjustTemperature
        conditions:
        - !type:TemperatureCondition
          min: 160.15 # not quite enough for cryo, but can speed it up if you wanna take the risk
        amount: -10000
      - !type:MovementSpeedModifier
        conditions:
        - !type:ReagentCondition
          reagent: Fresium
          max: 40 # slows when less than 40
        walkSpeedModifier: 0.6
        sprintSpeedModifier: 0.6
      - !type:MovementSpeedModifier
        conditions:
        - !type:ReagentCondition
          reagent: Fresium
          min: 40 # your legs stop working when above 40
        walkSpeedModifier: 0.00
        sprintSpeedModifier: 0.00
      - !type:PopupMessage
        conditions:
        - !type:ReagentCondition
          reagent: Fresium
          min: 40
        type: Local
        visualType: LargeCaution
        messages: [ "fresium-effect-frozen"]
        probability: 0.4

- type: reagent
  id: Laughter
  name: reagent-name-laughter
  group: Special
  desc: reagent-desc-laughter
  physicalDesc: reagent-physical-desc-funny
  flavor: funny
  color: "#FF4DD2"
  slipData:
    requiredSlipSpeed: 3.5 #clown juice gotta slip
  metabolisms:
    Medicine:
      effects:
      - !type:Emote
        emote: Laugh
        showInGuidebook: true
        probability: 0.3
      - !type:PopupMessage
        type: Local
        visualType: Large
        messages: [ "laughter-effect-control-laughter" ]
        probability: 0.2

- type: reagent
  id: JuiceThatMakesYouWeh
  name: reagent-name-weh
  group: Toxins
  desc: reagent-desc-weh
  physicalDesc: reagent-physical-desc-vibrant
  flavor: weh
  color: "#59b23a"
  metabolisms:
    Poison:
      metabolismRate: 0.25
      effects:
      - !type:Emote
        emote: Weh
        showInChat: true
        showInGuidebook: true
        force: true
        probability: 0.5
      - !type:Polymorph
        prototype: ArtifactLizard # Does the same thing as the original YML I made for this reagent.
        conditions:
        - !type:MetabolizerTypeCondition
          type: [Animal]
          inverted: true
        - !type:ReagentCondition
          reagent: JuiceThatMakesYouWeh
          min: 50
      - !type:AdjustReagent
        reagent: JuiceThatMakesYouWeh
        amount: -20
        conditions:
        - !type:ReagentCondition
          reagent: JuiceThatMakesYouWeh
          min: 50

- type: reagent
  id: JuiceThatMakesYouHew
  name: reagent-name-hew
  group: Toxins
  desc: reagent-desc-hew
  physicalDesc: reagent-physical-desc-inversed
  flavor: hew
  color: "#a64dc5"
  metabolisms:
    Poison:
      metabolismRate: 0.25
      effects:
      - !type:Emote
        emote: Hew
        showInChat: true
        showInGuidebook: true
        force: true
        probability: 0.5
      - !type:Polymorph
        prototype: ArtifactLizard
        conditions:
        - !type:MetabolizerTypeCondition
          type: [ Animal ]
          inverted: true
        - !type:ReagentCondition
          reagent: JuiceThatMakesYouHew
          min: 50
      - !type:AdjustReagent
        reagent: JuiceThatMakesYouHew
        amount: -20
        conditions:
        - !type:ReagentCondition
          reagent: JuiceThatMakesYouHew
          min: 50

- type: reagent
  id: CorgiJuice
  name: reagent-name-corgiessence
  group: Toxins
  desc: reagent-desc-corgiessence
  physicalDesc: reagent-physical-desc-fluffy
  flavor: dogfood
  color: "#ed9715"
  metabolisms:
    Poison:
      metabolismRate: 0.2
      effects:
      - !type:HealthChange
        conditions:
        - !type:ReagentCondition
          reagent: CorgiJuice
          min: 15
        damage:
          types:
            Cellular: 0.5
      - !type:Polymorph
        prototype: SmartCorgiMorph
        conditions:
        - !type:ReagentCondition
          reagent: CorgiJuice
          min: 50
      - !type:AdjustReagent
        reagent: CorgiJuice
        amount: -20
        conditions:
        - !type:ReagentCondition
          reagent: CorgiJuice
          min: 50

- type: reagent
  id: Felinase
  name: reagent-name-catessence
  group: Toxins
  desc: reagent-desc-catessence
  physicalDesc: reagent-physical-desc-milky
  flavor: cannedtuna
  color: "#d8bed8"
  metabolisms:
    Poison:
      metabolismRate: 0.2
      effects:
      - !type:HealthChange
        conditions:
        - !type:ReagentCondition
          reagent: Felinase
          min: 15
        damage:
          types:
            Radiation: 0.5
      - !type:AdjustReagent
        reagent: Felinase
        amount: -5
        conditions:
        - !type:ReagentCondition
          reagent: Felinase
          min: 30
      - !type:ModifyStatusEffect
        conditions:
        - !type:ReagentCondition
          reagent: Felinase
          min: 10
        effectProto: StatusEffectOwO
        time: 12.5
        type: Add
      - !type:Emote
        conditions:
        - !type:ReagentCondition
          reagent: Felinase
          min: 10
        emote: Cough
        showInChat: true
        showInGuidebook: true
        force: true
        probability: 0.05
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages: [ "capsaicin-effect-light-burn" ]
        probability: 0.05

- type: reagent
  id: Caninase
  name: reagent-name-canidessence
  group: Toxins
  desc: reagent-desc-canidessence
  physicalDesc: reagent-physical-desc-bubbly
  flavor: dogfood
  color: "#b87333"
  metabolisms:
    Poison:
      metabolismRate: 0.2
      effects:
      - !type:HealthChange
        conditions:
        - !type:ReagentCondition
          reagent: Caninase
          min: 15
        damage:
          types:
            Radiation: 0.5
      - !type:AdjustReagent
        reagent: Caninase
        amount: -5
        conditions:
        - !type:ReagentCondition
          reagent: Caninase
          min: 30
      - !type:ModifyStatusEffect
        conditions:
        - !type:ReagentCondition
          reagent: Caninase
          min: 10
        effectProto: StatusEffectBark
        time: 12.5
        type: Add
      - !type:Emote
        conditions:
        - !type:ReagentCondition
          reagent: Caninase
          min: 10
        emote: Cough
        showInChat: true
        showInGuidebook: true
        force: true
        probability: 0.05
      - !type:PopupMessage
        type: Local
        visualType: Small
        messages: [ "capsaicin-effect-light-burn" ]
        probability: 0.05
