From cfbf620e3fba0559c1a5d725da35bb37cf3b50f0 Mon Sep 17 00:00:00 2001 From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Sun, 13 Apr 2025 17:21:55 +0200 Subject: [PATCH] Condensed gases can now be metabolized. (#31648) * Condensed gasses can now be metabolized. * Made condensed frezon weaker * Liquid frezon nerf --- Resources/Prototypes/Reagents/gases.yml | 111 ++++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/Resources/Prototypes/Reagents/gases.yml b/Resources/Prototypes/Reagents/gases.yml index 9ef508feea..ac39f2d725 100644 --- a/Resources/Prototypes/Reagents/gases.yml +++ b/Resources/Prototypes/Reagents/gases.yml @@ -8,6 +8,52 @@ 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 + # Convert Oxygen into CO2. + - !type:ModifyLungGas + conditions: + - !type:OrganType + type: Vox + 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 Gas: effects: - !type:Oxygenate @@ -150,6 +196,32 @@ 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 + scaleByQuantity: true + ignoreResistances: true + damage: + types: + Poison: + 0.8 + - !type:Oxygenate + conditions: + - !type:OrganType + type: Plant + shouldHave: false + factor: -4 Gas: effects: - !type:Oxygenate @@ -236,6 +308,12 @@ boilingPoint: -88 meltingPoint: -90 metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Poison: 2 Gas: effects: - !type:Emote @@ -317,6 +395,39 @@ boilingPoint: -195.8 meltingPoint: -210.0 metabolisms: + Narcotic: + effects: + - !type:HealthChange + scaleByQuantity: true + ignoreResistances: true + damage: + types: + Cellular: 1 + - !type:GenericStatusEffect + key: SeeingRainbows + component: SeeingRainbows + type: Add + time: 100 + refresh: false + - !type:Drunk + boozePower: 100 + - !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 -- 2.51.2