Files
ss14chemcalc/Prototypes/Reagents/gases.yml
2026-01-24 16:34:15 -05:00

747 lines
21 KiB
YAML

# SPDX-FileCopyrightText: 2022 20kdc <asdd2808@gmail.com>
# SPDX-FileCopyrightText: 2022 Alex Evgrashin <aevgrashin@yandex.ru>
# SPDX-FileCopyrightText: 2022 EmoGarbage404 <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Flipp Syder <76629141+vulppine@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Rane <60792108+Elijahrane@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 mirrorcult <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2023 CrigCrag <137215465+CrigCrag@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Interrobang01 <113810873+Interrobang01@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2023 Kevin Zheng <kevinz5000@gmail.com>
# SPDX-FileCopyrightText: 2023 LankLTE <135308300+LankLTE@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 PuceTint <69696513+PuceTint@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Whisper <121047731+QuietlyWhisper@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 qwerltaz <69696513+qwerltaz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 ArchPigeon <bookmaster3@gmail.com>
# SPDX-FileCopyrightText: 2024 Ashley Woodiss-Field <ash@DESKTOP-H64M4AI.localdomain>
# SPDX-FileCopyrightText: 2024 Brandon Li <48413902+aspiringLich@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 CM <ash@DESKTOP-H64M4AI.localdomain>
# SPDX-FileCopyrightText: 2024 ColesMagnum <98577947+AW-FulCode@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Errant <35878406+Errant-4@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 AstroDogeDX <48888500+AstroDogeDX@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 SX-7 <sn1.test.preria.2002@gmail.com>
# SPDX-FileCopyrightText: 2025 ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Steve <marlumpy@gmail.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 marc-pelletier <113944176+marc-pelletier@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
- type: reagent
id: Oxygen
name: reagent-name-oxygen
desc: reagent-desc-oxygen
physicalDesc: reagent-physical-desc-gaseous
flavor: bitter
color: "#c4f5ff"
boilingPoint: -183.0
meltingPoint: -218.4
metabolisms:
Poison:
effects:
- !type:Oxygenate
conditions:
- !type:OrganType
type: Human
- !type:Oxygenate
conditions:
- !type:OrganType
type: Animal
- !type:Oxygenate
conditions:
- !type:OrganType
type: Rat
- !type:Oxygenate
conditions:
- !type:OrganType
type: Plant
- !type:Oxygenate # DeltaV - Feroxi Still need to breathe
conditions:
- !type:OrganType
type: Feroxi
# Convert Oxygen into CO2.
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Vox
shouldHave: false
- !type:OrganType # EE Plasmeme
type: Plasmaman
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
ratios:
CarbonDioxide: 1.0
Oxygen: -1.0
- !type:HealthChange
conditions:
- !type:OrganType
type: Vox
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
3
- !type:AdjustAlert
alertType: Toxins
conditions:
- !type:ReagentThreshold
min: 0.5
- !type:OrganType
type: Vox
clear: true
time: 5
- !type:Oxygenate # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Cybernetic
ratios:
CarbonDioxide: 0.5
Oxygen: -0.5
Gas:
effects:
- !type:Oxygenate
conditions:
- !type:OrganType
type: Human
- !type:Oxygenate
conditions:
- !type:OrganType
type: Animal
- !type:Oxygenate
conditions:
- !type:OrganType
type: Rat
- !type:Oxygenate
conditions:
- !type:OrganType
type: Plant
- !type:Oxygenate # DeltaV - Feroxi Still need to breathe
conditions:
- !type:OrganType
type: Feroxi
# Convert Oxygen into CO2.
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Vox
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
ratios:
CarbonDioxide: 1.0
Oxygen: -1.0
- !type:HealthChange
conditions:
- !type:OrganType
type: Vox
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
7
- !type:AdjustAlert
alertType: HighOxygen
conditions:
- !type:ReagentThreshold
min: 0.5
- !type:OrganType
type: Vox
clear: true
time: 5
- !type:Oxygenate
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
- !type:Oxygenate # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Cybernetic
ratios:
CarbonDioxide: 0.5
Oxygen: -0.5
- !type:HealthChange # EE Plasmeme
conditions:
- !type:OrganType
type: Plasmaman
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
7
- !type:AdjustAlert
alertType: HighOxygen
conditions:
- !type:ReagentThreshold
min: 0.5
- !type:OrganType
type: Plasmaman
clear: true
time: 5
- type: reagent
id: Plasma
name: reagent-name-plasma
desc: reagent-desc-plasma
physicalDesc: reagent-physical-desc-gaseous
flavor: bitter
color: "#7e009e"
recognizable: true
boilingPoint: -127.3 # Random values picked between the actual values for CO2 and O2
meltingPoint: -186.4
tileReactions:
- !type:FlammableTileReaction
temperatureMultiplier: 1.5
metabolisms:
Poison:
effects:
- !type:HealthChange
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
shouldHave: false
- !type:OrganType # EE - Plasmeme
type: Plasmaman
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
damage:
types:
Poison: 3
- !type:AdjustReagent
conditions:
- !type:OrganType
type: Plasmaman
shouldHave: false
reagent: Inaprovaline
amount: -2.0
- !type:HealthChange # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
damage:
types:
Poison: 1.5
Gas:
effects:
- !type:HealthChange
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
shouldHave: false
- !type:OrganType # EE - Plasmeme
type: Plasmaman
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
1
# We need a metabolism effect on reagent removal
- !type:AdjustAlert
alertType: Toxins
conditions:
- !type:OrganType
type: Plasmaman
shouldHave: false
- !type:ReagentThreshold
min: 1.5
clear: True
time: 5
- !type:Oxygenate
factor: 4
conditions:
- !type:OrganType
type: Plasmaman
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Plasmaman
ratios:
Nitrogen: 1.0 # Interesting exhale for plasmamen
Plasma: -1.0
- !type:HealthChange # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
0.5
Medicine: # EE Plasmeme
effects:
- !type:HealthChange
conditions:
- !type:OrganType
type: Plasmaman
damage:
groups:
Brute: -2
types:
Heat: -0.66
Shock: -0.66
Caustic: -0.66
Asphyxiation: -0.66
Poison: -0.66
reactiveEffects:
Flammable:
methods: [ Touch ]
effects:
- !type:FlammableReaction
- type: reagent
id: Tritium
name: reagent-name-tritium
desc: reagent-desc-tritium
physicalDesc: reagent-physical-desc-ionizing
flavor: bitter
color: "#66ff33"
tileReactions:
- !type:FlammableTileReaction
temperatureMultiplier: 2.0
reactiveEffects:
Flammable:
methods: [ Touch ]
effects:
- !type:FlammableReaction
multiplier: 0.8
metabolisms:
Poison:
effects:
- !type:HealthChange
conditions:
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
damage:
types:
Radiation: 3
- !type:HealthChange # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
damage:
types:
Radiation: 1.5
Gas:
effects:
- !type:HealthChange
conditions:
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Radiation:
1
# We need a metabolism effect on reagent removal
- !type:AdjustAlert
alertType: Toxins
conditions:
- !type:ReagentThreshold
min: 1.5
clear: True
time: 5
- !type:HealthChange # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Radiation:
0.5
- type: reagent
id: CarbonDioxide
name: reagent-name-carbon-dioxide
desc: reagent-desc-carbon-dioxide
physicalDesc: reagent-physical-desc-odorless
flavor: bitter
color: "#66ff33"
metabolisms:
Poison:
effects:
- !type:Oxygenate
conditions:
- !type:OrganType
type: Plant
- !type:HealthChange
conditions:
- !type:OrganType
type: Plant
shouldHave: false
- !type:OrganType
type: Vox
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
0.8
- !type:Oxygenate
conditions:
- !type:OrganType
type: Plant
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
factor: -4
Gas:
effects:
- !type:Oxygenate
conditions:
- !type:OrganType
type: Plant
- !type:HealthChange
conditions:
- !type:OrganType
type: Plant
shouldHave: false
- !type:OrganType
type: Vox
shouldHave: false
- !type:OrganType # Goobstation - Yowie
type: Yowie
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
# Don't want people to get toxin damage from the gas they just
# exhaled, right?
- !type:ReagentThreshold
min: 0.5
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
0.8
- !type:Oxygenate # carbon dioxide displaces oxygen from the bloodstream, causing asphyxiation
conditions:
- !type:OrganType
type: Plant
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
factor: -4
# We need a metabolism effect on reagent removal
#- !type:AdjustAlert
# alertType: CarbonDioxide
- type: reagent
id: Nitrogen
name: reagent-name-nitrogen
desc: reagent-desc-nitrogen
physicalDesc: reagent-physical-desc-gaseous
flavor: bitter
color: "#a1e1ff"
boilingPoint: -195.8
meltingPoint: -210.0
metabolisms:
Poison:
effects:
- !type:HealthChange
damage:
types:
Cold: 1 # liquid nitrogen is cold
Gas:
effects:
- !type:Oxygenate
conditions:
- !type:OrganType
type: Vox
- !type:Oxygenate
conditions:
- !type:OrganType
type: Slime
- !type:Oxygenate # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
# Converts Nitrogen into CO2
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Vox
ratios:
Ammonia: 1.0
Nitrogen: -1.0
- !type:ModifyLungGas
conditions:
- !type:OrganType
type: Slime
ratios:
NitrousOxide: 1.0
Nitrogen: -1.0
- !type:ModifyLungGas # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
ratios:
NitrousOxide: 0.5
Nitrogen: -0.5
- type: reagent
id: NitrousOxide
name: reagent-name-nitrous-oxide
desc: reagent-desc-nitrous-oxide
physicalDesc: reagent-physical-desc-gaseous
flavor: bitter
color: "#5d88c9"
boilingPoint: -88
meltingPoint: -90
metabolisms:
Poison:
effects:
- !type:HealthChange
damage:
types:
Poison: 2
Gas:
effects:
- !type:Emote
conditions:
- !type:ReagentThreshold
reagent: NitrousOxide
min: 0.2
max: 0.5
- !type:OrganType
type: Slime
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
emote: Laugh
showInChat: true
probability: 0.1
- !type:PopupMessage
conditions:
- !type:ReagentThreshold
reagent: NitrousOxide
min: 0.5
- !type:OrganType
type: Slime
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
- !type:BloodReagentThreshold # Assmos - /tg/ gases
reagent: NitrosylPlasmide
max: 0.1
type: Local
visualType: Medium
messages: [ "effect-sleepy" ]
probability: 0.1
- !type:MovespeedModifier
conditions:
- !type:ReagentThreshold
reagent: NitrousOxide
min: 1
- !type:OrganType
type: Slime
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
- !type:OrganType
type: Cybernetic
shouldHave: false
- !type:BloodReagentThreshold # Assmos - /tg/ gases
reagent: NitrosylPlasmide
max: 0.1
walkSpeedModifier: 0.65
sprintSpeedModifier: 0.65
- !type:ModifyStatusEffect
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
shouldHave: false
- !type:ReagentThreshold
reagent: NitrousOxide
min: 1
- !type:OrganType
type: Slime
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
- !type:BloodReagentThreshold # Assmos - /tg/ gases
reagent: NitrosylPlasmide
max: 0.1
effectProto: StatusEffectForcedSleeping
time: 3
type: Add
- !type:HealthChange
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
- !type:ReagentThreshold
reagent: NitrousOxide
min: 3.5
- !type:OrganType
type: Slime
shouldHave: false
ignoreResistances: true
damage:
types:
Poison: 0.25
- type: reagent
id: Frezon
name: reagent-name-frezon
desc: reagent-desc-frezon
physicalDesc: reagent-physical-desc-gaseous
flavor: bitter
color: "#3a758c"
boilingPoint: -195.8
meltingPoint: -210.0
metabolisms:
Narcotic:
effects:
- !type:HealthChange
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Cellular: 1
- !type:ModifyStatusEffect
effectProto: StatusEffectSeeingRainbow
type: Add
time: 15
refresh: false
- !type:Drunk
boozePower: 15
- !type:PopupMessage
type: Local
messages: [ "frezon-lungs-cold" ]
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 0.5
- !type:PopupMessage
type: Local
visualType: Medium
messages: [ "frezon-euphoric" ]
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1
Gas:
effects:
- !type:HealthChange
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
damage:
groups:
Brute: -1
types:
Heat: -0.5
Shock: -0.5
Cold: -0.5
Radiation: -0.5
- !type:HealthChange
conditions:
- !type:OrganType # Goobstation - Yowie
type: Yowie
shouldHave: false
- !type:OrganType # Shitmed - Cybernetic Organs
type: Cybernetic
shouldHave: false
- !type:ReagentThreshold
reagent: Frezon
min: 0.5
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Cellular: 0.5
- !type:HealthChange # Shitmed - Cybernetic Organs
conditions:
- !type:OrganType
type: Cybernetic
- !type:ReagentThreshold
reagent: Frezon
min: 0.5
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Cellular: 0.25
- !type:ModifyStatusEffect
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1
effectProto: StatusEffectSeeingRainbow
type: Add
time: 500
refresh: false
- !type:Drunk
boozePower: 500
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1
- !type:PopupMessage
type: Local
messages: [ "frezon-lungs-cold" ]
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 0.5
- !type:PopupMessage
type: Local
visualType: Medium
messages: [ "frezon-euphoric" ]
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Frezon
min: 1