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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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: Rat
shouldHave: false
- !type:OrganType
type: Vox
shouldHave: false
- !type:ReagentThreshold
reagent: Ammonia
min: 0.8
@ -249,6 +252,11 @@
Burn: -5
types:
Bloodloss: -5
- !type:Oxygenate # ammonia displaces nitrogen in vox blood
conditions:
- !type:OrganType
type: Vox
factor: -4
- type: reagent

View File

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