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:
@@ -94,7 +94,7 @@
|
||||
contents:
|
||||
- id: ClothingMaskBreath
|
||||
- id: EmergencyOxygenTankFilled
|
||||
#- name: Injector
|
||||
- id: EpinephrineMedipen
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: box
|
||||
@@ -102,8 +102,8 @@
|
||||
- type: Item
|
||||
size: 15
|
||||
- type: Storage
|
||||
capacity: 15
|
||||
size: 15
|
||||
capacity: 20
|
||||
size: 25
|
||||
|
||||
- type: entity
|
||||
name: box of hugs
|
||||
|
||||
@@ -6,3 +6,5 @@
|
||||
startingInventory:
|
||||
Brutepack: 5
|
||||
Ointment: 5
|
||||
EpinephrineChemistryBottle: 3
|
||||
Syringe: 5
|
||||
|
||||
@@ -5,3 +5,5 @@
|
||||
startingInventory:
|
||||
Brutepack: 5
|
||||
Ointment: 5
|
||||
EpinephrineChemistryBottle: 3
|
||||
Syringe: 5
|
||||
|
||||
@@ -18,3 +18,48 @@
|
||||
- type: ExaminableSolution
|
||||
solution: hypospray
|
||||
- type: Hypospray
|
||||
|
||||
- type: entity
|
||||
name: chemical medipen
|
||||
parent: BaseItem
|
||||
description: A sterile injector for rapid administration of drugs to patients. This one can't be refilled.
|
||||
id: ChemicalMedipen
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Medical/medipen.rsi
|
||||
netsync: false
|
||||
layers:
|
||||
- state: medipen
|
||||
map: ["enum.SolutionContainerLayers.Fill"]
|
||||
- type: Item
|
||||
sprite: Objects/Specific/Medical/medipen.rsi
|
||||
size: 5
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
pen:
|
||||
maxVol: 15
|
||||
- type: ExaminableSolution
|
||||
solution: pen
|
||||
- type: Hypospray
|
||||
solutionName: pen
|
||||
transferAmount: 15
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: SolutionContainerVisualizer
|
||||
maxFillLevels: 1
|
||||
changeColor: false
|
||||
emptySpriteName: medipen_empty
|
||||
|
||||
- type: entity
|
||||
name: epinephrine medipen
|
||||
parent: ChemicalMedipen
|
||||
id: EpinephrineMedipen
|
||||
description: A rapid and safe way to stabilize patients in critical condition for personnel without advanced medical knowledge. Beware, as it's easy to overdose on epinephrine.
|
||||
components:
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
pen:
|
||||
maxVol: 15
|
||||
reagents:
|
||||
- ReagentId: Epinephrine
|
||||
Quantity: 15
|
||||
|
||||
@@ -109,3 +109,17 @@
|
||||
- type: SolutionContainerVisualizer
|
||||
maxFillLevels: 6
|
||||
fillBaseName: bottle-4-
|
||||
|
||||
- type: entity
|
||||
id: EpinephrineChemistryBottle
|
||||
name: epinephrine bottle
|
||||
parent: BaseChemistryEmptyBottle
|
||||
components:
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
drink: # This solution name and target volume is hard-coded in ChemMasterComponent
|
||||
maxVol: 30
|
||||
reagents:
|
||||
- ReagentId: Epinephrine
|
||||
Quantity: 30
|
||||
|
||||
|
||||
17
Resources/Prototypes/Reagents/chemicals.yml
Normal file
17
Resources/Prototypes/Reagents/chemicals.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -112,9 +112,9 @@
|
||||
damage:
|
||||
types:
|
||||
Poison: 3
|
||||
- !type:RemoveReagent
|
||||
- !type:AdjustReagent
|
||||
reagent: Inaprovaline
|
||||
amount: 2
|
||||
amount: -2.0
|
||||
reactiveEffects:
|
||||
Flammable:
|
||||
methods: [ Touch ]
|
||||
|
||||
@@ -18,6 +18,30 @@
|
||||
products:
|
||||
Diethylamine: 2
|
||||
|
||||
- type: reaction
|
||||
id: Phenol
|
||||
reactants:
|
||||
Water:
|
||||
amount: 1
|
||||
Chlorine:
|
||||
amount: 1
|
||||
Oil:
|
||||
amount: 1
|
||||
products:
|
||||
Phenol: 3
|
||||
|
||||
- type: reaction
|
||||
id: Acetone
|
||||
reactants:
|
||||
Oil:
|
||||
amount: 1
|
||||
WeldingFuel:
|
||||
amount: 1
|
||||
Oxygen:
|
||||
amount: 1
|
||||
products:
|
||||
Acetone: 2
|
||||
|
||||
- type: reaction
|
||||
id: FoamingAgent
|
||||
reactants:
|
||||
@@ -206,16 +230,6 @@
|
||||
products:
|
||||
UnstableMutagen: 3
|
||||
|
||||
- type: reaction
|
||||
id: Water
|
||||
reactants:
|
||||
Hydrogen:
|
||||
amount: 1
|
||||
Oxygen:
|
||||
amount: 1
|
||||
products:
|
||||
Water: 2
|
||||
|
||||
- type: reaction
|
||||
id: Oil
|
||||
reactants:
|
||||
|
||||
@@ -66,6 +66,24 @@
|
||||
products:
|
||||
Cryoxadone: 3
|
||||
|
||||
- type: reaction
|
||||
id: Epinephrine
|
||||
reactants:
|
||||
Phenol:
|
||||
amount: 1
|
||||
Acetone:
|
||||
amount: 1
|
||||
Diethylamine:
|
||||
amount: 1
|
||||
Oxygen:
|
||||
amount: 1
|
||||
Chlorine:
|
||||
amount: 1
|
||||
Hydrogen:
|
||||
amount: 1
|
||||
products:
|
||||
Epinephrine: 6
|
||||
|
||||
- type: reaction
|
||||
id: Clonexadone
|
||||
reactants:
|
||||
|
||||
Reference in New Issue
Block a user