- type: reagent
  id: BaseXenobioReagent
  abstract: true
  group: Biological
  flavor: horrible
  physicalDesc: reagent-physical-desc-viscous
  recognizable: false
  viscosity: 0.25

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioSlimeToxin
  name: xenobio-reagent-slime-toxin-name
  desc: xenobio-reagent-slime-toxin-desc
  color: "#3CB371"
  metabolisms:
    Medicine:
      metabolismRate: 0.1
      effects:
      - !type:HealthChange
        conditions:
        - !type:OrganType
          type: Slime
          shouldHave: false
        - !type:MobStateCondition
          mobstate: Critical
        damage:
          types:
            Asphyxiation: -2 # should keep target in crit
      - !type:HealthChange
        conditions:
        - !type:OrganType
          type: Slime
          shouldHave: false
        damage:
          types:
            Bloodloss: -7 # 20 bloodloss damage every 3 seconds when there are no blood in bloodsream
    Narcotic:
      metabolismRate: 0.1
      effects:
      - !type:ModifyStatusEffect
        conditions:
        - !type:OrganType
          type: Slime
          shouldHave: false
        effectProto: StatusEffectSeeingRainbow
        type: Add
        time: 5
        refresh: false
      - !type:Drunk
        conditions:
        - !type:OrganType
          type: Slime
          shouldHave: false
        boozePower: 5
    Poison:
      metabolismRate: 0.1
      effects:
      - !type:Emote
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:OrganType
          type: Slime
          shouldHave: false
        emote: Yawn
        showInChat: true
        probability: 0.1
      - !type:ModifyStatusEffect
        conditions:
        - !type:OrganType # Goobstation - Yowie
          type: Yowie
          shouldHave: false
        - !type:OrganType
          type: Slime
          shouldHave: false
        effectProto: StatusEffectDrowsiness
        time: 2
        type: Add
        refresh: false


- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyPurple
  name: xenobio-reagent-jelly-purple-name
  desc: xenobio-reagent-jelly-purple-desc
  color: "#BF77F6"
  metabolisms:
    Food:
      metabolismRate: 1
      effects:
      - !type:ModifySlimeComponent
        conditions:
        - !type:ReagentThreshold
          min: 1
        extractBonus: 1

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyBlue
  name: xenobio-reagent-jelly-blue-name
  desc: xenobio-reagent-jelly-blue-desc
  color: "#79F6FC"
  metabolisms:
    Food:
      metabolismRate: 1
      effects:
      - !type:ModifySlimeComponent
        conditions:
        - !type:ReagentThreshold
          min: 1
        chanceModifier: -0.25

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyDarkBlue
  name: xenobio-reagent-jelly-darkblue-name
  desc: xenobio-reagent-jelly-darkblue-desc
  color: "#1E8CFA"
  metabolisms:
    Food:
      metabolismRate: 1
      effects:
      - !type:ModifyStatusEffect
        effectProto: StatusEffectFireImmune
        time: 60
        refresh: false
      - !type:ModifyStatusEffect
        effectProto: StatusEffectWeatherImmune
        time: 60
        refresh: false

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyCerulean
  name: xenobio-reagent-jelly-cerulean-name
  desc: xenobio-reagent-jelly-cerulean-desc
  color: "#2A52BE"
  metabolisms:
    Food:
      metabolismRate: 1
      effects:
      - !type:ModifySlimeComponent
        conditions:
        - !type:ReagentThreshold
          min: 1
        offspringBonus: 2

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyRed
  name: xenobio-reagent-jelly-red-name
  desc: xenobio-reagent-jelly-red-desc
  color: "#FF3333"
  metabolisms:
    Food:
      metabolismRate: 1
      effects:
      - !type:ModifySlimeComponent
        conditions:
        - !type:ReagentThreshold
          min: 1
        chanceModifier: 0.25

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyGreen
  name: xenobio-reagent-jelly-green-name
  desc: xenobio-reagent-jelly-green-desc
  color: "#4DFF4D"
  metabolisms:
    Poison:
      metabolismRate: 5 # hello hypospray users!
      effects:
      - !type:SpeciesChange
        conditions:
        - !type:ReagentThreshold
          min: 10
        newSpecies: SlimePerson
      - !type:AdjustReagent
        reagent: XenobioJellyGreen
        amount: -50.0
        conditions:
        - !type:ReagentThreshold
          min: 10

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioHumanToxin
  name: xenobio-reagent-toxin-human-name
  desc: xenobio-reagent-toxin-human-desc
  color: "#000000"
  metabolisms:
    Poison:
      metabolismRate: 5 # hello hypospray users!
      effects:
      - !type:SpeciesChange
        conditions:
        - !type:ReagentThreshold
          min: 10
        newSpecies: Human
      - !type:AdjustReagent
        reagent: XenobioHumanToxin
        amount: -50.0
        conditions:
        - !type:ReagentThreshold
          min: 10

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioJellyPink
  name: xenobio-reagent-jelly-pink-name
  desc: xenobio-reagent-jelly-pink-desc
  color: "#FF4DD2"
  metabolisms:
    Poison:
      metabolismRate: 1
      effects:
      - !type:ChangeFactionEntityEffect
        conditions:
        - !type:ReagentThreshold
          min: 5
        newFaction: Passive

- type: reagent
  parent: BaseXenobioReagent
  id: AdvancedMutationToxin
  name: xenobio-reagent-toxin-advanced-name
  desc: xenobio-reagent-toxin-advanced-desc
  color: "#000000"
  metabolisms:
    Poison:
      metabolismRate: 5 # hello hypospray users!
      effects:
      - !type:RandomSpeciesChange
        speciesBlacklist:
        - Skeleton # if he's dead it's GG
        - IPC # do i have to explain this one
        - Cyborg # why the fuck is this a thing?
        - Shadowling # yeah.
        # add more here
        conditions:
        - !type:ReagentThreshold
          min: 10
      - !type:AdjustReagent
        reagent: AdvancedMutationToxin
        amount: -50.0
        conditions:
        - !type:ReagentThreshold
          min: 10

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioFelinidToxin
  name: xenobio-reagent-toxin-felinid-name
  desc: xenobio-reagent-toxin-felinid-desc
  color: "#000000"
  metabolisms:
    Poison:
      metabolismRate: 5 # hello hypospray users!
      effects:
      - !type:SpeciesChange
        conditions:
        - !type:ReagentThreshold
          min: 10
        newSpecies: Felinid
      - !type:AdjustReagent
        reagent: XenobioFelinidToxin
        amount: -50.0
        conditions:
        - !type:ReagentThreshold
          min: 10

- type: reagent
  parent: BaseXenobioReagent
  id: XenobioGenderFluid
  name: xenobio-reagent-genderfluid-name
  desc: xenobio-reagent-genderfluid-desc
  color: "#FF4DD2"
  metabolisms:
    Narcotic:
      metabolismRate: 1
      effects:
      - !type:SexChange
        conditions:
        - !type:ReagentThreshold
          min: 5
      - !type:AdjustReagent
        reagent: XenobioGenderFluid
        amount: -50.0
        conditions:
        - !type:ReagentThreshold
          min: 5
