@skullandbonestools/snbdata 5.0.13 → 5.0.15
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.
- package/README.md +2 -18
- package/data/cosmetics.json +140 -2
- package/data/events.json +4 -0
- package/data/materials.json +4 -0
- package/data/sets.json +8 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,8 @@ Based on the raw data is the `snbdata` npm package available, featuring access t
|
|
|
34
34
|
npm i @skullandbonestools/snbdata
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
**Access the Data
|
|
37
|
+
**Access the Data**\
|
|
38
|
+
Below are just some examples on how to access certain datasets, a full overview including examples can be found on the wiki page [Datasets](https://github.com/SkullAndBonesTools/SkullAndBonesData/wiki/Datasets).
|
|
38
39
|
|
|
39
40
|
**Ships**\
|
|
40
41
|
Getting the season of the `Barque` (TS):
|
|
@@ -46,23 +47,6 @@ const season:Season = Ships.barque.season; // Retrieves the season object for th
|
|
|
46
47
|
console.log(season.id); // Returns ragingTides
|
|
47
48
|
```
|
|
48
49
|
|
|
49
|
-
**Materials**\
|
|
50
|
-
Getting the required materials for `Orca Intricate Apparatus` (JS):
|
|
51
|
-
```javascript
|
|
52
|
-
import { Materials } from "@skullandbonestools/snbdata";
|
|
53
|
-
|
|
54
|
-
// Only check required materials not their amount
|
|
55
|
-
Materials.orcaIntricateApparatus.required.keys().forEach(material => {
|
|
56
|
-
console.log("Id: %s - Required: %s", material.id, material.required?.keys().map((m) => m.id).toArray().join(", "));
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
// Output
|
|
60
|
-
Id: orcasMechanism - Required: undefined
|
|
61
|
-
Id: torsionSpring - Required: planetaryGearset, woodPitch
|
|
62
|
-
Id: planetaryGearset - Required: cogwheel
|
|
63
|
-
Id: woodPitch - Required: woodTar
|
|
64
|
-
```
|
|
65
|
-
|
|
66
50
|
**Cosmetics / Items**\
|
|
67
51
|
Getting the `aBloodyPromise` sails emblem and printing all its properties.
|
|
68
52
|
```javascript
|
package/data/cosmetics.json
CHANGED
|
@@ -22041,9 +22041,9 @@
|
|
|
22041
22041
|
"id": "theFinalWord",
|
|
22042
22042
|
"type": "sailsEmblem",
|
|
22043
22043
|
"set": "honorAndJudgment",
|
|
22044
|
-
"obtainable": "",
|
|
22044
|
+
"obtainable": "ubisoftStoreFreeClaim",
|
|
22045
22045
|
"dateAdded": "2025-04-15",
|
|
22046
|
-
"lastUpdated": "2025-
|
|
22046
|
+
"lastUpdated": "2025-05-13"
|
|
22047
22047
|
},
|
|
22048
22048
|
"stolenLegacies": {
|
|
22049
22049
|
"id": "stolenLegacies",
|
|
@@ -23258,5 +23258,143 @@
|
|
|
23258
23258
|
"obtainable": "ubisoftStore",
|
|
23259
23259
|
"dateAdded": "2025-05-06",
|
|
23260
23260
|
"lastUpdated": "2025-05-06"
|
|
23261
|
+
},
|
|
23262
|
+
"wolfsShield": {
|
|
23263
|
+
"id": "wolfsShield",
|
|
23264
|
+
"type": "sailsEmblem",
|
|
23265
|
+
"set": "emberWolf",
|
|
23266
|
+
"obtainable": "ubisoftStore",
|
|
23267
|
+
"dateAdded": "2025-05-13",
|
|
23268
|
+
"lastUpdated": "2025-05-13"
|
|
23269
|
+
},
|
|
23270
|
+
"ruthlessReckoning": {
|
|
23271
|
+
"id": "ruthlessReckoning",
|
|
23272
|
+
"type": "sailsPattern",
|
|
23273
|
+
"set": "emberWolf",
|
|
23274
|
+
"obtainable": "ubisoftStore",
|
|
23275
|
+
"dateAdded": "2025-05-13",
|
|
23276
|
+
"lastUpdated": "2025-05-13"
|
|
23277
|
+
},
|
|
23278
|
+
"sacrilegiousPast": {
|
|
23279
|
+
"id": "sacrilegiousPast",
|
|
23280
|
+
"type": "sailsColor",
|
|
23281
|
+
"effect": "emissive",
|
|
23282
|
+
"set": "emberWolf",
|
|
23283
|
+
"obtainable": "ubisoftStore",
|
|
23284
|
+
"dateAdded": "2025-05-13",
|
|
23285
|
+
"lastUpdated": "2025-05-13"
|
|
23286
|
+
},
|
|
23287
|
+
"flamingGuardian": {
|
|
23288
|
+
"id": "flamingGuardian",
|
|
23289
|
+
"type": "figureHead",
|
|
23290
|
+
"effect": "emissive",
|
|
23291
|
+
"set": "emberWolf",
|
|
23292
|
+
"obtainable": "ubisoftStore",
|
|
23293
|
+
"dateAdded": "2025-05-13",
|
|
23294
|
+
"lastUpdated": "2025-05-13"
|
|
23295
|
+
},
|
|
23296
|
+
"bornFromAshes": {
|
|
23297
|
+
"id": "bornFromAshes",
|
|
23298
|
+
"type": "hull",
|
|
23299
|
+
"set": "emberWolf",
|
|
23300
|
+
"obtainable": "ubisoftStore",
|
|
23301
|
+
"dateAdded": "2025-05-13",
|
|
23302
|
+
"lastUpdated": "2025-05-13"
|
|
23303
|
+
},
|
|
23304
|
+
"seawolf": {
|
|
23305
|
+
"id": "seawolf",
|
|
23306
|
+
"type": "nameplate",
|
|
23307
|
+
"effect": "emissive",
|
|
23308
|
+
"set": "emberWolf",
|
|
23309
|
+
"obtainable": "ubisoftStore",
|
|
23310
|
+
"dateAdded": "2025-05-13",
|
|
23311
|
+
"lastUpdated": "2025-05-13"
|
|
23312
|
+
},
|
|
23313
|
+
"smiteTheDark": {
|
|
23314
|
+
"id": "smiteTheDark",
|
|
23315
|
+
"type": "wheel",
|
|
23316
|
+
"effect": "emissive",
|
|
23317
|
+
"set": "emberWolf",
|
|
23318
|
+
"obtainable": "ubisoftStore",
|
|
23319
|
+
"dateAdded": "2025-05-13",
|
|
23320
|
+
"lastUpdated": "2025-05-13"
|
|
23321
|
+
},
|
|
23322
|
+
"regalCommand": {
|
|
23323
|
+
"id": "regalCommand",
|
|
23324
|
+
"type": "torso",
|
|
23325
|
+
"set": "sinfulNature",
|
|
23326
|
+
"obtainable": "ubisoftStore",
|
|
23327
|
+
"dateAdded": "2025-05-13",
|
|
23328
|
+
"lastUpdated": "2025-05-13"
|
|
23329
|
+
},
|
|
23330
|
+
"chainsOfDominion": {
|
|
23331
|
+
"id": "chainsOfDominion",
|
|
23332
|
+
"type": "neck",
|
|
23333
|
+
"set": "sinfulNature",
|
|
23334
|
+
"obtainable": "ubisoftStore",
|
|
23335
|
+
"dateAdded": "2025-05-13",
|
|
23336
|
+
"lastUpdated": "2025-05-13"
|
|
23337
|
+
},
|
|
23338
|
+
"sovereignsLash": {
|
|
23339
|
+
"id": "sovereignsLash",
|
|
23340
|
+
"type": "forearm",
|
|
23341
|
+
"set": "sinfulNature",
|
|
23342
|
+
"obtainable": "ubisoftStore",
|
|
23343
|
+
"dateAdded": "2025-05-13",
|
|
23344
|
+
"lastUpdated": "2025-05-13"
|
|
23345
|
+
},
|
|
23346
|
+
"twinWolves": {
|
|
23347
|
+
"id": "twinWolves",
|
|
23348
|
+
"type": "waist",
|
|
23349
|
+
"set": "sinfulNature",
|
|
23350
|
+
"obtainable": "ubisoftStore",
|
|
23351
|
+
"dateAdded": "2025-05-13",
|
|
23352
|
+
"lastUpdated": "2025-05-13"
|
|
23353
|
+
},
|
|
23354
|
+
"eyesOfTheCommodore": {
|
|
23355
|
+
"id": "eyesOfTheCommodore",
|
|
23356
|
+
"type": "hand",
|
|
23357
|
+
"set": "sinfulNature",
|
|
23358
|
+
"obtainable": "ubisoftStore",
|
|
23359
|
+
"dateAdded": "2025-05-13",
|
|
23360
|
+
"lastUpdated": "2025-05-13"
|
|
23361
|
+
},
|
|
23362
|
+
"nightwindTrousers": {
|
|
23363
|
+
"id": "nightwindTrousers",
|
|
23364
|
+
"type": "bottom",
|
|
23365
|
+
"set": "sinfulNature",
|
|
23366
|
+
"obtainable": "ubisoftStore",
|
|
23367
|
+
"dateAdded": "2025-05-13",
|
|
23368
|
+
"lastUpdated": "2025-05-13"
|
|
23369
|
+
},
|
|
23370
|
+
"ironstepSabatons": {
|
|
23371
|
+
"id": "ironstepSabatons",
|
|
23372
|
+
"type": "footwear",
|
|
23373
|
+
"set": "sinfulNature",
|
|
23374
|
+
"obtainable": "ubisoftStore",
|
|
23375
|
+
"dateAdded": "2025-05-13",
|
|
23376
|
+
"lastUpdated": "2025-05-13"
|
|
23377
|
+
},
|
|
23378
|
+
"embermarked": {
|
|
23379
|
+
"id": "embermarked",
|
|
23380
|
+
"type": "bodyCosmetics",
|
|
23381
|
+
"set": "sinfulNature",
|
|
23382
|
+
"obtainable": "ubisoftStore",
|
|
23383
|
+
"dateAdded": "2025-05-13",
|
|
23384
|
+
"lastUpdated": "2025-05-13"
|
|
23385
|
+
},
|
|
23386
|
+
"comeGetSome": {
|
|
23387
|
+
"id": "comeGetSome",
|
|
23388
|
+
"type": "emote",
|
|
23389
|
+
"obtainable": "ubisoftStore",
|
|
23390
|
+
"dateAdded": "2025-05-13",
|
|
23391
|
+
"lastUpdated": "2025-05-13"
|
|
23392
|
+
},
|
|
23393
|
+
"hadEnough": {
|
|
23394
|
+
"id": "hadEnough",
|
|
23395
|
+
"type": "emote",
|
|
23396
|
+
"obtainable": "ubisoftStore",
|
|
23397
|
+
"dateAdded": "2025-05-13",
|
|
23398
|
+
"lastUpdated": "2025-05-13"
|
|
23261
23399
|
}
|
|
23262
23400
|
}
|
package/data/events.json
CHANGED
package/data/materials.json
CHANGED
package/data/sets.json
CHANGED
|
@@ -1162,5 +1162,13 @@
|
|
|
1162
1162
|
"inquisitiveDawn": {
|
|
1163
1163
|
"id": "inquisitiveDawn",
|
|
1164
1164
|
"type": "player"
|
|
1165
|
+
},
|
|
1166
|
+
"emberWolf": {
|
|
1167
|
+
"id": "emberWolf",
|
|
1168
|
+
"type": "ship"
|
|
1169
|
+
},
|
|
1170
|
+
"sinfulNature": {
|
|
1171
|
+
"id": "sinfulNature",
|
|
1172
|
+
"type": "player"
|
|
1165
1173
|
}
|
|
1166
1174
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
export { Seasons } from "./daos/seasons";
|
|
2
|
-
export { Ships } from "./daos/ships";
|
|
3
|
-
export { Materials } from "./daos/materials";
|
|
4
1
|
export { Commodities } from "./daos/commodities";
|
|
2
|
+
export { Contracts } from "./daos/contracts";
|
|
5
3
|
export { Cosmetics } from "./daos/cosmetics";
|
|
4
|
+
export { Events } from "./daos/events";
|
|
6
5
|
export { Items } from "./daos/items";
|
|
6
|
+
export { Materials } from "./daos/materials";
|
|
7
|
+
export { Modifications } from "./daos/modifications";
|
|
8
|
+
export { Seasons } from "./daos/seasons";
|
|
7
9
|
export { Sets } from "./daos/sets";
|
|
10
|
+
export { Ships } from "./daos/ships";
|
|
11
|
+
export { WorldEvents } from "./daos/worldEvents";
|
|
8
12
|
export { Rarity } from "./types/Rarity";
|
|
9
13
|
export { ShipSize } from "./types/ShipProperties";
|
|
10
14
|
export { Effect } from "./types/CosmeticProperties";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,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"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
// DAOs
|
|
2
|
-
export { Seasons } from "./daos/seasons";
|
|
3
|
-
export { Ships } from "./daos/ships";
|
|
4
|
-
export { Materials } from "./daos/materials";
|
|
5
2
|
export { Commodities } from "./daos/commodities";
|
|
3
|
+
export { Contracts } from "./daos/contracts";
|
|
6
4
|
export { Cosmetics } from "./daos/cosmetics";
|
|
5
|
+
export { Events } from "./daos/events";
|
|
7
6
|
export { Items } from "./daos/items";
|
|
7
|
+
export { Materials } from "./daos/materials";
|
|
8
|
+
export { Modifications } from "./daos/modifications";
|
|
9
|
+
export { Seasons } from "./daos/seasons";
|
|
8
10
|
export { Sets } from "./daos/sets";
|
|
11
|
+
export { Ships } from "./daos/ships";
|
|
12
|
+
export { WorldEvents } from "./daos/worldEvents";
|
|
9
13
|
//# 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,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,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"}
|