Skip to content

Commit

Permalink
Add Anesthesia to NO2, Nocturine, and ChloralHydrate
Browse files Browse the repository at this point in the history
  • Loading branch information
pontaoski committed Jan 10, 2025
1 parent 9dea48c commit cb9dd70
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- RadiationProtection
- Drowsiness
- Adrenaline
- Anesthesia # DeltaV - Anesthesia
- type: Buckle
- type: StandingState
- type: Tag
Expand Down Expand Up @@ -108,6 +109,7 @@
- RadiationProtection
- Drowsiness
- Adrenaline
- Anesthesia # DeltaV - Anesthesia
- type: Bloodstream
bloodMaxVolume: 150
- type: MobPrice
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Mobs/Species/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
- SuppressAddiction # DeltaV - Psych med addictions system
- InPain # DeltaV - Pain system
- SuppressPain # DeltaV - Pain system
- Anesthesia # DeltaV - Anesthesia
- type: Body
prototype: Human
requiredLegs: 2
Expand Down
12 changes: 12 additions & 0 deletions Resources/Prototypes/Reagents/gases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,18 @@
component: ForcedSleeping
time: 200 # This reeks, but I guess it works LMAO
type: Add
- !type:GenericStatusEffect # DeltaV: anesthesia changes
conditions:
- !type:ReagentThreshold
reagent: NitrousOxide
min: 1
- !type:OrganType
type: Slime
shouldHave: false
key: Anesthesia
component: Anesthesia
time: 200
type: Add
- !type:HealthChange
conditions:
- !type:ReagentThreshold
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/Reagents/narcotics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@
component: ForcedSleeping
refresh: false
type: Add
- !type:GenericStatusEffect # DeltaV: anesthesia
key: Anesthesia
component: Anesthesia
refresh: false
type: Add

- type: reagent
id: MuteToxin
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/Reagents/toxins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@
time: 4
type: Add
refresh: false
- !type:GenericStatusEffect # DeltaV: anesthesia
conditions:
- !type:ReagentThreshold
reagent: ChloralHydrate
min: 10
key: Anesthesia
component: Anesthesia
refresh: false
time: 4.0
type: Add
- !type:HealthChange
conditions:
- !type:ReagentThreshold
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/_DV/status_effects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@

- type: statusEffect
id: SuppressPain

- type: statusEffect
id: Anesthesia

0 comments on commit cb9dd70

Please sign in to comment.