Skip to content

Commit 623a7f9

Browse files
committed
adds jet reaction and inhaler crafting
1 parent 20ebfc7 commit 623a7f9

File tree

3 files changed

+57
-4
lines changed

3 files changed

+57
-4
lines changed

Resources/Prototypes/Nuclear14/Entities/Objects/Specific/Medical/chemicals.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,12 @@
111111
reagents:
112112
- ReagentId: Antidote
113113
Quantity: 15
114-
114+
115115
- type: entity
116116
parent: N14ChemicalSyringe
117-
id: N14Jet
118-
name: Jet
117+
id: N14JetInhaler
118+
suffix: empty
119+
name: Jet inhaler
119120
description: A rare injector filled with a narcotic reagent, that makes you feel as though you're speeding up. It's weaker, and lasts longer than Turbo.
120121
components:
121122
- type: Sprite
@@ -129,13 +130,27 @@
129130
- type: Hypospray
130131
solutionName: pen
131132
transferAmount: 18
133+
- type: Construction # N14:TODO: Probably move this to lathe
134+
graph: N14JetInhaler
135+
node: jet
136+
137+
- type: entity
138+
parent: N14ChemicalSyringe
139+
id: N14Jet
140+
suffix: filled
141+
name: Jet
142+
description: A rare injector filled with a narcotic reagent, that makes you feel as though you're speeding up. It's weaker, and lasts longer than Turbo.
143+
components:
132144
- type: SolutionContainerManager
133145
solutions:
134146
pen:
135147
maxVol: 18
136148
reagents:
137149
- ReagentId: MovespeedMixture
138150
Quantity: 18
151+
- type: Construction
152+
graph: N14Jet
153+
node: jet
139154

140155
- type: entity
141156
parent: N14ChemicalSyringe

Resources/Prototypes/Nuclear14/Recipes/Crafting/Medical/medical.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,32 @@
6666
doAfter: 1
6767

6868
- node: stimpak
69-
entity: N14Stimpak
69+
entity: N14Stimpak
70+
71+
# Jet
72+
- type: construction
73+
name: jet inhaler
74+
id: N14JetInhaler
75+
graph: N14JetInhaler
76+
startNode: start
77+
targetNode: jet
78+
category: construction-category-medical
79+
description: A jet inhaler. Smells like farts, speeds things up.
80+
hide: false
81+
icon:
82+
sprite: Nuclear14/Objects/Specific/Medical/drugs.rsi
83+
state: jet
84+
objectType: Item
85+
86+
- type: constructionGraph
87+
id: N14JetInhaler
88+
start: start
89+
graph:
90+
- node: start
91+
edges:
92+
- to: jet
93+
steps:
94+
- material: Plastic
95+
96+
- node: jet
97+
entity: N14JetInhaler

Resources/Prototypes/Nuclear14/Recipes/Reactions/medicine.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
products:
99
AntidoteMixture: 2
1010

11+
- type: reaction
12+
id: Jet
13+
reactants:
14+
Ammonia:
15+
amount: 1
16+
ExtractXander: # N14:TODO: This will do for now till we figure out a catalyst...
17+
amount: 1
18+
products:
19+
MovespeedMixture: 2
20+
1121
- type: reaction
1222
id: Stimpak
1323
reactants:

0 commit comments

Comments
 (0)