@skullandbonestools/snbdata 5.1.5 → 5.2.1

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.
@@ -23429,5 +23429,11 @@
23429
23429
  "obtainable": "ubisoftStoreFreeClaim",
23430
23430
  "dateAdded": "2025-06-03",
23431
23431
  "lastUpdated": "2025-06-03"
23432
+ },
23433
+ "concealedArmor": {
23434
+ "id": "concealedArmor",
23435
+ "type": "armorSkin",
23436
+ "dateAdded": "2025-07-08",
23437
+ "lastUpdated": "2025-07-08"
23432
23438
  }
23433
23439
  }
@@ -108,5 +108,17 @@
108
108
  "firstAppearingSeason": "release",
109
109
  "dateAdded": "2025-05-23",
110
110
  "lastUpdated": "2025-05-23"
111
+ },
112
+ "scavengers": {
113
+ "id": "scavengers",
114
+ "firstAppearingSeason": "shadowsOfTheDeep",
115
+ "dateAdded": "2025-07-01",
116
+ "lastUpdated": "2025-07-01"
117
+ },
118
+ "sultanateOfSohar": {
119
+ "id": "sultanateOfSohar",
120
+ "firstAppearingSeason": "release",
121
+ "dateAdded": "2025-07-09",
122
+ "lastUpdated": "2025-07-09"
111
123
  }
112
124
  }
package/data/seasons.json CHANGED
@@ -40,5 +40,12 @@
40
40
  "startDate": "2025-04-15",
41
41
  "endDate": "2025-07-14",
42
42
  "color": "#f06e1d"
43
+ },
44
+ "oathsOfWar": {
45
+ "index": 6,
46
+ "id": "oathsOfWar",
47
+ "startDate": "2025-07-15",
48
+ "endDate": "2025-10-14",
49
+ "color": "#B79675"
43
50
  }
44
51
  }
@@ -1,137 +1,283 @@
1
1
  {
2
2
  "anguishFromTheAbyss": {
3
- "id": "anguishFromTheAbyss"
3
+ "id": "anguishFromTheAbyss",
4
+ "type": "spectralShip",
5
+ "faction": "dutchMerchantCompany"
4
6
  },
5
7
  "tidesOfTerror": {
6
- "id": "tidesOfTerror"
8
+ "id": "tidesOfTerror",
9
+ "type": "eliteWarship",
10
+ "faction": "fleetOfPestilence"
7
11
  },
8
12
  "theMizerja": {
9
- "id": "theMizerja"
13
+ "id": "theMizerja",
14
+ "type": "eliteWarship",
15
+ "faction": "clanOfFara"
10
16
  },
11
17
  "theOpwelling": {
12
- "id": "theOpwelling"
18
+ "id": "theOpwelling",
19
+ "type": "eliteWarship",
20
+ "faction": "dutchMerchantCompany"
13
21
  },
14
22
  "thePlagueKing": {
15
- "id": "thePlagueKing"
23
+ "id": "thePlagueKing",
24
+ "type": "eliteWarship",
25
+ "faction": "fleetOfPestilence"
16
26
  },
17
- "caperingToTheCape": {
18
- "id": "caperingToTheCape"
27
+ "caperingTheCape": {
28
+ "id": "caperingTheCape",
29
+ "type": "convoy",
30
+ "faction": "clanOfFara"
19
31
  },
20
32
  "anAllianceOfConvenience": {
21
- "id": "anAllianceOfConvenience"
33
+ "id": "anAllianceOfConvenience",
34
+ "type": "convoy"
22
35
  },
23
36
  "theRempahResupply": {
24
- "id": "theRempahResupply"
37
+ "id": "theRempahResupply",
38
+ "type": "convoy",
39
+ "faction": "dominionOfRempah"
25
40
  },
26
41
  "guidedByGuile": {
27
- "id": "guidedByGuile"
42
+ "id": "guidedByGuile",
43
+ "type": "convoy",
44
+ "faction": "dominionOfRempah"
28
45
  },
29
46
  "symphonieMortelle": {
30
- "id": "symphonieMortelle"
47
+ "id": "symphonieMortelle",
48
+ "type": "eliteWarship",
49
+ "faction": "compagnieRoyale"
31
50
  },
32
51
  "verseOfVengeance": {
33
- "id": "verseOfVengeance"
52
+ "id": "verseOfVengeance",
53
+ "type": "eliteWarship",
54
+ "faction": "chorusFleet"
34
55
  },
35
56
  "verseOfRemorse": {
36
- "id": "verseOfRemorse"
57
+ "id": "verseOfRemorse",
58
+ "type": "eliteWarship",
59
+ "faction": "chorusFleet"
37
60
  },
38
61
  "riskTheRisingTide": {
39
- "id": "riskTheRisingTide"
62
+ "id": "riskTheRisingTide",
63
+ "type": "convoy"
40
64
  },
41
65
  "iceAndEasy": {
42
- "id": "iceAndEasy"
66
+ "id": "iceAndEasy",
67
+ "type": "convoy",
68
+ "faction": "dutchMerchantCompany"
43
69
  },
44
70
  "chorusOfHavoc": {
45
- "id": "chorusOfHavoc"
71
+ "id": "chorusOfHavoc",
72
+ "type": "eliteWarship",
73
+ "faction": "chorusFleet"
46
74
  },
47
75
  "divineRetribution": {
48
- "id": "divineRetribution"
76
+ "id": "divineRetribution",
77
+ "type": "seaMonster"
49
78
  },
50
79
  "opulentOpportunity": {
51
- "id": "opulentOpportunity"
80
+ "id": "opulentOpportunity",
81
+ "type": "convoy",
82
+ "faction": "confederationOfUngwana"
52
83
  },
53
84
  "easternExchange": {
54
- "id": "easternExchange"
85
+ "id": "easternExchange",
86
+ "type": "convoy"
55
87
  },
56
88
  "flamesOfTheDragon": {
57
- "id": "flamesOfTheDragon"
89
+ "id": "flamesOfTheDragon",
90
+ "type": "eliteWarship"
58
91
  },
59
92
  "theGloriousPhoenix": {
60
- "id": "theGloriousPhoenix"
93
+ "id": "theGloriousPhoenix",
94
+ "type": "eliteWarship",
95
+ "faction": "phoenixsTalon"
61
96
  },
62
97
  "theSerpentsWrath": {
63
- "id": "theSerpentsWrath"
98
+ "id": "theSerpentsWrath",
99
+ "type": "eliteWarship",
100
+ "faction": "dragonsClaw"
64
101
  },
65
102
  "flamesOfThePhoenix": {
66
- "id": "flamesOfThePhoenix"
103
+ "id": "flamesOfThePhoenix",
104
+ "type": "eliteWarship",
105
+ "faction": "phoenixsTalon"
67
106
  },
68
107
  "baitAndSwitch": {
69
- "id": "baitAndSwitch"
108
+ "id": "baitAndSwitch",
109
+ "type": "convoy"
70
110
  },
71
111
  "stolenTreasures": {
72
- "id": "stolenTreasures"
112
+ "id": "stolenTreasures",
113
+ "type": "convoy"
73
114
  },
74
115
  "curseOfTheSchaduw": {
75
- "id": "curseOfTheSchaduw"
116
+ "id": "curseOfTheSchaduw",
117
+ "type": "eliteWarship",
118
+ "faction": "shadowLegion"
76
119
  },
77
120
  "theLoomingShadow": {
78
- "id": "theLoomingShadow"
121
+ "id": "theLoomingShadow",
122
+ "type": "eliteWarship",
123
+ "faction": "shadowLegion"
79
124
  },
80
125
  "reaversVengeance": {
81
- "id": "reaversVengeance"
126
+ "id": "reaversVengeance",
127
+ "type": "seaMonster"
82
128
  },
83
129
  "theWolfHunter": {
84
- "id": "theWolfHunter"
130
+ "id": "theWolfHunter",
131
+ "type": "eliteWarship",
132
+ "faction": "dutchMerchantCompany"
85
133
  },
86
134
  "theAzureRoyale": {
87
- "id": "theAzureRoyale"
135
+ "id": "theAzureRoyale",
136
+ "type": "eliteWarship"
88
137
  },
89
138
  "theGreatShadow": {
90
- "id": "theGreatShadow"
139
+ "id": "theGreatShadow",
140
+ "type": "eliteWarship",
141
+ "faction": "shadowLegion"
91
142
  },
92
143
  "undyingMaw": {
93
- "id": "undyingMaw"
144
+ "id": "undyingMaw",
145
+ "type": "seaMonster"
94
146
  },
95
147
  "payingDues": {
96
- "id": "payingDues"
148
+ "id": "payingDues",
149
+ "type": "convoy",
150
+ "faction": "scavengers"
97
151
  },
98
152
  "scurlocksPrecious": {
99
- "id": "scurlocksPrecious"
153
+ "id": "scurlocksPrecious",
154
+ "type": "convoy",
155
+ "faction": "scavengers"
100
156
  },
101
157
  "thickAsThieves": {
102
- "id": "thickAsThieves"
158
+ "id": "thickAsThieves",
159
+ "type": "convoy",
160
+ "faction": "scavengers"
103
161
  },
104
162
  "gloryAdorned": {
105
- "id": "gloryAdorned"
163
+ "id": "gloryAdorned",
164
+ "type": "convoy",
165
+ "faction": "dominionOfRempah"
106
166
  },
107
167
  "theHonorlessMizerja": {
108
- "id": "theHonorlessMizerja"
168
+ "id": "theHonorlessMizerja",
169
+ "type": "eliteWarship",
170
+ "faction": "clanOfFara"
109
171
  },
110
172
  "theHonorlessDianSinaga": {
111
- "id": "theHonorlessDianSinaga"
173
+ "id": "theHonorlessDianSinaga",
174
+ "type": "eliteWarship",
175
+ "faction": "dominionOfRempah"
112
176
  },
113
177
  "theHonorlessAhPak": {
114
- "id": "theHonorlessAhPak"
178
+ "id": "theHonorlessAhPak",
179
+ "type": "eliteWarship",
180
+ "faction": "pirates"
115
181
  },
116
182
  "shadesOfTheRonin": {
117
- "id": "shadesOfTheRonin"
183
+ "id": "shadesOfTheRonin",
184
+ "type": "convoy"
118
185
  },
119
186
  "fangsOfTheFara": {
120
- "id": "fangsOfTheFara"
187
+ "id": "fangsOfTheFara",
188
+ "type": "eliteWarship",
189
+ "faction": "clanOfFara"
121
190
  },
122
191
  "hunterHunted": {
123
- "id": "hunterHunted"
192
+ "id": "hunterHunted",
193
+ "type": "eliteWarship",
194
+ "faction": "confederationOfUngwana"
124
195
  },
125
196
  "watchTheThrone": {
126
- "id": "watchTheThrone"
197
+ "id": "watchTheThrone",
198
+ "type": "eliteWarship",
199
+ "faction": "pirates"
127
200
  },
128
201
  "aTreacherousTurn": {
129
- "id": "aTreacherousTurn"
202
+ "id": "aTreacherousTurn",
203
+ "type": "eliteWarship",
204
+ "faction": "dominionOfRempah"
130
205
  },
131
206
  "aShowOfStrength": {
132
- "id": "aShowOfStrength"
207
+ "id": "aShowOfStrength",
208
+ "type": "eliteWarship",
209
+ "faction": "dutchMerchantCompany"
133
210
  },
134
211
  "fromTheDeep": {
135
- "id": "fromTheDeep"
212
+ "id": "fromTheDeep",
213
+ "type": "seaMonster"
214
+ },
215
+ "profitablePoison": {
216
+ "id": "profitablePoison",
217
+ "type": "convoy",
218
+ "faction": "confederationOfUngwana"
219
+ },
220
+ "farReachesForTheFara": {
221
+ "id": "farReachesForTheFara",
222
+ "type": "convoy",
223
+ "faction": "clanOfFara"
224
+ },
225
+ "drownedSorrows": {
226
+ "id": "drownedSorrows",
227
+ "type": "convoy",
228
+ "faction": "shadowLegion"
229
+ },
230
+ "aHushedHold": {
231
+ "id": "aHushedHold",
232
+ "type": "convoy",
233
+ "faction": "dutchMerchantCompany"
234
+ },
235
+ "theVanishing": {
236
+ "id": "theVanishing",
237
+ "type": "seaMonster"
238
+ },
239
+ "silentDeath": {
240
+ "id": "silentDeath",
241
+ "type": "seaMonster"
242
+ },
243
+ "convoyOfHighSpirits": {
244
+ "id": "convoyOfHighSpirits",
245
+ "type": "convoy",
246
+ "faction": "compagnieRoyale"
247
+ },
248
+ "shapesInTheWater": {
249
+ "id": "shapesInTheWater",
250
+ "type": "convoy",
251
+ "faction": "shadowLegion"
252
+ },
253
+ "spoilsOfWar": {
254
+ "id": "spoilsOfWar",
255
+ "type": "convoy",
256
+ "faction": "clanOfFara"
257
+ },
258
+ "aPerilousPathToProfits": {
259
+ "id": "aPerilousPathToProfits",
260
+ "type": "convoy",
261
+ "faction": "dominionOfRempah"
262
+ },
263
+ "maladiousMeasures": {
264
+ "id": "maladiousMeasures",
265
+ "type": "convoy",
266
+ "faction": "dutchMerchantCompany"
267
+ },
268
+ "colonialShipment": {
269
+ "id": "colonialShipment",
270
+ "type": "convoy",
271
+ "faction": "compagnieRoyale"
272
+ },
273
+ "apparativeApparitions": {
274
+ "id": "apparativeApparitions",
275
+ "type": "convoy",
276
+ "faction": "dutchMerchantCompany"
277
+ },
278
+ "violentTendencies": {
279
+ "id": "violentTendencies",
280
+ "type": "convoy",
281
+ "faction": "shadowLegion"
136
282
  }
137
283
  }
@@ -1,5 +1,5 @@
1
1
  import cosmeticsData from '../../data/cosmetics.json';
2
- import { Effect, PlayerAppearanceType, PlayerOutfitType, ShipType } from '../types/CosmeticProperties';
2
+ import { CosmeticEffect, PlayerAppearanceType, PlayerOutfitType, ShipCosmeticType } from '../types/CosmeticProperties';
3
3
  import { Rarity } from '../types/Rarity';
4
4
  import { Contract } from './contracts';
5
5
  import { Event } from './events';
@@ -9,14 +9,14 @@ import { Set } from './sets';
9
9
  import { WorldEvent } from './worldEvents';
10
10
  export declare class Cosmetic {
11
11
  readonly id: string;
12
- readonly type: ShipType | PlayerOutfitType | PlayerAppearanceType;
12
+ readonly type: ShipCosmeticType | PlayerOutfitType | PlayerAppearanceType;
13
13
  readonly dateAdded: Date;
14
14
  readonly lastUpdated: Date;
15
15
  readonly rarity?: Rarity | undefined;
16
16
  readonly tier?: number | undefined;
17
17
  readonly set?: Set | undefined;
18
18
  readonly obtainable?: (string | string[] | Array<string | string[]>) | undefined;
19
- readonly effect?: (Effect | Effect[]) | undefined;
19
+ readonly effect?: (CosmeticEffect | CosmeticEffect[]) | undefined;
20
20
  readonly season?: Season | undefined;
21
21
  readonly contract?: Contract | undefined;
22
22
  basic?: Cosmetic | undefined;
@@ -26,7 +26,7 @@ export declare class Cosmetic {
26
26
  readonly bounty?: string | undefined;
27
27
  readonly event?: Event | undefined;
28
28
  readonly worldEvent?: (WorldEvent | WorldEvent[]) | undefined;
29
- constructor(id: string, type: ShipType | PlayerOutfitType | PlayerAppearanceType, dateAdded: Date, lastUpdated: Date, rarity?: Rarity | undefined, tier?: number | undefined, set?: Set | undefined, obtainable?: (string | string[] | Array<string | string[]>) | undefined, effect?: (Effect | Effect[]) | undefined, season?: Season | undefined, contract?: Contract | undefined, basic?: Cosmetic | undefined, upgrades?: Cosmetic[] | undefined, required?: Map<Material, number> | undefined, requiredRank?: string | undefined, bounty?: string | undefined, event?: Event | undefined, worldEvent?: (WorldEvent | WorldEvent[]) | undefined);
29
+ constructor(id: string, type: ShipCosmeticType | PlayerOutfitType | PlayerAppearanceType, dateAdded: Date, lastUpdated: Date, rarity?: Rarity | undefined, tier?: number | undefined, set?: Set | undefined, obtainable?: (string | string[] | Array<string | string[]>) | undefined, effect?: (CosmeticEffect | CosmeticEffect[]) | undefined, season?: Season | undefined, contract?: Contract | undefined, basic?: Cosmetic | undefined, upgrades?: Cosmetic[] | undefined, required?: Map<Material, number> | undefined, requiredRank?: string | undefined, bounty?: string | undefined, event?: Event | undefined, worldEvent?: (WorldEvent | WorldEvent[]) | undefined);
30
30
  static fromRawData(rawData: any): Cosmetic;
31
31
  static updateCosmeticWithUpgrades(key: string, rawData: any, cosmetics: Record<string, Cosmetic>): void;
32
32
  static loadCosmetics(): Record<string, Cosmetic>;
@@ -1 +1 @@
1
- {"version":3,"file":"cosmet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L,CAAC;IAEM,MAAM,CAAC,aAAa;QACvB,MAAM,SAAS,GAA6B,EAAE,CAAC;QAC/C,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;YACvD,SAAS,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACjD,CAAC;QACD,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"}
@@ -1,7 +1,12 @@
1
1
  import worldEventsData from '../../data/worldEvents.json';
2
+ import { WorldEventType } from '../types/WorldEventProperties';
3
+ import { Faction } from './factions';
2
4
  export declare class WorldEvent {
3
5
  readonly id: string;
4
- constructor(id: string);
6
+ readonly type: WorldEventType;
7
+ readonly faction?: Faction | undefined;
8
+ constructor(id: string, type: WorldEventType, faction?: Faction | undefined);
9
+ static fromRawData(rawData: any): WorldEvent;
5
10
  static loadWorldEvents(): Record<string, WorldEvent>;
6
11
  }
7
12
  type WorldEvents = {
@@ -1 +1 @@
1
- {"version":3,"file":"worldEvents.d.ts","sourceRoot":"","sources":["../../src/daos/worldEvents.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAE1D,qBAAa,UAAU;aAEC,EAAE,EAAE,MAAM;gBAAV,EAAE,EAAE,MAAM;WAGhB,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC;CAS9D;AAED,KAAK,WAAW,GAAG;KACd,CAAC,IAAI,MAAM,OAAO,eAAe,GAAG,UAAU;CAClD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAmC,WAAW,CAAC"}
1
+ {"version":3,"file":"worldEvents.d.ts","sourceRoot":"","sources":["../../src/daos/worldEvents.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAY,MAAM,YAAY,CAAC;AAE/C,qBAAa,UAAU;aAEC,EAAE,EAAE,MAAM;aACV,IAAI,EAAE,cAAc;aACpB,OAAO,CAAC,EAAE,OAAO;gBAFjB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,cAAc,EACpB,OAAO,CAAC,EAAE,OAAO,YAAA;WAGvB,WAAW,CAAC,OAAO,EAAE,GAAG,GAAG,UAAU;WASrC,eAAe,IAAI,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC;CAO9D;AAED,KAAK,WAAW,GAAG;KACd,CAAC,IAAI,MAAM,OAAO,eAAe,GAAG,UAAU;CAClD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAmC,WAAW,CAAC"}
@@ -1,12 +1,19 @@
1
1
  import worldEventsData from '../../data/worldEvents.json';
2
+ import { Factions } from './factions';
2
3
  export class WorldEvent {
3
- constructor(id) {
4
+ constructor(id, type, faction) {
4
5
  this.id = id;
6
+ this.type = type;
7
+ this.faction = faction;
8
+ }
9
+ static fromRawData(rawData) {
10
+ const faction = rawData.faction;
11
+ return new WorldEvent(rawData.id, rawData.type, faction ? Factions[faction] : undefined);
5
12
  }
6
13
  static loadWorldEvents() {
7
14
  const worldEvents = {};
8
15
  for (const [key, value] of Object.entries(worldEventsData)) {
9
- worldEvents[key] = new WorldEvent(value.id);
16
+ worldEvents[key] = WorldEvent.fromRawData(value);
10
17
  }
11
18
  return worldEvents;
12
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"worldEvents.js","sourceRoot":"","sources":["../../src/daos/worldEvents.ts"],"names":[],"mappings":"A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AC,eAAe,CAAC,EAAE,CAAC;YACzD,WAAW,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,WAAW,CAAC;IACvB,CAAC;CACJ;AAMD,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC,eAAe,EAAiB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export { Ships } from "./daos/ships";
13
13
  export { Ultimates } from "./daos/ultimates";
14
14
  export { WorldEvents } from "./daos/worldEvents";
15
15
  export { Rarity } from "./types/Rarity";
16
- export { ShipSize } from "./types/ShipProperties";
17
- export { Effect } from "./types/CosmeticProperties";
16
+ export { ShipSize, SlotWithGunports, SlotWithGunportsAcrossDecks } from "./types/ShipProperties";
17
+ export { CosmeticEffect, PlayerAppearanceType, PlayerOutfitType, ShipCosmeticType } from "./types/CosmeticProperties";
18
+ export { CosmeticEffects, PlayerAppearanceTypes, PlayerOutfitTypes, ShipCosmeticTypes } from "./types/CosmeticProperties";
18
19
  //# sourceMappingURL=index.d.ts.map
@@ -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,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,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,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGtH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC"}
package/dist/index.js CHANGED
@@ -13,4 +13,6 @@ export { Sets } from "./daos/sets";
13
13
  export { Ships } from "./daos/ships";
14
14
  export { Ultimates } from "./daos/ultimates";
15
15
  export { WorldEvents } from "./daos/worldEvents";
16
+ // Constants
17
+ export { CosmeticEffects, PlayerAppearanceTypes, PlayerOutfitTypes, ShipCosmeticTypes } from "./types/CosmeticProperties";
16
18
  //# sourceMappingURL=index.js.map
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,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,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,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,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAOjD,YAAY;AACZ,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,5 +1,9 @@
1
- export type Effect = "emissive" | "combatReactive" | "killReactive" | "bossKillReactive" | "animated";
2
- export type ShipType = "sailsEmblem" | "sailsPattern" | "sailsColor" | "hull" | "crowsNest" | "trophy" | "wheel" | "helmDecor" | "ornaments" | "figureHead" | "nameplate" | "pet" | "crewLook" | "aura" | "shipSkin";
3
- export type PlayerOutfitType = "headwear" | "faceAccessory" | "torso" | "neck" | "forearm" | "hand" | "waist" | "bottom" | "footwear" | "bodyCosmetics" | "emote";
4
- export type PlayerAppearanceType = "hair" | "facialHair" | "eyeColor";
1
+ export declare const CosmeticEffects: readonly ["emissive", "combatReactive", "killReactive", "bossKillReactive", "animated"];
2
+ export type CosmeticEffect = (typeof CosmeticEffects)[number];
3
+ export declare const ShipCosmeticTypes: readonly ["sailsEmblem", "sailsPattern", "sailsColor", "hull", "crowsNest", "trophy", "wheel", "helmDecor", "ornaments", "figureHead", "nameplate", "pet", "crewLook", "aura", "shipSkin", "armorSkin", "culverinWeaponSkin", "demicannonWeaponSkin", "longGunWeaponSkin", "bombardWeaponSkin", "ballistaWeaponSkin", "torpedoWeaponSkin"];
4
+ export type ShipCosmeticType = (typeof ShipCosmeticTypes)[number];
5
+ export declare const PlayerOutfitTypes: readonly ["headwear", "faceAccessory", "torso", "neck", "forearm", "hand", "waist", "bottom", "footwear", "bodyCosmetics", "emote"];
6
+ export type PlayerOutfitType = (typeof PlayerOutfitTypes)[number];
7
+ export declare const PlayerAppearanceTypes: readonly ["hair", "facialHair", "eyeColor"];
8
+ export type PlayerAppearanceType = (typeof PlayerAppearanceTypes)[number];
5
9
  //# sourceMappingURL=CosmeticProperties.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CosmeticProperties.d.ts","sourceRoot":"","sources":["../../src/types/CosmeticProperties.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,gBAAgB,GAAG,cAAc,GAAG,kBAAkB,GAAG,UAAU,CAAC;AACtG,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,cAAc,GAAG,YAAY,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,GACnK,KAAK,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,OAAO,CAAC;AAClK,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"CosmeticProperties.d.ts","sourceRoot":"","sources":["../../src/types/CosmeticProperties.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,yFAElB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC9D,eAAO,MAAM,iBAAiB,4UAIpB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAClE,eAAO,MAAM,iBAAiB,qIAEpB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAClE,eAAO,MAAM,qBAAqB,6CAExB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1,2 +1,15 @@
1
- export {};
1
+ export const CosmeticEffects = [
2
+ "emissive", "combatReactive", "killReactive", "bossKillReactive", "animated"
3
+ ];
4
+ export const ShipCosmeticTypes = [
5
+ "sailsEmblem", "sailsPattern", "sailsColor", "hull", "crowsNest", "trophy", "wheel", "helmDecor", "ornaments", "figureHead", "nameplate",
6
+ "pet", "crewLook", "aura", "shipSkin", "armorSkin",
7
+ "culverinWeaponSkin", "demicannonWeaponSkin", "longGunWeaponSkin", "bombardWeaponSkin", "ballistaWeaponSkin", "torpedoWeaponSkin"
8
+ ];
9
+ export const PlayerOutfitTypes = [
10
+ "headwear", "faceAccessory", "torso", "neck", "forearm", "hand", "waist", "bottom", "footwear", "bodyCosmetics", "emote"
11
+ ];
12
+ export const PlayerAppearanceTypes = [
13
+ "hair", "facialHair", "eyeColor"
14
+ ];
2
15
  //# sourceMappingURL=CosmeticProperties.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CosmeticProperties.js","sourceRoot":"","sources":["../../src/types/CosmeticProperties.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"CosmeticProperties.js","sourceRoot":"","sources":["../../src/types/CosmeticProperties.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC3B,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,kBAAkB,EAAE,UAAU;CACtE,CAAC;AAEX,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW;IACxI,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW;IAClD,oBAAoB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB;CAC3H,CAAC;AAEX,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,OAAO;CAClH,CAAC;AAEX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,MAAM,EAAE,YAAY,EAAE,UAAU;CAC1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type WorldEventType = "convoy" | "eliteWarship" | "seaMonster" | "spectralShip";
2
+ //# sourceMappingURL=WorldEventProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorldEventProperties.d.ts","sourceRoot":"","sources":["../../src/types/WorldEventProperties.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,GAAG,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=WorldEventProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorldEventProperties.js","sourceRoot":"","sources":["../../src/types/WorldEventProperties.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skullandbonestools/snbdata",
3
- "version": "5.1.5",
3
+ "version": "5.2.1",
4
4
  "description": "Inofficial data package for the Skull and Bones game by Ubisoft.",
5
5
  "keywords": [
6
6
  "ubisoft",