@skullandbonestools/snbdata 5.0.17 → 5.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,155 +1,193 @@
1
1
  {
2
2
  "lambaCloth": {
3
3
  "rarity": "rare",
4
- "category": "localFaction"
4
+ "category": "localFaction",
5
+ "faction": "seaPeople"
5
6
  },
6
7
  "uncutGarnet": {
7
8
  "rarity": "epic",
8
- "category": "localFaction"
9
+ "category": "localFaction",
10
+ "faction": "seaPeople"
9
11
  },
10
12
  "fineSeaPeopleRelic": {
11
13
  "rarity": "epic",
12
- "category": "localFaction"
14
+ "category": "localFaction",
15
+ "faction": "seaPeople"
13
16
  },
14
17
  "capitalSeaPeopleRelic": {
15
18
  "rarity": "legendary",
16
- "category": "localFaction"
19
+ "category": "localFaction",
20
+ "faction": "seaPeople"
17
21
  },
18
22
  "cloves": {
19
23
  "rarity": "common",
20
- "category": "localFaction"
24
+ "category": "localFaction",
25
+ "faction": "clanOfFara"
21
26
  },
22
27
  "frankincense": {
23
28
  "rarity": "uncommon",
24
- "category": "localFaction"
29
+ "category": "localFaction",
30
+ "faction": "clanOfFara"
25
31
  },
26
32
  "uncutSapphire": {
27
33
  "rarity": "epic",
28
- "category": "localFaction"
34
+ "category": "localFaction",
35
+ "faction": "clanOfFara"
29
36
  },
30
37
  "fineFaraRelic": {
31
38
  "rarity": "epic",
32
- "category": "localFaction"
39
+ "category": "localFaction",
40
+ "faction": "clanOfFara"
33
41
  },
34
42
  "capitalFaraRelic": {
35
43
  "rarity": "legendary",
36
- "category": "localFaction"
44
+ "category": "localFaction",
45
+ "faction": "clanOfFara"
37
46
  },
38
47
  "snuff": {
39
48
  "rarity": "uncommon",
40
- "category": "localFaction"
49
+ "category": "localFaction",
50
+ "faction": "confederationOfUngwana"
41
51
  },
42
52
  "ivory": {
43
53
  "rarity": "rare",
44
- "category": "localFaction"
54
+ "category": "localFaction",
55
+ "faction": "confederationOfUngwana"
45
56
  },
46
57
  "uncutDiamond": {
47
58
  "rarity": "epic",
48
- "category": "localFaction"
59
+ "category": "localFaction",
60
+ "faction": "confederationOfUngwana"
49
61
  },
50
62
  "fineUngwanaRelic": {
51
63
  "rarity": "epic",
52
- "category": "localFaction"
64
+ "category": "localFaction",
65
+ "faction": "confederationOfUngwana"
53
66
  },
54
67
  "capitalUngwanaRelic": {
55
68
  "rarity": "legendary",
56
- "category": "localFaction"
69
+ "category": "localFaction",
70
+ "faction": "confederationOfUngwana"
57
71
  },
58
72
  "spice": {
59
73
  "rarity": "common",
60
- "category": "localFaction"
74
+ "category": "localFaction",
75
+ "faction": "dominionOfRempah"
61
76
  },
62
77
  "batik": {
63
78
  "rarity": "rare",
64
- "category": "localFaction"
79
+ "category": "localFaction",
80
+ "faction": "dominionOfRempah"
65
81
  },
66
82
  "uncutRuby": {
67
83
  "rarity": "epic",
68
- "category": "localFaction"
84
+ "category": "localFaction",
85
+ "faction": "dominionOfRempah"
69
86
  },
70
87
  "fineRempahRelic": {
71
88
  "rarity": "epic",
72
- "category": "localFaction"
89
+ "category": "localFaction",
90
+ "faction": "dominionOfRempah"
73
91
  },
74
92
  "capitalRempahRelic": {
75
93
  "rarity": "legendary",
76
- "category": "localFaction"
94
+ "category": "localFaction",
95
+ "faction": "dominionOfRempah"
77
96
  },
78
97
  "ale": {
79
98
  "rarity": "common",
80
- "category": "megacorp"
99
+ "category": "megacorp",
100
+ "faction": "compagnieRoyale"
81
101
  },
82
102
  "tobacco": {
83
103
  "rarity": "uncommon",
84
- "category": "megacorp"
104
+ "category": "megacorp",
105
+ "faction": "compagnieRoyale"
85
106
  },
86
107
  "ambergris": {
87
108
  "rarity": "uncommon",
88
- "category": "megacorp"
109
+ "category": "megacorp",
110
+ "faction": "compagnieRoyale"
89
111
  },
90
112
  "vanilla": {
91
113
  "rarity": "uncommon",
92
- "category": "megacorp"
114
+ "category": "megacorp",
115
+ "faction": "compagnieRoyale"
93
116
  },
94
117
  "wine": {
95
118
  "rarity": "uncommon",
96
- "category": "megacorp"
119
+ "category": "megacorp",
120
+ "faction": "compagnieRoyale"
97
121
  },
98
122
  "brandy": {
99
123
  "rarity": "uncommon",
100
- "category": "megacorp"
124
+ "category": "megacorp",
125
+ "faction": "compagnieRoyale"
101
126
  },
102
127
  "ornatePistols": {
103
128
  "rarity": "epic",
104
- "category": "megacorp"
129
+ "category": "megacorp",
130
+ "faction": "compagnieRoyale"
105
131
  },
106
132
  "militaryCompagnieRelic": {
107
133
  "rarity": "epic",
108
- "category": "megacorp"
134
+ "category": "megacorp",
135
+ "faction": "compagnieRoyale"
109
136
  },
110
137
  "fineCompagnieRelic": {
111
138
  "rarity": "epic",
112
- "category": "megacorp"
139
+ "category": "megacorp",
140
+ "faction": "compagnieRoyale"
113
141
  },
114
142
  "basicCompagnieRelic": {
115
143
  "rarity": "epic",
116
- "category": "megacorp"
144
+ "category": "megacorp",
145
+ "faction": "compagnieRoyale"
117
146
  },
118
147
  "capitalCompagnieRelic": {
119
148
  "rarity": "legendary",
120
- "category": "megacorp"
149
+ "category": "megacorp",
150
+ "faction": "compagnieRoyale"
121
151
  },
122
152
  "nutmeg": {
123
153
  "rarity": "common",
124
- "category": "megacorp"
154
+ "category": "megacorp",
155
+ "faction": "dutchMerchantCompany"
125
156
  },
126
157
  "cacao": {
127
158
  "rarity": "uncommon",
128
- "category": "megacorp"
159
+ "category": "megacorp",
160
+ "faction": "dutchMerchantCompany"
129
161
  },
130
162
  "camphor": {
131
163
  "rarity": "uncommon",
132
- "category": "megacorp"
164
+ "category": "megacorp",
165
+ "faction": "dutchMerchantCompany"
133
166
  },
134
167
  "gin": {
135
168
  "rarity": "uncommon",
136
- "category": "megacorp"
169
+ "category": "megacorp",
170
+ "faction": "dutchMerchantCompany"
137
171
  },
138
172
  "painting": {
139
173
  "rarity": "epic",
140
- "category": "megacorp"
174
+ "category": "megacorp",
175
+ "faction": "dutchMerchantCompany"
141
176
  },
142
177
  "militaryDmcRelic": {
143
178
  "rarity": "epic",
144
- "category": "megacorp"
179
+ "category": "megacorp",
180
+ "faction": "dutchMerchantCompany"
145
181
  },
146
182
  "fineDmcRelic": {
147
183
  "rarity": "epic",
148
- "category": "megacorp"
184
+ "category": "megacorp",
185
+ "faction": "dutchMerchantCompany"
149
186
  },
150
187
  "capitalDmcRelic": {
151
188
  "rarity": "legendary",
152
- "category": "megacorp"
189
+ "category": "megacorp",
190
+ "faction": "dutchMerchantCompany"
153
191
  },
154
192
  "rum": {
155
193
  "rarity": "uncommon",
@@ -177,78 +215,127 @@
177
215
  },
178
216
  "poppy": {
179
217
  "rarity": "rare",
180
- "category": "theHelm"
218
+ "category": "theHelm",
219
+ "faction": "theHelm"
181
220
  },
182
221
  "sugarCane": {
183
222
  "rarity": "rare",
184
- "category": "theHelm"
223
+ "category": "theHelm",
224
+ "faction": "theHelm"
185
225
  },
186
226
  "juniperBerries": {
187
227
  "rarity": "rare",
188
- "category": "theHelm"
228
+ "category": "theHelm",
229
+ "faction": "theHelm"
189
230
  },
190
231
  "tobaccoLeaves": {
191
232
  "rarity": "rare",
192
- "category": "theHelm"
233
+ "category": "theHelm",
234
+ "faction": "theHelm"
193
235
  },
194
236
  "rawImperialJade": {
195
237
  "rarity": "rare",
196
- "category": "theHelm"
238
+ "category": "theHelm",
239
+ "faction": "theHelm"
197
240
  },
198
241
  "blackSnuff": {
199
242
  "rarity": "epic",
200
- "category": "theHelm"
243
+ "category": "theHelm",
244
+ "faction": "theHelm"
201
245
  },
202
246
  "blueLotusOpium": {
203
247
  "rarity": "epic",
204
- "category": "theHelm"
248
+ "category": "theHelm",
249
+ "faction": "theHelm"
205
250
  },
206
251
  "whiteSkullRum": {
207
252
  "rarity": "epic",
208
- "category": "theHelm"
253
+ "category": "theHelm",
254
+ "faction": "theHelm"
209
255
  },
210
256
  "whiteSkullGin": {
211
257
  "rarity": "epic",
212
- "category": "theHelm"
258
+ "category": "theHelm",
259
+ "faction": "theHelm"
213
260
  },
214
261
  "imperialJade": {
215
262
  "rarity": "epic",
216
- "category": "theHelm"
263
+ "category": "theHelm",
264
+ "faction": "phoenixsTalon"
217
265
  },
218
266
  "copperBars": {
219
267
  "rarity": "epic",
220
- "category": "theHelm"
268
+ "category": "theHelm",
269
+ "faction": "theHelm"
221
270
  },
222
271
  "crystalizedTaintedWood": {
223
272
  "rarity": "epic",
224
- "category": "theHelm"
273
+ "category": "theHelm",
274
+ "faction": "shadowLegion"
225
275
  },
226
276
  "silverSnuff": {
227
277
  "rarity": "legendary",
228
- "category": "theHelm"
278
+ "category": "theHelm",
279
+ "faction": "theHelm"
229
280
  },
230
281
  "blackLotusOpium": {
231
282
  "rarity": "legendary",
232
- "category": "theHelm"
283
+ "category": "theHelm",
284
+ "faction": "theHelm"
233
285
  },
234
286
  "goldSkullRum": {
235
287
  "rarity": "legendary",
236
- "category": "theHelm"
288
+ "category": "theHelm",
289
+ "faction": "theHelm"
237
290
  },
238
291
  "goldSkullGin": {
239
292
  "rarity": "legendary",
240
- "category": "theHelm"
293
+ "category": "theHelm",
294
+ "faction": "theHelm"
241
295
  },
242
296
  "carvedImperialJade": {
243
297
  "rarity": "legendary",
244
- "category": "theHelm"
298
+ "category": "theHelm",
299
+ "faction": "theHelm"
245
300
  },
246
301
  "helmLeaseOpen": {
247
302
  "rarity": "legendary",
248
- "category": "theHelm"
303
+ "category": "theHelm",
304
+ "faction": "theHelm"
249
305
  },
250
306
  "sigilFlare": {
251
307
  "rarity": "epic",
252
- "category": "event"
308
+ "category": "summoningBell",
309
+ "event": "theHonorless"
310
+ },
311
+ "roseWater": {
312
+ "rarity": "epic",
313
+ "category": "event",
314
+ "event": "azureSolstice"
315
+ },
316
+ "soothingBalm": {
317
+ "rarity": "epic",
318
+ "category": "event",
319
+ "event": "azureSolstice"
320
+ },
321
+ "shipInABottle": {
322
+ "rarity": "epic",
323
+ "category": "event",
324
+ "event": "azureSolstice"
325
+ },
326
+ "luxuryDice": {
327
+ "rarity": "epic",
328
+ "category": "event",
329
+ "event": "azureSolstice"
330
+ },
331
+ "phoenixPouch": {
332
+ "rarity": "epic",
333
+ "category": "unique",
334
+ "faction": "phoenixsTalon"
335
+ },
336
+ "pulsingSchaduwRemnant": {
337
+ "rarity": "epic",
338
+ "category": "unique",
339
+ "faction": "shadowLegion"
253
340
  }
254
341
  }
@@ -0,0 +1,112 @@
1
+ {
2
+ "compagnieRoyale": {
3
+ "id": "compagnieRoyale",
4
+ "firstAppearingSeason": "release",
5
+ "dateAdded": "2025-05-23",
6
+ "lastUpdated": "2025-05-23"
7
+ },
8
+ "dutchMerchantCompany": {
9
+ "id": "dutchMerchantCompany",
10
+ "firstAppearingSeason": "release",
11
+ "dateAdded": "2025-05-23",
12
+ "lastUpdated": "2025-05-23"
13
+ },
14
+ "britishTradingAlliance": {
15
+ "id": "britishTradingAlliance",
16
+ "firstAppearingSeason": "release",
17
+ "dateAdded": "2025-05-23",
18
+ "lastUpdated": "2025-05-23"
19
+ },
20
+ "confederationOfUngwana": {
21
+ "id": "confederationOfUngwana",
22
+ "firstAppearingSeason": "release",
23
+ "dateAdded": "2025-05-23",
24
+ "lastUpdated": "2025-05-23"
25
+ },
26
+ "clanOfFara": {
27
+ "id": "clanOfFara",
28
+ "firstAppearingSeason": "release",
29
+ "dateAdded": "2025-05-23",
30
+ "lastUpdated": "2025-05-23"
31
+ },
32
+ "chorusFleet": {
33
+ "id": "chorusFleet",
34
+ "firstAppearingSeason": "chorusOfHavoc",
35
+ "dateAdded": "2025-05-23",
36
+ "lastUpdated": "2025-05-23"
37
+ },
38
+ "pirates": {
39
+ "id": "pirates",
40
+ "firstAppearingSeason": "release",
41
+ "dateAdded": "2025-05-23",
42
+ "lastUpdated": "2025-05-23"
43
+ },
44
+ "phoenixsTalon": {
45
+ "id": "phoenixsTalon",
46
+ "firstAppearingSeason": "intoTheDragonsWake",
47
+ "dateAdded": "2025-05-23",
48
+ "lastUpdated": "2025-05-23"
49
+ },
50
+ "dragonsClaw": {
51
+ "id": "dragonsClaw",
52
+ "firstAppearingSeason": "intoTheDragonsWake",
53
+ "dateAdded": "2025-05-23",
54
+ "lastUpdated": "2025-05-23"
55
+ },
56
+ "privateers": {
57
+ "id": "privateers",
58
+ "firstAppearingSeason": "release",
59
+ "dateAdded": "2025-05-23",
60
+ "lastUpdated": "2025-05-23"
61
+ },
62
+ "shadowLegion": {
63
+ "id": "shadowLegion",
64
+ "firstAppearingSeason": "shadowsOfTheDeep",
65
+ "dateAdded": "2025-05-23",
66
+ "lastUpdated": "2025-05-23"
67
+ },
68
+ "dominionOfRempah": {
69
+ "id": "dominionOfRempah",
70
+ "firstAppearingSeason": "release",
71
+ "dateAdded": "2025-05-23",
72
+ "lastUpdated": "2025-05-23"
73
+ },
74
+ "fleetOfPestilence": {
75
+ "id": "fleetOfPestilence",
76
+ "firstAppearingSeason": "ragingTides",
77
+ "dateAdded": "2025-05-23",
78
+ "lastUpdated": "2025-05-23"
79
+ },
80
+ "azureFleet": {
81
+ "id": "azureFleet",
82
+ "firstAppearingSeason": "shadowsOfTheDeep",
83
+ "event": "azureSolstice",
84
+ "dateAdded": "2025-05-23",
85
+ "lastUpdated": "2025-05-23"
86
+ },
87
+ "theUnhallowed": {
88
+ "id": "theUnhallowed",
89
+ "firstAppearingSeason": "intoTheDragonsWake",
90
+ "event": "requiemOfTheLost",
91
+ "dateAdded": "2025-05-23",
92
+ "lastUpdated": "2025-05-23"
93
+ },
94
+ "seaPeople": {
95
+ "id": "seaPeople",
96
+ "firstAppearingSeason": "release",
97
+ "dateAdded": "2025-05-23",
98
+ "lastUpdated": "2025-05-23"
99
+ },
100
+ "rogues": {
101
+ "id": "rogues",
102
+ "firstAppearingSeason": "release",
103
+ "dateAdded": "2025-05-23",
104
+ "lastUpdated": "2025-05-23"
105
+ },
106
+ "theHelm": {
107
+ "id": "theHelm",
108
+ "firstAppearingSeason": "release",
109
+ "dateAdded": "2025-05-23",
110
+ "lastUpdated": "2025-05-23"
111
+ }
112
+ }
package/data/items.json CHANGED
@@ -11018,6 +11018,16 @@
11018
11018
  "dateAdded": "2025-05-11",
11019
11019
  "lastUpdated": "2025-05-11"
11020
11020
  },
11021
+ "roninCosmeticsChest": {
11022
+ "id": "roninCosmeticsChest",
11023
+ "rarity": "legendary",
11024
+ "type": "chest",
11025
+ "worldEvent": "shadesOfTheRonin",
11026
+ "value": 1,
11027
+ "weight": 100,
11028
+ "dateAdded": "2024-11-16",
11029
+ "lastUpdated": "2025-05-23"
11030
+ },
11021
11031
  "sengokuNightsCosmeticsChest": {
11022
11032
  "id": "sengokuNightsCosmeticsChest",
11023
11033
  "rarity": "legendary",
@@ -452,6 +452,7 @@
452
452
  "castingSand": {
453
453
  "rarity": "rare",
454
454
  "category": "specialized",
455
+ "faction": "confederationOfUngwana",
455
456
  "raw": {
456
457
  "teakPlank": 5,
457
458
  "nickelIngot": 5,
@@ -461,6 +462,7 @@
461
462
  "shellac": {
462
463
  "rarity": "rare",
463
464
  "category": "specialized",
465
+ "faction": "dominionOfRempah",
464
466
  "raw": {
465
467
  "fineRamie": 5,
466
468
  "ironwoodPlank": 5,
@@ -470,6 +472,7 @@
470
472
  "woodTar": {
471
473
  "rarity": "rare",
472
474
  "category": "specialized",
475
+ "faction": "compagnieRoyale",
473
476
  "raw": {
474
477
  "mopanePlank": 5,
475
478
  "cobaltIngot": 5,
@@ -479,6 +482,7 @@
479
482
  "sheetGlass": {
480
483
  "rarity": "rare",
481
484
  "category": "specialized",
485
+ "faction": "dutchMerchantCompany",
482
486
  "raw": {
483
487
  "zincIngot": 5,
484
488
  "fineAbaka": 5,
@@ -488,6 +492,7 @@
488
492
  "lime": {
489
493
  "rarity": "rare",
490
494
  "category": "specialized",
495
+ "faction": "confederationOfUngwana",
491
496
  "raw": {
492
497
  "teakPlank": 5,
493
498
  "nickelIngot": 5,
@@ -497,6 +502,7 @@
497
502
  "crudeSaltpeter": {
498
503
  "rarity": "rare",
499
504
  "category": "specialized",
505
+ "faction": "dominionOfRempah",
500
506
  "raw": {
501
507
  "fineRamie": 5,
502
508
  "ironwoodPlank": 5,
@@ -506,6 +512,7 @@
506
512
  "cogwheel": {
507
513
  "rarity": "rare",
508
514
  "category": "specialized",
515
+ "faction": "compagnieRoyale",
509
516
  "raw": {
510
517
  "mopanePlank": 5,
511
518
  "cobaltIngot": 5,
@@ -515,6 +522,7 @@
515
522
  "screwMechanism": {
516
523
  "rarity": "rare",
517
524
  "category": "specialized",
525
+ "faction": "dutchMerchantCompany",
518
526
  "raw": {
519
527
  "zincIngot": 5,
520
528
  "fineAbaka": 5,
@@ -524,6 +532,7 @@
524
532
  "torsionSpring": {
525
533
  "rarity": "legendary",
526
534
  "category": "exotic",
535
+ "faction": "compagnieRoyale",
527
536
  "raw": {
528
537
  "planetaryGearset": 3,
529
538
  "woodPitch": 5
@@ -532,6 +541,7 @@
532
541
  "rubber": {
533
542
  "rarity": "legendary",
534
543
  "category": "exotic",
544
+ "faction": "dominionOfRempah",
535
545
  "raw": {
536
546
  "lacquer": 3,
537
547
  "purifiedSaltpeter": 3
@@ -540,6 +550,7 @@
540
550
  "precisionDrillingBit": {
541
551
  "rarity": "legendary",
542
552
  "category": "exotic",
553
+ "faction": "dutchMerchantCompany",
543
554
  "raw": {
544
555
  "plateGlass": 3,
545
556
  "wormDrive": 3
@@ -571,19 +582,23 @@
571
582
  },
572
583
  "eelsTwine": {
573
584
  "rarity": "legendary",
574
- "category": "helm"
585
+ "category": "helm",
586
+ "faction": "rogues"
575
587
  },
576
588
  "wyrmsBreath": {
577
589
  "rarity": "legendary",
578
- "category": "helm"
590
+ "category": "helm",
591
+ "faction": "rogues"
579
592
  },
580
593
  "orcasMechanism": {
581
594
  "rarity": "legendary",
582
- "category": "helm"
595
+ "category": "helm",
596
+ "faction": "rogues"
583
597
  },
584
598
  "gannetsSaltpeter": {
585
599
  "rarity": "legendary",
586
- "category": "helm"
600
+ "category": "helm",
601
+ "faction": "rogues"
587
602
  },
588
603
  "etherealAshes": {
589
604
  "rarity": "rare",
@@ -600,6 +615,7 @@
600
615
  "woodPitch": {
601
616
  "rarity": "epic",
602
617
  "category": "specialized",
618
+ "faction": "compagnieRoyale",
603
619
  "raw": {
604
620
  "woodTar": 5
605
621
  }
@@ -607,6 +623,7 @@
607
623
  "plateGlass": {
608
624
  "rarity": "epic",
609
625
  "category": "specialized",
626
+ "faction": "dutchMerchantCompany",
610
627
  "raw": {
611
628
  "sheetGlass": 5
612
629
  }
@@ -614,6 +631,7 @@
614
631
  "dryCastingSand": {
615
632
  "rarity": "epic",
616
633
  "category": "specialized",
634
+ "faction": "confederationOfUngwana",
617
635
  "raw": {
618
636
  "castingSand": 5
619
637
  }
@@ -621,6 +639,7 @@
621
639
  "lacquer": {
622
640
  "rarity": "epic",
623
641
  "category": "specialized",
642
+ "faction": "dominionOfRempah",
624
643
  "raw": {
625
644
  "shellac": 5
626
645
  }
@@ -628,6 +647,7 @@
628
647
  "sinewString": {
629
648
  "rarity": "epic",
630
649
  "category": "specialized",
650
+ "faction": "clanOfFara",
631
651
  "raw": {
632
652
  "fineHemp": 2,
633
653
  "fineSisal": 3,
@@ -649,15 +669,18 @@
649
669
  },
650
670
  "hubacHeirloom": {
651
671
  "rarity": "legendary",
652
- "category": "exotic"
672
+ "category": "exotic",
673
+ "faction": "chorusFleet"
653
674
  },
654
675
  "whiteAriaShipPart": {
655
676
  "rarity": "epic",
656
- "category": "specialized"
677
+ "category": "specialized",
678
+ "faction": "chorusFleet"
657
679
  },
658
680
  "blackAriaShipPart": {
659
681
  "rarity": "epic",
660
- "category": "specialized"
682
+ "category": "specialized",
683
+ "faction": "chorusFleet"
661
684
  },
662
685
  "ice": {
663
686
  "rarity": "rare",
@@ -670,6 +693,7 @@
670
693
  "naphtha": {
671
694
  "rarity": "legendary",
672
695
  "category": "exotic",
696
+ "faction": "confederationOfUngwana",
673
697
  "raw": {
674
698
  "quicklime": 3,
675
699
  "dryCastingSand": 3
@@ -678,6 +702,7 @@
678
702
  "quicklime": {
679
703
  "rarity": "rare",
680
704
  "category": "specialized",
705
+ "faction": "confederationOfUngwana",
681
706
  "raw": {
682
707
  "lime": 5
683
708
  }
@@ -685,6 +710,7 @@
685
710
  "purifiedSaltpeter": {
686
711
  "rarity": "rare",
687
712
  "category": "specialized",
713
+ "faction": "dominionOfRempah",
688
714
  "raw": {
689
715
  "crudeSaltpeter": 5
690
716
  }
@@ -692,6 +718,7 @@
692
718
  "planetaryGearset": {
693
719
  "rarity": "epic",
694
720
  "category": "specialized",
721
+ "faction": "compagnieRoyale",
695
722
  "raw": {
696
723
  "cogwheel": 5
697
724
  }
@@ -699,6 +726,7 @@
699
726
  "wormDrive": {
700
727
  "rarity": "epic",
701
728
  "category": "specialized",
729
+ "faction": "dutchMerchantCompany",
702
730
  "raw": {
703
731
  "screwMechanism": 5
704
732
  }
@@ -713,35 +741,43 @@
713
741
  },
714
742
  "phoenixBeak": {
715
743
  "rarity": "epic",
716
- "category": "specialized"
744
+ "category": "specialized",
745
+ "faction": "phoenixsTalon"
717
746
  },
718
747
  "phoenixPinion": {
719
748
  "rarity": "epic",
720
- "category": "specialized"
749
+ "category": "specialized",
750
+ "faction": "phoenixsTalon"
721
751
  },
722
752
  "azureDragonHead": {
723
753
  "rarity": "epic",
724
- "category": "specialized"
754
+ "category": "specialized",
755
+ "faction": "dragonsClaw"
725
756
  },
726
757
  "plagueDust": {
727
758
  "rarity": "epic",
728
- "category": "specialized"
759
+ "category": "specialized",
760
+ "faction": "fleetOfPestilence"
729
761
  },
730
762
  "blightedFuel": {
731
763
  "rarity": "legendary",
732
- "category": "exotic"
764
+ "category": "exotic",
765
+ "faction": "fleetOfPestilence"
733
766
  },
734
767
  "yellowDragonBanner": {
735
768
  "rarity": "legendary",
736
- "category": "exotic"
769
+ "category": "exotic",
770
+ "faction": "dragonsClaw"
737
771
  },
738
772
  "jadePhoenixStatue": {
739
773
  "rarity": "legendary",
740
- "category": "exotic"
774
+ "category": "exotic",
775
+ "faction": "phoenixsTalon"
741
776
  },
742
777
  "eelSturdyRopes": {
743
778
  "rarity": "legendary",
744
779
  "category": "helm",
780
+ "faction": "rogues",
745
781
  "raw": {
746
782
  "eelsTwine": 5,
747
783
  "sinewString": 3,
@@ -752,6 +788,7 @@
752
788
  "wyrmVolatileNapalm": {
753
789
  "rarity": "legendary",
754
790
  "category": "helm",
791
+ "faction": "rogues",
755
792
  "raw": {
756
793
  "wyrmsBreath": 5,
757
794
  "naphtha": 3,
@@ -762,6 +799,7 @@
762
799
  "orcaIntricateApparatus": {
763
800
  "rarity": "legendary",
764
801
  "category": "helm",
802
+ "faction": "rogues",
765
803
  "raw": {
766
804
  "orcasMechanism": 5,
767
805
  "torsionSpring": 3,
@@ -772,6 +810,7 @@
772
810
  "gannetDenseNiter": {
773
811
  "rarity": "legendary",
774
812
  "category": "helm",
813
+ "faction": "rogues",
775
814
  "raw": {
776
815
  "gannetsSaltpeter": 5,
777
816
  "rubber": 3,
@@ -781,7 +820,8 @@
781
820
  },
782
821
  "xanthousStone": {
783
822
  "rarity": "epic",
784
- "category": "specialized"
823
+ "category": "specialized",
824
+ "faction": "shadowLegion"
785
825
  },
786
826
  "putrefiedZamaharibuScale": {
787
827
  "rarity": "epic",
@@ -805,7 +845,8 @@
805
845
  },
806
846
  "xanthousGemstone": {
807
847
  "rarity": "legendary",
808
- "category": "exotic"
848
+ "category": "exotic",
849
+ "faction": "shadowLegion"
809
850
  },
810
851
  "primevalFang": {
811
852
  "rarity": "epic",
@@ -818,9 +859,5 @@
818
859
  "masterworkKit": {
819
860
  "rarity": "legendary",
820
861
  "category": "exotic"
821
- },
822
- "phoenixPouch": {
823
- "rarity": "epic",
824
- "category": "specialized"
825
862
  }
826
863
  }
@@ -112,5 +112,8 @@
112
112
  },
113
113
  "theHonorlessAhPak": {
114
114
  "id": "theHonorlessAhPak"
115
+ },
116
+ "shadesOfTheRonin": {
117
+ "id": "shadesOfTheRonin"
115
118
  }
116
119
  }
@@ -1,11 +1,16 @@
1
1
  import commoditiesData from "../../data/commodities.json";
2
2
  import { CommodityCategory } from "../types/Category";
3
3
  import { Rarity } from "../types/Rarity";
4
+ import { Event } from "./events";
5
+ import { Faction } from "./factions";
4
6
  export declare class Commodity {
5
7
  readonly id: string;
6
8
  readonly rarity: Rarity;
7
9
  readonly category: CommodityCategory;
8
- constructor(id: string, rarity: Rarity, category: CommodityCategory);
10
+ readonly event?: Event | undefined;
11
+ readonly faction?: Faction | undefined;
12
+ constructor(id: string, rarity: Rarity, category: CommodityCategory, event?: Event | undefined, faction?: Faction | undefined);
13
+ static fromRawData(rawData: any): Commodity;
9
14
  static loadCommodities(): Record<string, Commodity>;
10
15
  }
11
16
  type Commodities = {
@@ -1 +1 @@
1
- {"version":3,"file":"commodities.d.ts","sourceRoot":"","sources":["../../src/daos/commodities.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,qBAAa,SAAS;aAEE,EAAE,EAAE,MAAM;aACV,MAAM,EAAE,MAAM;aACd,QAAQ,EAAE,iBAAiB;gBAF3B,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,iBAAiB;WAGjC,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC;CAW7D;AAED,KAAK,WAAW,GAAG;KACd,CAAC,IAAI,MAAM,OAAO,eAAe,GAAG,SAAS;CACjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAwD,CAAC"}
1
+ {"version":3,"file":"commodities.d.ts","sourceRoot":"","sources":["../../src/daos/commodities.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAU,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAY,MAAM,YAAY,CAAC;AAE/C,qBAAa,SAAS;aAEE,EAAE,EAAE,MAAM;aACV,MAAM,EAAE,MAAM;aACd,QAAQ,EAAE,iBAAiB;aAC3B,KAAK,CAAC,EAAE,KAAK;aACb,OAAO,CAAC,EAAE,OAAO;gBAJjB,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,CAAC,EAAE,KAAK,YAAA,EACb,OAAO,CAAC,EAAE,OAAO,YAAA;WAGvB,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,SAAS;WAYpC,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC;CAO7D;AAED,KAAK,WAAW,GAAG;KACd,CAAC,IAAI,MAAM,OAAO,eAAe,GAAG,SAAS;CACjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAwD,CAAC"}
@@ -1,14 +1,23 @@
1
1
  import commoditiesData from "../../data/commodities.json";
2
+ import { Events } from "./events";
3
+ import { Factions } from "./factions";
2
4
  export class Commodity {
3
- constructor(id, rarity, category) {
5
+ constructor(id, rarity, category, event, faction) {
4
6
  this.id = id;
5
7
  this.rarity = rarity;
6
8
  this.category = category;
9
+ this.event = event;
10
+ this.faction = faction;
11
+ }
12
+ static fromRawData(rawData) {
13
+ const event = rawData.event;
14
+ const faction = rawData.faction;
15
+ return new Commodity(rawData.id, rawData.rarity, rawData.category, event ? Events[event] : undefined, faction ? Factions[faction] : undefined);
7
16
  }
8
17
  static loadCommodities() {
9
18
  const commodities = {};
10
19
  for (const [key, value] of Object.entries(commoditiesData)) {
11
- commodities[key] = new Commodity(key, value.rarity, value.category);
20
+ commodities[key] = Commodity.fromRawData(value);
12
21
  }
13
22
  return commodities;
14
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"commodities.js","sourceRoot":"","sources":["../../src/daos/commodities.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6BAA6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AAC,EAAE,EACV,OAAO,CAAC,MAAgB,EACxB,OAAO,CAAC,QAA6B,EACrC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EACjC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAC1C,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,eAAe;QACzB,MAAM,WAAW,GAA8B,EAAE,CAAC;QAClD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;YACzD,WAAW,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACpD,CAAC;QACD,OAAO,WAAW,CAAC;IACvB,CAAC;CACJ;AAMD,MAAM,CAAC,MAAM,WAAW,GAAgB,SAAS,CAAC,eAAe,EAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import factionsData from "../../data/factions.json";
2
+ import { Event } from "./events";
3
+ import { Season } from "./seasons";
4
+ export declare class Faction {
5
+ readonly id: string;
6
+ readonly firstAppearingSeason: Season;
7
+ readonly event: Event | undefined;
8
+ readonly dateAdded: Date;
9
+ readonly lastUpdated: Date;
10
+ constructor(id: string, firstAppearingSeason: Season, event: Event | undefined, dateAdded: Date, lastUpdated: Date);
11
+ static fromRawData(rawData: any): Faction;
12
+ static loadFactions(): Record<string, Faction>;
13
+ }
14
+ type Factions = {
15
+ [K in keyof typeof factionsData]: Faction;
16
+ };
17
+ export declare const Factions: Factions;
18
+ export {};
19
+ //# sourceMappingURL=factions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factions.d.ts","sourceRoot":"","sources":["../../src/daos/factions.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,KAAK,EAAU,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,MAAM,EAAW,MAAM,WAAW,CAAC;AAE5C,qBAAa,OAAO;aAEI,EAAE,EAAE,MAAM;aACV,oBAAoB,EAAE,MAAM;aAC5B,KAAK,EAAE,KAAK,GAAG,SAAS;aACxB,SAAS,EAAE,IAAI;aACf,WAAW,EAAE,IAAI;gBAJjB,EAAE,EAAE,MAAM,EACV,oBAAoB,EAAE,MAAM,EAC5B,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,SAAS,EAAE,IAAI,EACf,WAAW,EAAE,IAAI;WAGvB,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO;WAYlC,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAOxD;AAED,KAAK,QAAQ,GAAG;KACX,CAAC,IAAI,MAAM,OAAO,YAAY,GAAG,OAAO;CAC5C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAA6C,CAAC"}
@@ -0,0 +1,26 @@
1
+ import factionsData from "../../data/factions.json";
2
+ import { Events } from "./events";
3
+ import { Seasons } from "./seasons";
4
+ export class Faction {
5
+ constructor(id, firstAppearingSeason, event, dateAdded, lastUpdated) {
6
+ this.id = id;
7
+ this.firstAppearingSeason = firstAppearingSeason;
8
+ this.event = event;
9
+ this.dateAdded = dateAdded;
10
+ this.lastUpdated = lastUpdated;
11
+ }
12
+ static fromRawData(rawData) {
13
+ const season = rawData.firstAppearingSeason;
14
+ const event = rawData.event;
15
+ return new Faction(rawData.id, Seasons[season], event ? Events[event] : undefined, new Date(rawData.dateAdded), new Date(rawData.lastUpdated));
16
+ }
17
+ static loadFactions() {
18
+ const factions = {};
19
+ for (const [key, value] of Object.entries(factionsData)) {
20
+ factions[key] = Faction.fromRawData(value);
21
+ }
22
+ return factions;
23
+ }
24
+ }
25
+ export const Factions = Faction.loadFactions();
26
+ //# sourceMappingURL=factions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factions.js","sourceRoot":"","sources":["../../src/daos/factions.ts"],"names":[],"mapp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
2
  import { MaterialCategory } from "../types/Category";
3
3
  import { Rarity } from "../types/Rarity";
4
+ import { Faction } from "./factions";
4
5
  export declare class Material {
5
6
  id: string;
6
7
  rarity: Rarity;
7
8
  category: MaterialCategory;
8
9
  required?: Map<Material, number>;
9
10
  requiredRank?: string;
10
- constructor(id: string, rarity: Rarity, category: MaterialCategory, requiredRank?: string);
11
+ faction?: Faction;
12
+ constructor(id: string, rarity: Rarity, category: MaterialCategory, requiredRank?: string, faction?: Faction);
11
13
  static fromRawData(key: string, rawData: any): Material;
12
14
  static updateMaterialWithRequired(key: string, rawData: any, materials: Record<string, Material>): void;
13
15
  static loadMaterials(): Record<string, Material>;
@@ -1 +1 @@
1
- {"version":3,"file":"materials.d.ts","sourceRoot":"","sources":["../../src/daos/materials.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,qBAAa,QAAQ;IACjB,EAAE,EAAG,MAAM,CAAC;IACZ,MAAM,EAAG,MAAM,CAAC;IAChB,QAAQ,EAAG,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;gBAEV,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,CAAC,EAAE,MAAM;WAO3E,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,QAAQ;WAShD,0BAA0B,CAAC,GAAG,EAAC,MAAM,EAAE,OAAO,EAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;WAYvF,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;CAa1D;AAED,KAAK,SAAS,GAAG;KACZ,CAAC,IAAI,MAAM,OAAO,aAAa,GAAG,QAAQ;CAC9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,SAAiD,CAAC"}
1
+ {"version":3,"file":"materials.d.ts","sourceRoot":"","sources":["../../src/daos/materials.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAY,MAAM,YAAY,CAAC;AAE/C,qBAAa,QAAQ;IACjB,EAAE,EAAG,MAAM,CAAC;IACZ,MAAM,EAAG,MAAM,CAAC;IAChB,QAAQ,EAAG,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;gBAEN,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO;WAQ9F,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,QAAQ;WAWhD,0BAA0B,CAAC,GAAG,EAAC,MAAM,EAAE,OAAO,EAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;WAYvF,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC;CAa1D;AAED,KAAK,SAAS,GAAG;KACZ,CAAC,IAAI,MAAM,OAAO,aAAa,GAAG,QAAQ;CAC9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,SAAiD,CAAC"}
@@ -1,13 +1,16 @@
1
1
  import materialsData from "../../data/materials.json";
2
+ import { Factions } from "./factions";
2
3
  export class Material {
3
- constructor(id, rarity, category, requiredRank) {
4
+ constructor(id, rarity, category, requiredRank, faction) {
4
5
  this.id = id;
5
6
  this.rarity = rarity;
6
7
  this.category = category;
7
8
  this.requiredRank = requiredRank;
9
+ this.faction = faction;
8
10
  }
9
11
  static fromRawData(key, rawData) {
10
- return new Material(key, rawData.rarity, rawData.category, rawData.requiredRank ?? undefined);
12
+ const faction = rawData.faction;
13
+ return new Material(key, rawData.rarity, rawData.category, rawData.requiredRank ?? undefined, faction ? Factions[faction] : undefined);
11
14
  }
12
15
  static updateMaterialWithRequired(key, rawData, materials) {
13
16
  if (!rawData.raw)
@@ -1 +1 @@
1
- {"version":3,"file":"materials.js","sourceRoot":"","sources":["../../src/daos/materials.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,2BAA2B,CAAC;AAItD,MAAM,OAAO,QAAQ;IAOjB,YAAY,EAAU,EAAE,MAAc,EAAE,QAA0B,EAAE,YAAqB;QACrF,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,GAAW,EAAE,OAAY;QAC/C,OAAO,IAAI,QAAQ,CACf,GAAG,EACH,OAAO,CAAC,MAAM,EACd,OAAO,CAAC,QAA4B,EACpC,OAAO,CAAC,YAAY,IAAI,SAAS,CACpC,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,0BAA0B,CAAC,GAAU,EAAE,OAAW,EAAE,SAAmC;QACjG,IAAG,CAAC,OAAO,CAAC,GAAG;YAAE,OAAO;QACxB,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAoB,CAAC;QAC7C,KAAK,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC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AK,CAAC,CAAC;QACtD,CAAC;QAED,gDAAgD;QAChD,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;YACvD,QAAQ,CAAC,0BAA0B,CAAC,GAAG,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QAC/D,CAAC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC;CACJ;AAMD,MAAM,CAAC,MAAM,SAAS,GAAc,QAAQ,CAAC,aAAa,EAAe,CAAC"}
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export { Commodities } from "./daos/commodities";
3
3
  export { Contracts } from "./daos/contracts";
4
4
  export { Cosmetics } from "./daos/cosmetics";
5
5
  export { Events } from "./daos/events";
6
+ export { Factions } from "./daos/factions";
6
7
  export { Items } from "./daos/items";
7
8
  export { Materials } from "./daos/materials";
8
9
  export { Modifications } from "./daos/modifications";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC"}
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ export { Commodities } from "./daos/commodities";
4
4
  export { Contracts } from "./daos/contracts";
5
5
  export { Cosmetics } from "./daos/cosmetics";
6
6
  export { Events } from "./daos/events";
7
+ export { Factions } from "./daos/factions";
7
8
  export { Items } from "./daos/items";
8
9
  export { Materials } from "./daos/materials";
9
10
  export { Modifications } from "./daos/modifications";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
- export type CommodityCategory = "localFaction" | "megacorp" | "kingpin" | "theHelm" | "event";
1
+ export type CommodityCategory = "localFaction" | "megacorp" | "kingpin" | "theHelm" | "summoningBell" | "unique";
2
2
  export type MaterialCategory = "raw" | "refined" | "specialized" | "exotic" | "helm" | "scrap" | "currency";
3
3
  export type AchievementCategory = "mastery" | "enterprise" | "legends" | "cooperative" | "seasonal";
4
4
  //# sourceMappingURL=Category.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../src/types/Category.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAC9F,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAC5G,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../src/types/Category.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,eAAe,GAAG,QAAQ,CAAC;AACjH,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,SAAS,GAAG,aAAa,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;AAC5G,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skullandbonestools/snbdata",
3
- "version": "5.0.17",
3
+ "version": "5.0.18",
4
4
  "description": "Inofficial data package for the Skull and Bones game by Ubisoft.",
5
5
  "keywords": [
6
6
  "ubisoft",