vox oxygen toxicity, respiration changes (#26705)

* vox oxygen toxicity and related stuff

* Review

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Errant
2024-04-27 12:33:35 +02:00
committed by GitHub
parent 670ad3d962
commit a62e8701cb
3 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
namespace Content.Shared.Preferences.Loadouts.Effects;
public sealed class SpeciesLoadoutEffect
{
}

View File

@@ -222,6 +222,9 @@
- !type:OrganType - !type:OrganType
type: Rat type: Rat
shouldHave: false shouldHave: false
- !type:OrganType
type: Vox
shouldHave: false
- !type:ReagentThreshold - !type:ReagentThreshold
reagent: Ammonia reagent: Ammonia
min: 0.8 min: 0.8
@@ -249,6 +252,11 @@
Burn: -5 Burn: -5
types: types:
Bloodloss: -5 Bloodloss: -5
- !type:Oxygenate # ammonia displaces nitrogen in vox blood
conditions:
- !type:OrganType
type: Vox
factor: -4
- type: reagent - type: reagent

View File

@@ -35,6 +35,25 @@
ratios: ratios:
CarbonDioxide: 1.0 CarbonDioxide: 1.0
Oxygen: -1.0 Oxygen: -1.0
- !type:HealthChange
conditions:
- !type:OrganType
type: Vox
scaleByQuantity: true
ignoreResistances: true
damage:
types:
Poison:
7
- !type:AdjustAlert
alertType: Toxins
conditions:
- !type:ReagentThreshold
min: 0.5
- !type:OrganType
type: Vox
clear: true
time: 5
- type: reagent - type: reagent
id: Plasma id: Plasma
@@ -142,6 +161,9 @@
- !type:OrganType - !type:OrganType
type: Plant type: Plant
shouldHave: false shouldHave: false
- !type:OrganType
type: Vox
shouldHave: false
# Don't want people to get toxin damage from the gas they just # Don't want people to get toxin damage from the gas they just
# exhaled, right? # exhaled, right?
- !type:ReagentThreshold - !type:ReagentThreshold
@@ -194,7 +216,7 @@
- !type:OrganType - !type:OrganType
type: Vox type: Vox
ratios: ratios:
CarbonDioxide: 1.0 Ammonia: 1.0
Nitrogen: -1.0 Nitrogen: -1.0
- !type:ModifyLungGas - !type:ModifyLungGas
conditions: conditions: