forked from SumZer0-git/EDAPGui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEDAP_data.py
More file actions
400 lines (387 loc) · 24.5 KB
/
EDAP_data.py
File metadata and controls
400 lines (387 loc) · 24.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
"""
Static data.
For easy reference any variable should be prefixed with the name of the file it
was either in originally, or where the primary code utilising it is.
Note: Some of this file comes from EDMarketConnector's edmc_data.py file
(https://github.com/EDCD/EDMarketConnector/blob/main/edmc_data.py).
"""
# Status.json / Dashboard Flags constants
FlagsDocked = 1 << 0 # on a landing pad in space or planet
FlagsLanded = 1 << 1 # on planet surface (not planet landing pad)
FlagsLandingGearDown = 1 << 2
FlagsShieldsUp = 1 << 3
FlagsSupercruise = 1 << 4 # While in super-cruise
FlagsFlightAssistOff = 1 << 5
FlagsHardpointsDeployed = 1 << 6
FlagsInWing = 1 << 7
FlagsLightsOn = 1 << 8
FlagsCargoScoopDeployed = 1 << 9
FlagsSilentRunning = 1 << 10
FlagsScoopingFuel = 1 << 11
FlagsSrvHandbrake = 1 << 12
FlagsSrvTurret = 1 << 13 # using turret view
FlagsSrvUnderShip = 1 << 14 # turret retracted
FlagsSrvDriveAssist = 1 << 15
FlagsFsdMassLocked = 1 << 16
FlagsFsdCharging = 1 << 17 # While charging and jumping for super-cruise or system jump
FlagsFsdCooldown = 1 << 18 # Following super-cruise or jump
FlagsLowFuel = 1 << 19 # < 25%
FlagsOverHeating = 1 << 20 # > 100%, or is this 80% now ?
FlagsHasLatLong = 1 << 21 # On when altimeter is visible (either OC/DRP mode or 2Km/SURF mode).
FlagsIsInDanger = 1 << 22
FlagsBeingInterdicted = 1 << 23
FlagsInMainShip = 1 << 24
FlagsInFighter = 1 << 25
FlagsInSRV = 1 << 26
FlagsAnalysisMode = 1 << 27 # Hud in Analysis mode
FlagsNightVision = 1 << 28
FlagsAverageAltitude = 1 << 29 # Altitude from Average radius. On when altimeter shows OC/DRP, Off if altimeter is not shown or showing 2Km/SURF.
FlagsFsdJump = 1 << 30 # While jumping to super-cruise or system jump. See also Flags2FsdHyperdriveCharging.
FlagsSrvHighBeam = 1 << 31
# Status.json / Dashboard Flags2 constants
Flags2OnFoot = 1 << 0
Flags2InTaxi = 1 << 1 # (or dropship/shuttle)
Flags2InMulticrew = 1 << 2 # (ie in someone else’s ship)
Flags2OnFootInStation = 1 << 3
Flags2OnFootOnPlanet = 1 << 4
Flags2AimDownSight = 1 << 5
Flags2LowOxygen = 1 << 6
Flags2LowHealth = 1 << 7
Flags2Cold = 1 << 8
Flags2Hot = 1 << 9
Flags2VeryCold = 1 << 10
Flags2VeryHot = 1 << 11
Flags2GlideMode = 1 << 12
Flags2OnFootInHangar = 1 << 13
Flags2OnFootSocialSpace = 1 << 14
Flags2OnFootExterior = 1 << 15
Flags2BreathableAtmosphere = 1 << 16
Flags2TelepresenceMulticrew = 1 << 17
Flags2PhysicalMulticrew = 1 << 18
Flags2FsdHyperdriveCharging = 1 << 19 # While charging and jumping for system jump
Flags2FsdScoActive = 1 << 20
Flags2Future21 = 1 << 21
Flags2Future22 = 1 << 22
Flags2Future23 = 1 << 23
Flags2Future24 = 1 << 24
Flags2Future25 = 1 << 25
Flags2Future26 = 1 << 26
Flags2Future27 = 1 << 27
Flags2Future28 = 1 << 28
Flags2Future29 = 1 << 29
Flags2Future30 = 1 << 30
Flags2Future31 = 1 << 31
# Status.json Dashboard GuiFocus constants
GuiFocusNoFocus = 0 # ship view
GuiFocusInternalPanel = 1 # right hand side
GuiFocusExternalPanel = 2 # left hand (nav) panel
GuiFocusCommsPanel = 3 # top
GuiFocusRolePanel = 4 # bottom
GuiFocusStationServices = 5
GuiFocusGalaxyMap = 6
GuiFocusSystemMap = 7
GuiFocusOrrery = 8
GuiFocusFSS = 9
GuiFocusSAA = 10
GuiFocusCodex = 11
# Journal.log Ship Name constants
ship_name_map = {
'adder': 'Adder',
'anaconda': 'Anaconda',
'asp': 'Asp Explorer',
'asp_scout': 'Asp Scout',
'belugaliner': 'Beluga Liner',
'cobramkiii': 'Cobra Mk III',
'cobramkiv': 'Cobra Mk IV',
'cobramkv': 'Cobra Mk V',
'corsair': 'Corsair',
'clipper': 'Panther Clipper',
'cutter': 'Imperial Cutter',
'diamondback': 'Diamondback Scout',
'diamondbackxl': 'Diamondback Explorer',
'dolphin': 'Dolphin',
'eagle': 'Eagle',
'empire_courier': 'Imperial Courier',
'empire_eagle': 'Imperial Eagle',
'empire_fighter': 'Imperial Fighter',
'empire_trader': 'Imperial Clipper',
'federation_corvette': 'Federal Corvette',
'federation_dropship': 'Federal Dropship',
'federation_dropship_mkii': 'Federal Assault Ship',
'federation_gunship': 'Federal Gunship',
'federation_fighter': 'F63 Condor',
'ferdelance': 'Fer-de-Lance',
'hauler': 'Hauler',
'independant_trader': 'Keelback',
'independent_fighter': 'Taipan Fighter',
'krait_mkii': 'Krait Mk II',
'krait_light': 'Krait Phantom',
'lakonminer': 'Type-11 Prospector',
'mamba': 'Mamba',
'mandalay': 'Mandalay',
'orca': 'Orca',
'panthermkii': 'Panther Clipper Mk II',
'python': 'Python',
'python_nx': 'Python Mk II',
'scout': 'Taipan Fighter',
'sidewinder': 'Sidewinder',
'testbuggy': 'Scarab',
'type6': 'Type-6 Transporter',
'type7': 'Type-7 Transporter',
'type8': 'Type-8 Transporter',
'type9': 'Type-9 Heavy',
'type9_military': 'Type-10 Defender',
'typex': 'Alliance Chieftain',
'typex_2': 'Alliance Crusader',
'typex_3': 'Alliance Challenger',
'viper': 'Viper Mk III',
'viper_mkiv': 'Viper Mk IV',
'vulture': 'Vulture',
}
# Journal.log Ship Name to size constants
ship_size_map = {
'adder': 'S',
'anaconda': 'L',
'asp': 'M',
'asp_scout': 'M',
'belugaliner': 'L',
'cobramkiii': 'S',
'cobramkiv': 'S',
'cobramkv': 'S',
'corsair': 'M',
'clipper': '',
'cutter': 'L',
'diamondback': 'S',
'diamondbackxl': 'S',
'dolphin': 'S',
'eagle': 'S',
'empire_courier': 'S',
'empire_eagle': 'S',
'empire_fighter': '',
'empire_trader': 'L',
'federation_corvette': 'L',
'federation_dropship': 'M',
'federation_dropship_mkii': 'M',
'federation_gunship': 'M',
'federation_fighter': '',
'ferdelance': 'M',
'hauler': 'S',
'independant_trader': 'M',
'independent_fighter': '',
'krait_mkii': 'M',
'krait_light': 'M',
'lakonminer': 'M',
'mamba': 'M',
'mandalay': 'M',
'orca': 'L',
'panthermkii': 'L',
'python': 'M',
'python_nx': 'M',
'scout': '',
'sidewinder': 'S',
'testbuggy': '',
'type6': 'M',
'type7': 'L',
'type8': 'L',
'type9': 'L',
'type9_military': 'L',
'typex': 'M',
'typex_2': 'M',
'typex_3': 'M',
'viper': 'S',
'viper_mkiv': 'S',
'vulture': 'S',
}
# Ship default RPY rates in deg/sec at 50% Supercruise throttle
# Default data comes from 'marx': https://forums.frontier.co.uk/threads/supercruise-handling-of-ships.396845/
ship_rpy_sc_50 = {
'adder': {'PitchRate': 30.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'anaconda': {'PitchRate': 14.0, 'RollRate': 40.0, 'YawRate': 6.0, 'SunPitchUp+Time': 0.0},
'asp': {'PitchRate': 30.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'asp_scout': {'PitchRate': 36.0, 'RollRate': 120.0, 'YawRate': 15.0, 'SunPitchUp+Time': 0.0},
'belugaliner': {'PitchRate': 19.0, 'RollRate': 60.0, 'YawRate': 17.0, 'SunPitchUp+Time': 0.0},
'cobramkiii': {'PitchRate': 36.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'cobramkiv': {'PitchRate': 24.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'cobramkv': {'PitchRate': 37.0, 'RollRate': 110.0, 'YawRate': 22.0, 'SunPitchUp+Time': -0.25},
'corsair': {'PitchRate': 21.0, 'RollRate': 80.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'cutter': {'PitchRate': 14.0, 'RollRate': 45.0, 'YawRate': 8.0, 'SunPitchUp+Time': 1.0},
'diamondback': {'PitchRate': 36.0, 'RollRate': 90.0, 'YawRate': 15.0, 'SunPitchUp+Time': 0.0},
'diamondbackxl': {'PitchRate': 26.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'dolphin': {'PitchRate': 28.0, 'RollRate': 90.0, 'YawRate': 19.0, 'SunPitchUp+Time': 0.0},
'eagle': {'PitchRate': 33.0, 'RollRate': 120.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'empire_courier': {'PitchRate': 30.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'empire_eagle': {'PitchRate': 30.0, 'RollRate': 90.0, 'YawRate': 15.0, 'SunPitchUp+Time': 0.0},
'empire_trader': {'PitchRate': 28.0, 'RollRate': 72.0, 'YawRate': 18.0, 'SunPitchUp+Time': 0.0},
'federation_corvette': {'PitchRate': 21.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'federation_dropship': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 14.0, 'SunPitchUp+Time': 0.0},
'federation_dropship_mkii': {'PitchRate': 30.0, 'RollRate': 90.0, 'YawRate': 18.0, 'SunPitchUp+Time': 0.0},
'federation_gunship': {'PitchRate': 19.0, 'RollRate': 60.0, 'YawRate': 18.0, 'SunPitchUp+Time': 0.0},
'ferdelance': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'hauler': {'PitchRate': 33.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'independant_trader': {'PitchRate': 26.0, 'RollRate': 90.0, 'YawRate': 11.0, 'SunPitchUp+Time': 0.0},
'krait_mkii': {'PitchRate': 23.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'krait_light': {'PitchRate': 23.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'lakonminer': {'PitchRate': 18.0, 'RollRate': 60.0, 'YawRate': 18.0, 'SunPitchUp+Time': 0.0},
'mamba': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'mandalay': {'PitchRate': 40.0, 'RollRate': 120.0, 'YawRate': 24.0, 'SunPitchUp+Time': -1.0},
'orca': {'PitchRate': 20.0, 'RollRate': 60.0, 'YawRate': 18.0, 'SunPitchUp+Time': 0.0},
'panthermkii': {'PitchRate': 16.0, 'RollRate': 25.0, 'YawRate': 10.0, 'SunPitchUp+Time': 1.0},
'python': {'PitchRate': 23.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'python_nx': {'PitchRate': 22.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'sidewinder': {'PitchRate': 40.0, 'RollRate': 120.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'type6': {'PitchRate': 26.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'type7': {'PitchRate': 17.0, 'RollRate': 60.0, 'YawRate': 18.0, 'SunPitchUp+Time': 0.0},
'type8': {'PitchRate': 16.0, 'RollRate': 60.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'type9': {'PitchRate': 12.0, 'RollRate': 18.0, 'YawRate': 6.0, 'SunPitchUp+Time': 1.0},
'type9_military': {'PitchRate': 12.0, 'RollRate': 17.0, 'YawRate': 5.0, 'SunPitchUp+Time': 0.0},
'typex': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 14.0, 'SunPitchUp+Time': 0.0},
'typex_2': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 13.0, 'SunPitchUp+Time': 0.0},
'typex_3': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 14.0, 'SunPitchUp+Time': 0.0},
'viper': {'PitchRate': 30.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'viper_mkiv': {'PitchRate': 26.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'vulture': {'PitchRate': 33.0, 'RollRate': 90.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0}
}
# Ship default RPY rates in deg/sec at 100% Supercruise throttle
# Default data comes from 'marx': https://forums.frontier.co.uk/threads/supercruise-handling-of-ships.396845/
ship_rpy_sc_100 = {
'adder': {'PitchRate': 23.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'anaconda': {'PitchRate': 9.0, 'RollRate': 36.0, 'YawRate': 3.0, 'SunPitchUp+Time': 0.0},
'asp': {'PitchRate': 23.0, 'RollRate': 72.0, 'YawRate': 5.0, 'SunPitchUp+Time': 0.0},
'asp_scout': {'PitchRate': 28.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'belugaliner': {'PitchRate': 13.0, 'RollRate': 45.0, 'YawRate': 15.0, 'SunPitchUp+Time': 0.0},
'cobramkiii': {'PitchRate': 26.0, 'RollRate': 72.0, 'YawRate': 5.0, 'SunPitchUp+Time': 0.0},
'cobramkiv': {'PitchRate': 16.0, 'RollRate': 90.0, 'YawRate': 7.0, 'SunPitchUp+Time': 0.0},
'cobramkv': {'PitchRate': 37.0, 'RollRate': 110.0, 'YawRate': 22.0, 'SunPitchUp+Time': -0.25},
'corsair': {'PitchRate': 21.0, 'RollRate': 80.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'cutter': {'PitchRate': 9.0, 'RollRate': 40.0, 'YawRate': 5.0, 'SunPitchUp+Time': 1.0},
'diamondback': {'PitchRate': 23.0, 'RollRate': 90.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'diamondbackxl': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'dolphin': {'PitchRate': 19.0, 'RollRate': 72.0, 'YawRate': 13.0, 'SunPitchUp+Time': 0.0},
'eagle': {'PitchRate': 24.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'empire_courier': {'PitchRate': 24.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'empire_eagle': {'PitchRate': 23.0, 'RollRate': 72.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'empire_trader': {'PitchRate': 21.0, 'RollRate': 72.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'federation_corvette': {'PitchRate': 13.0, 'RollRate': 60.0, 'YawRate': 5.0, 'SunPitchUp+Time': 0.0},
'federation_dropship': {'PitchRate': 12.0, 'RollRate': 72.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'federation_dropship_mkii': {'PitchRate': 21.0, 'RollRate': 72.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'federation_gunship': {'PitchRate': 12.0, 'RollRate': 72.0, 'YawRate': 11.0, 'SunPitchUp+Time': 0.0},
'ferdelance': {'PitchRate': 12.0, 'RollRate': 60.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'hauler': {'PitchRate': 23.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'independant_trader': {'PitchRate': 16.0, 'RollRate': 90.0, 'YawRate': 7.0, 'SunPitchUp+Time': 0.0},
'krait_mkii': {'PitchRate': 13.0, 'RollRate': 72.0, 'YawRate': 6.0, 'SunPitchUp+Time': 0.0},
'krait_light': {'PitchRate': 14.0, 'RollRate': 72.0, 'YawRate': 6.0, 'SunPitchUp+Time': 0.0},
'lakonminer': {'PitchRate': 10.9, 'RollRate': 48.0, 'YawRate': 10.9, 'SunPitchUp+Time': 0.0},
'mamba': {'PitchRate': 13.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'mandalay': {'PitchRate': 24.0, 'RollRate': 90.0, 'YawRate': 16.0, 'SunPitchUp+Time': -1.0},
'orca': {'PitchRate': 14.0, 'RollRate': 51.0, 'YawRate': 12.0, 'SunPitchUp+Time': 0.0},
'panthermkii': {'PitchRate': 9.7, 'RollRate': 20.0, 'YawRate': 6.0, 'SunPitchUp+Time': 1.0},
'python': {'PitchRate': 14.0, 'RollRate': 72.0, 'YawRate': 6.0, 'SunPitchUp+Time': 0.0},
'python_nx': {'PitchRate': 22.0, 'RollRate': 90.0, 'YawRate': 10.0, 'SunPitchUp+Time': 0.0},
'sidewinder': {'PitchRate': 28.0, 'RollRate': 90.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'type6': {'PitchRate': 16.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'type7': {'PitchRate': 11.0, 'RollRate': 45.0, 'YawRate': 11.0, 'SunPitchUp+Time': 0.0},
'type8': {'PitchRate': 16.0, 'RollRate': 60.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'type9': {'PitchRate': 7.0, 'RollRate': 15.0, 'YawRate': 3.0, 'SunPitchUp+Time': 1.0},
'type9_military': {'PitchRate': 8.0, 'RollRate': 15.0, 'YawRate': 4.0, 'SunPitchUp+Time': 0.0},
'typex': {'PitchRate': 13.0, 'RollRate': 60.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'typex_2': {'PitchRate': 13.0, 'RollRate': 72.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'typex_3': {'PitchRate': 12.0, 'RollRate': 60.0, 'YawRate': 9.0, 'SunPitchUp+Time': 0.0},
'viper': {'PitchRate': 20.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'viper_mkiv': {'PitchRate': 16.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0},
'vulture': {'PitchRate': 24.0, 'RollRate': 72.0, 'YawRate': 8.0, 'SunPitchUp+Time': 0.0}
}
commodities = {
"Chemicals": [
"Agronomic Treatment", "Explosives", "Hydrogen Fuel", "Hydrogen Peroxide", "Liquid Oxygen",
"Mineral Oil", "Nerve Agents", "Pesticides", "Rockforth Fertiliser", "Surface Stabilisers",
"Synthetic Reagents", "Tritium", "Water"
],
"Consumer Items": [
"Clothing", "Consumer Technology", "Domestic Appliances", "Evacuation Shelter", "Survival Equipment"
],
"Foods": [
"Algae", "Animal Meat", "Coffee", "Fish", "Food Cartridges", "Fruit and Vegetables",
"Grain", "Synthetic Meat", "Tea"
],
"Industrial Materials": [
"Ceramic Composites", "CMM Composite", "Insulating Membrane", "Meta-Alloys",
"Micro-Weave Cooling Hoses", "Neofabric Insulation", "Polymers", "Semiconductors", "Superconductors"
],
"Legal Drugs": [
"Beer", "Bootleg Liquor", "Liquor", "Narcotics", "Onionhead Gamma Strain", "Tobacco", "Wine"
],
"Machinery": [
"Articulation Motors", "Atmospheric Processors", "Building Fabricators", "Crop Harvesters",
"Emergency Power Cells", "Energy Grid Assembly", "Exhaust Manifold", "Geological Equipment",
"Heatsink Interlink", "HN Shock Mount", "Magnetic Emitter Coil", "Marine Equipment",
"Microbial Furnaces", "Mineral Extractors", "Modular Terminals", "Power Converter",
"Power Generators", "Power Transfer Bus", "Radiation Baffle", "Reinforced Mounting Plate",
"Skimmer Components", "Thermal Cooling Units", "Water Purifiers"
],
"Medicines": [
"Advanced Medicines", "Agri-Medicines", "Basic Medicines", "Combat Stabilisers",
"Performance Enhancers", "Progenitor Cells"
],
"Metals": [
"Aluminium", "Beryllium", "Bismuth", "Cobalt", "Copper", "Gallium", "Gold", "Hafnium 178",
"Indium", "Lanthanum", "Lithium", "Osmium", "Palladium", "Platinum", "Platinum Alloy",
"Praseodymium", "Samarium", "Silver", "Steel", "Tantalum", "Thallium", "Thorium",
"Titanium", "Uranium"
],
"Minerals": [
"Alexandrite", "Bauxite", "Benitoite", "Bertrandite", "Bromellite", "Coltan", "Cryolite",
"Gallite", "Goslarite", "Grandidierite", "Indite", "Jadeite", "Lepidolite", "Lithium Hydroxide",
"Low Temperature Diamonds", "Methane Clathrate", "Methanol Monohydrate Crystals", "Moissanite",
"Monazite", "Musgravite", "Painite", "Pyrophyllite", "Rhodplumsite", "Rutile", "Serendibite",
"Taaffeite", "Uraninite", "Void Opals"
],
"Salvage": [
"AI Relics", "Ancient Artefact", "Ancient Key", "Anomaly Particles", "Antimatter Containment Unit",
"Antique Jewellery", "Antiquities", "Assault Plans", "Black Box", "Commercial Samples",
"Damaged Escape Pod", "Data Core", "Diplomatic Bag", "Earth Relics", "Encrypted Correspondence",
"Encrypted Data Storage", "Experimental Chemicals", "Fossil Remnants", "Gene Bank",
"Geological Samples", "Guardian Casket", "Guardian Orb", "Guardian Relic", "Guardian Tablet",
"Guardian Totem", "Guardian Urn", "Hostage", "Large Survey Data Cache", "Military Intelligence",
"Military Plans", "Mollusc Brain Tissue", "Mollusc Fluid", "Mollusc Membrane", "Mollusc Mycelium",
"Mollusc Soft Tissue", "Mollusc Spores", "Mysterious Idol", "Occupied Escape Pod", "Personal Effects",
"Pod Core Tissue", "Pod Dead Tissue", "Pod Mesoglea", "Pod Outer Tissue", "Pod Shell Tissue",
"Pod Surface Tissue", "Pod Tissue", "Political Prisoner", "Precious Gems",
"Prohibited Research Materials", "Prototype Tech", "Rare Artwork", "Rebel Transmissions",
"SAP 8 Core Container", "Scientific Research", "Scientific Samples", "Small Survey Data Cache",
"Space Pioneer Relics", "Tactical Data", "Technical Blueprints", "Thargoid Basilisk Tissue Sample",
"Thargoid Biological Matter", "Thargoid Bio-Storage Capsule", "Thargoid Cyclops Tissue Sample",
"Thargoid Glaive Tissue Sample", "Thargoid Heart", "Thargoid Hydra Tissue Sample", "Thargoid Link",
"Thargoid Orthrus Tissue Sample", "Thargoid Probe", "Thargoid Resin", "Thargoid Sensor",
"Thargoid Medusa Tissue Sample", "Thargoid Scout Tissue Sample", "Thargoid Technology Samples",
"Time Capsule", "Titan Deep Tissue Sample", "Titan Maw Deep Tissue Sample",
"Titan Maw Partial Tissue Sample", "Titan Maw Tissue Sample", "Titan Partial Tissue Sample",
"Titan Tissue Sample", "Trade Data", "Trinkets of Hidden Fortune", "Unclassified Relic",
"Unoccupied Escape Pod", "Unstable Data Core", "Wreckage Components"
],
"Slavery": [
"Imperial Slaves", "Slaves"
],
"Technology": [
"Advanced Catalysers", "Animal Monitors", "Aquaponic Systems", "Auto Fabricators",
"Bioreducing Lichen", "Computer Components", "H.E. Suits", "Hardware Diagnostic Sensor",
"Ion Distributor", "Land Enrichment Systems", "Medical Diagnostic Equipment", "Micro Controllers",
"Muon Imager", "Nanobreakers", "Resonating Separators", "Robotics", "Structural Regulators",
"Telemetry Suite"
],
"Textiles": [
"Conductive Fabrics", "Leather", "Military Grade Fabrics", "Natural Fabrics", "Synthetic Fabrics"
],
"Waste": [
"Biowaste", "Chemical Waste", "Scrap", "Toxic Waste"
],
"Weapons": [
"Battle Weapons", "Landmines", "Non Lethal Weapons", "Personal Weapons", "Reactive Armour"
]
}
def sorted_commodities() -> list[str]:
""" Gets a sorted list of all commodities. """
result = []
for val in commodities.values():
result = result + val
result.sort()
return result