Epinephrine + epipen (#5444)

* add sprite and basic entity, no reagent or testing

* actually implement epinephrine and add it to the box

* allow creating it

* add it to nanomed

* fig
This commit is contained in:
mirrorcult
2021-11-22 23:51:51 -07:00
committed by GitHub
parent 732baa56a9
commit e2205e418b
39 changed files with 311 additions and 32 deletions

View File

@@ -0,0 +1,17 @@
- type: reagent
id: Acetone
name: acetone
desc: A slick, slightly carcinogenic liquid. Has a multitude of mundane uses in everyday life.
physicalDesc: acidic
color: "#AF14B7"
boilingPoint: 55.5
meltingPoint: -50.0
- type: reagent
id: Phenol
name: phenol
desc: An aromatic ring of carbon with a hydroxyl group. A useful precursor to some medicines, but has no healing properties on its own.
physicalDesc: acidic
color: "#E7EA91"
boilingPoint: 55.5
meltingPoint: -50.0

View File

@@ -43,9 +43,9 @@
metabolisms:
Medicine:
effects:
- !type:RemoveReagent
- !type:AdjustReagent
reagent: Histamine
amount: 3.0
amount: -3.0
- !type:GenericStatusEffect
key: Jitter
time: 1.0
@@ -180,6 +180,66 @@
color: "#2d5708"
# TODO: GenericStatusEffect remove drunkenness
# this ones a doozy
- type: reagent
id: Epinephrine
name: epinephrine
desc: Effective at bringing people back from a critical state. Reduces some stun times. Easy to overdose on.
physicalDesc: odorless
color: "#d2fffa"
metabolisms:
Medicine:
effects:
- !type:HealthChange
conditions:
- !type:TotalDamage
# they gotta be in crit first
min: 100
- !type:ReagentThreshold
min: 0
max: 20
damage:
types:
Asphyxiation: -3
Poison: -0.5
groups:
Brute: -0.5
Burn: -0.5
- !type:HealthChange
conditions:
- !type:ReagentThreshold
min: 20
damage:
types:
Asphyxiation: 1
Poison: 1
- !type:AdjustReagent
reagent: Lexorin
amount: -2
- !type:AdjustReagent
conditions:
- !type:ReagentThreshold
reagent: Lexorin
min: 1
reagent: Epinephrine
amount: -1
- !type:AdjustReagent
probability: 0.1
conditions:
- !type:ReagentThreshold
reagent: Lexorin
min: 1
reagent: Histamine
amount: 4
- !type:GenericStatusEffect
key: Stun
time: 0.25
type: Remove
- !type:GenericStatusEffect
key: KnockedDown
time: 0.25
type: Remove
- type: reagent
id: Hyperzine
name: hyperzine

View File

@@ -112,9 +112,9 @@
damage:
types:
Poison: 3
- !type:RemoveReagent
- !type:AdjustReagent
reagent: Inaprovaline
amount: 2
amount: -2.0
reactiveEffects:
Flammable:
methods: [ Touch ]