@skullandbonestools/snbdata 8.0.11 → 8.0.12

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.
Files changed (158) hide show
  1. package/LICENSE +661 -661
  2. package/README.md +105 -105
  3. package/data/achievements.json +738 -738
  4. package/data/commodities.json +367 -367
  5. package/data/contracts.json +287 -287
  6. package/data/cosmetics.json +31606 -31250
  7. package/data/events.json +49 -49
  8. package/data/factions.json +135 -135
  9. package/data/items.json +16089 -16076
  10. package/data/materials.json +937 -937
  11. package/data/modifications.json +1579 -1579
  12. package/data/regions.json +25 -25
  13. package/data/seasons.json +64 -64
  14. package/data/sets.json +1681 -1661
  15. package/data/ships.json +946 -946
  16. package/data/territories.json +407 -407
  17. package/data/ultimates.json +108 -108
  18. package/data/worldEvents.json +395 -383
  19. package/dist/data_providers/seasons.d.ts +16 -0
  20. package/dist/data_providers/seasons.d.ts.map +1 -0
  21. package/dist/data_providers/seasons.js +19 -0
  22. package/dist/data_providers/seasons.js.map +1 -0
  23. package/dist/data_providers/ships.d.ts +64 -0
  24. package/dist/data_providers/ships.d.ts.map +1 -0
  25. package/dist/data_providers/ships.js +45 -0
  26. package/dist/data_providers/ships.js.map +1 -0
  27. package/dist/types/ShipSize.d.ts +2 -0
  28. package/dist/types/ShipSize.d.ts.map +1 -0
  29. package/dist/types/ShipSize.js +2 -0
  30. package/dist/types/ShipSize.js.map +1 -0
  31. package/dist/types/SlotWithGunports.d.ts +8 -0
  32. package/dist/types/SlotWithGunports.d.ts.map +1 -0
  33. package/dist/types/SlotWithGunports.js +2 -0
  34. package/dist/types/SlotWithGunports.js.map +1 -0
  35. package/languages/ar/ar_achievements.json +271 -271
  36. package/languages/ar/ar_commodities.json +299 -299
  37. package/languages/ar/ar_contracts.json +98 -98
  38. package/languages/ar/ar_cosmetics.json +21771 -21543
  39. package/languages/ar/ar_events.json +15 -15
  40. package/languages/ar/ar_factions.json +69 -69
  41. package/languages/ar/ar_items.json +3113 -3107
  42. package/languages/ar/ar_locations.json +268 -261
  43. package/languages/ar/ar_materials.json +631 -631
  44. package/languages/ar/ar_modifications.json +446 -446
  45. package/languages/ar/ar_perks.json +3144 -3144
  46. package/languages/ar/ar_regions.json +15 -15
  47. package/languages/ar/ar_seasons.json +12 -12
  48. package/languages/ar/ar_sets.json +423 -418
  49. package/languages/ar/ar_ships.json +111 -111
  50. package/languages/ar/ar_territories.json +177 -177
  51. package/languages/ar/ar_ultimates.json +47 -47
  52. package/languages/ar/ar_worldEvents.json +82 -80
  53. package/languages/de/de_achievements.json +271 -271
  54. package/languages/de/de_commodities.json +299 -299
  55. package/languages/de/de_contracts.json +98 -98
  56. package/languages/de/de_cosmetics.json +21771 -21543
  57. package/languages/de/de_events.json +15 -15
  58. package/languages/de/de_factions.json +69 -69
  59. package/languages/de/de_items.json +3113 -3107
  60. package/languages/de/de_locations.json +268 -261
  61. package/languages/de/de_materials.json +631 -631
  62. package/languages/de/de_modifications.json +446 -446
  63. package/languages/de/de_perks.json +3144 -3144
  64. package/languages/de/de_seasons.json +12 -12
  65. package/languages/de/de_sets.json +423 -418
  66. package/languages/de/de_ships.json +111 -111
  67. package/languages/de/de_worldEvents.json +82 -80
  68. package/languages/en/en_achievements.json +271 -271
  69. package/languages/en/en_commodities.json +299 -299
  70. package/languages/en/en_contracts.json +98 -98
  71. package/languages/en/en_cosmetics.json +21771 -21543
  72. package/languages/en/en_events.json +15 -15
  73. package/languages/en/en_factions.json +69 -69
  74. package/languages/en/en_items.json +3113 -3107
  75. package/languages/en/en_locations.json +268 -261
  76. package/languages/en/en_materials.json +631 -631
  77. package/languages/en/en_modifications.json +446 -446
  78. package/languages/en/en_perks.json +3144 -3144
  79. package/languages/en/en_regions.json +15 -15
  80. package/languages/en/en_seasons.json +12 -12
  81. package/languages/en/en_sets.json +423 -418
  82. package/languages/en/en_ships.json +111 -111
  83. package/languages/en/en_territories.json +177 -177
  84. package/languages/en/en_ultimates.json +47 -47
  85. package/languages/en/en_worldEvents.json +82 -80
  86. package/languages/es/es_achievements.json +271 -271
  87. package/languages/es/es_commodities.json +299 -299
  88. package/languages/es/es_contracts.json +98 -98
  89. package/languages/es/es_cosmetics.json +21771 -21543
  90. package/languages/es/es_events.json +15 -15
  91. package/languages/es/es_factions.json +69 -69
  92. package/languages/es/es_items.json +3113 -3107
  93. package/languages/es/es_locations.json +268 -261
  94. package/languages/es/es_materials.json +631 -631
  95. package/languages/es/es_modifications.json +446 -446
  96. package/languages/es/es_perks.json +3144 -3144
  97. package/languages/es/es_regions.json +15 -15
  98. package/languages/es/es_seasons.json +12 -12
  99. package/languages/es/es_sets.json +423 -418
  100. package/languages/es/es_ships.json +111 -111
  101. package/languages/es/es_territories.json +177 -177
  102. package/languages/es/es_ultimates.json +47 -47
  103. package/languages/es/es_worldEvents.json +82 -80
  104. package/languages/fr/fr_achievements.json +271 -271
  105. package/languages/fr/fr_commodities.json +299 -299
  106. package/languages/fr/fr_contracts.json +98 -98
  107. package/languages/fr/fr_cosmetics.json +21771 -21543
  108. package/languages/fr/fr_events.json +15 -15
  109. package/languages/fr/fr_factions.json +69 -69
  110. package/languages/fr/fr_items.json +3113 -3107
  111. package/languages/fr/fr_locations.json +268 -261
  112. package/languages/fr/fr_materials.json +631 -631
  113. package/languages/fr/fr_modifications.json +446 -446
  114. package/languages/fr/fr_perks.json +3144 -3144
  115. package/languages/fr/fr_regions.json +15 -15
  116. package/languages/fr/fr_seasons.json +12 -12
  117. package/languages/fr/fr_sets.json +423 -418
  118. package/languages/fr/fr_ships.json +111 -111
  119. package/languages/fr/fr_territories.json +177 -177
  120. package/languages/fr/fr_ultimates.json +47 -47
  121. package/languages/fr/fr_worldEvents.json +82 -80
  122. package/languages/source/achievements.json +271 -271
  123. package/languages/source/commodities.json +299 -299
  124. package/languages/source/contracts.json +98 -98
  125. package/languages/source/cosmetics.json +21771 -21543
  126. package/languages/source/events.json +15 -15
  127. package/languages/source/factions.json +69 -69
  128. package/languages/source/items.json +3113 -3107
  129. package/languages/source/locations.json +268 -261
  130. package/languages/source/materials.json +631 -631
  131. package/languages/source/modifications.json +446 -446
  132. package/languages/source/perks.json +3144 -3144
  133. package/languages/source/regions.json +15 -15
  134. package/languages/source/seasons.json +12 -12
  135. package/languages/source/sets.json +423 -418
  136. package/languages/source/ships.json +111 -111
  137. package/languages/source/territories.json +177 -177
  138. package/languages/source/ultimates.json +47 -47
  139. package/languages/source/worldEvents.json +82 -80
  140. package/languages/zh/zh_achievements.json +271 -271
  141. package/languages/zh/zh_commodities.json +299 -299
  142. package/languages/zh/zh_contracts.json +98 -98
  143. package/languages/zh/zh_cosmetics.json +21771 -21543
  144. package/languages/zh/zh_events.json +15 -15
  145. package/languages/zh/zh_factions.json +69 -69
  146. package/languages/zh/zh_items.json +3113 -3107
  147. package/languages/zh/zh_locations.json +268 -261
  148. package/languages/zh/zh_materials.json +631 -631
  149. package/languages/zh/zh_modifications.json +446 -446
  150. package/languages/zh/zh_perks.json +3144 -3144
  151. package/languages/zh/zh_regions.json +15 -15
  152. package/languages/zh/zh_seasons.json +12 -12
  153. package/languages/zh/zh_sets.json +423 -418
  154. package/languages/zh/zh_ships.json +111 -111
  155. package/languages/zh/zh_territories.json +177 -177
  156. package/languages/zh/zh_ultimates.json +47 -47
  157. package/languages/zh/zh_worldEvents.json +82 -80
  158. package/package.json +42 -42
package/README.md CHANGED
@@ -1,106 +1,106 @@
1
- # Skull and Bones Data
2
- [![GitHub Release](https://img.shields.io/github/v/release/SkullAndBonesTools/SkullAndBonesData?include_prereleases&sort=semver&display_name=release&style=for-the-badge&logo=github&labelColor=1f2328&color=aliceblue)](https://github.com/SkullAndBonesTools/SkullAndBonesData/releases/latest) [![NPM Version](https://img.shields.io/npm/v/%40skullandbonestools%2Fsnbdata?style=for-the-badge&logo=npm&color=%23c60000&labelColor=1f2328)](https://www.npmjs.com/package/@skullandbonestools/snbdata) [![Crowdin](https://img.shields.io/badge/Crowdin-green?style=for-the-badge&logo=crowdin&labelColor=1f2328)](https://crowdin.com/project/skull-and-bones-tools)
3
-
4
- Welcome to the inofficial data repository for the Skull and Bones game by Ubisoft.
5
-
6
- This repository hosts data for the several elements in the game like **Materials**, **Items**, **Cosmetics** and more in a JSON format and provides a npm package to access the data in typescript and javascript.
7
-
8
- This project is also compliant with the Terms of Service of Skull and Bones and approved by Ubisoft, as the data was/is collected and written down by hand and not acquired in other ways.
9
-
10
- For each update of the game a new release is provided containing the updated files which can be found under the [Releases](https://github.com/SkullAndBonesTools/SkullAndBonesData/releases) section.
11
-
12
- The version schema of the release is tied to the Skull and Bones version the data represents and put together like so:\
13
- **Example**: snbdata@5.1.2
14
- ```
15
- 5 - Season (a year has 4 seasons, so season 5 = Y2S1)
16
- 1 - Patch Level
17
- 4 - Bug Fixes / Minor Changes (this one is related to releases of this repository)
18
-
19
- This represents the SnB game version Y2S1.1.X
20
- ```
21
-
22
- *Because the first published version of the package was for Y2S1, so season 5 of Skull and Bones, the first release was the 5.0.0.*
23
-
24
- ## How to Use
25
- ### Raw Data
26
- You can find the raw data files as JSON in the [data](https://github.com/SkullAndBonesTools/SkullAndBonesData/tree/main/data) folder.
27
-
28
- ### Package
29
- Based on the raw data is the `snbdata` npm package available, featuring access to the data as objects with type safety and autocompletion.
30
-
31
- #### Guide
32
- **Install the Package**
33
- ```
34
- npm i @skullandbonestools/snbdata
35
- ```
36
-
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).
39
-
40
- **Ships**\
41
- Getting the season of the `Barque` (TS):
42
- ```typescript
43
- import { Ships } from "@skullandbonestools/snbdata";
44
- import { Season } from '@skullandbonestools/snbdata/dist/daos/seasons';
45
-
46
- const season:Season = Ships.barque.season; // Retrieves the season object for the barque
47
- console.log(season.id); // Returns ragingTides
48
- ```
49
-
50
- **Cosmetics / Items**\
51
- Getting the `aBloodyPromise` sails emblem and printing all its properties.
52
- ```javascript
53
- import { Cosmetics, Items } from '@skullandbonestools/snbdata';
54
- import { Cosmetic } from '@skullandbonestools/snbdata/dist/daos/cosmetics'; //TS type
55
-
56
- const aBloodyPromise = Cosmetics.aBloodyPromise; // Works the same for items e.g. Items.heydensGuard
57
- Object.entries(aBloodyPromise).forEach(([key, value]) => {
58
- if(!value) return;
59
- console.log(`${key}: ${value}`);
60
- });
61
-
62
- // Output
63
- id: aBloodyPromise
64
- type: sailsEmblem
65
- dateAdded: 2024-03-16
66
- lastUpdated: 2024-03-30
67
- set: ashenCorsair
68
- obtainable: premiumEdition
69
- ```
70
-
71
- ### Translation
72
- You can find all translations of the data in several languages in the [languages](https://github.com/SkullAndBonesTools/SkullAndBonesData/tree/main/languages) folder.\
73
- The translations are maintained on and automatically pulled before each release from [Crowdin](#adding-translations-for-the-data).
74
-
75
- ## History
76
- The data available in the repository was originally put together for [Skull and Bones Tools](https://skullandbonestools.de) and got published with **Year 2 Season 1 - Ascent into Chaos** with the goal of supporting other creators and to promote up to date informations by allowing everyone to contribute to the dataset.
77
-
78
- ## Contribute
79
- If you like the project please give it a ⭐ here on Github.
80
-
81
- There are several ways to contribute to the project:
82
-
83
- ### Reporting wrong or outdated informations
84
- If you have noticed a wrong or outdated informations please open an **Issue** so it can be checked and corrected quickly.
85
-
86
- ### Adding translations for the data
87
- The project uses Crowdin to translate all the data, where everyone can contribute.
88
- You can find it here: https://crowdin.com/project/skull-and-bones-tools
89
-
90
- ### Adding or updating informations
91
- If you want to add to or update informations of the dataset, the general open source approach of a Pull Request is used.
92
- Which consits of creating a **Fork**, adding/updating the code in the forked repository and then creating a **Pull Request** in this repository to merge the changes of your fork into this one.
93
-
94
-
95
- ## Sponsor
96
- ### Crowdin
97
- Skull and Bones Data is, as part of the Skull and Bones Tools project, supported by Crowdin 💚
98
-
99
- [![Crowdin](/assets/crowdin-logo-dark.png)](https://crowdin.com/)
100
-
101
- Allowing me to provide a direct integration into this github project, an overview of all translations and an easy way for everyone to participate in the translation of the project.
102
-
103
- ## Support
104
- For general questions or support of any kind you can use the official Skull and Bones Tools Discord (https://discord.gg/fTgvPxR7eR) or the support@skullandbonestools.de email.
105
-
1
+ # Skull and Bones Data
2
+ [![GitHub Release](https://img.shields.io/github/v/release/SkullAndBonesTools/SkullAndBonesData?include_prereleases&sort=semver&display_name=release&style=for-the-badge&logo=github&labelColor=1f2328&color=aliceblue)](https://github.com/SkullAndBonesTools/SkullAndBonesData/releases/latest) [![NPM Version](https://img.shields.io/npm/v/%40skullandbonestools%2Fsnbdata?style=for-the-badge&logo=npm&color=%23c60000&labelColor=1f2328)](https://www.npmjs.com/package/@skullandbonestools/snbdata) [![Crowdin](https://img.shields.io/badge/Crowdin-green?style=for-the-badge&logo=crowdin&labelColor=1f2328)](https://crowdin.com/project/skull-and-bones-tools)
3
+
4
+ Welcome to the inofficial data repository for the Skull and Bones game by Ubisoft.
5
+
6
+ This repository hosts data for the several elements in the game like **Materials**, **Items**, **Cosmetics** and more in a JSON format and provides a npm package to access the data in typescript and javascript.
7
+
8
+ This project is also compliant with the Terms of Service of Skull and Bones and approved by Ubisoft, as the data was/is collected and written down by hand and not acquired in other ways.
9
+
10
+ For each update of the game a new release is provided containing the updated files which can be found under the [Releases](https://github.com/SkullAndBonesTools/SkullAndBonesData/releases) section.
11
+
12
+ The version schema of the release is tied to the Skull and Bones version the data represents and put together like so:\
13
+ **Example**: snbdata@5.1.2
14
+ ```
15
+ 5 - Season (a year has 4 seasons, so season 5 = Y2S1)
16
+ 1 - Patch Level
17
+ 4 - Bug Fixes / Minor Changes (this one is related to releases of this repository)
18
+
19
+ This represents the SnB game version Y2S1.1.X
20
+ ```
21
+
22
+ *Because the first published version of the package was for Y2S1, so season 5 of Skull and Bones, the first release was the 5.0.0.*
23
+
24
+ ## How to Use
25
+ ### Raw Data
26
+ You can find the raw data files as JSON in the [data](https://github.com/SkullAndBonesTools/SkullAndBonesData/tree/main/data) folder.
27
+
28
+ ### Package
29
+ Based on the raw data is the `snbdata` npm package available, featuring access to the data as objects with type safety and autocompletion.
30
+
31
+ #### Guide
32
+ **Install the Package**
33
+ ```
34
+ npm i @skullandbonestools/snbdata
35
+ ```
36
+
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).
39
+
40
+ **Ships**\
41
+ Getting the season of the `Barque` (TS):
42
+ ```typescript
43
+ import { Ships } from "@skullandbonestools/snbdata";
44
+ import { Season } from '@skullandbonestools/snbdata/dist/daos/seasons';
45
+
46
+ const season:Season = Ships.barque.season; // Retrieves the season object for the barque
47
+ console.log(season.id); // Returns ragingTides
48
+ ```
49
+
50
+ **Cosmetics / Items**\
51
+ Getting the `aBloodyPromise` sails emblem and printing all its properties.
52
+ ```javascript
53
+ import { Cosmetics, Items } from '@skullandbonestools/snbdata';
54
+ import { Cosmetic } from '@skullandbonestools/snbdata/dist/daos/cosmetics'; //TS type
55
+
56
+ const aBloodyPromise = Cosmetics.aBloodyPromise; // Works the same for items e.g. Items.heydensGuard
57
+ Object.entries(aBloodyPromise).forEach(([key, value]) => {
58
+ if(!value) return;
59
+ console.log(`${key}: ${value}`);
60
+ });
61
+
62
+ // Output
63
+ id: aBloodyPromise
64
+ type: sailsEmblem
65
+ dateAdded: 2024-03-16
66
+ lastUpdated: 2024-03-30
67
+ set: ashenCorsair
68
+ obtainable: premiumEdition
69
+ ```
70
+
71
+ ### Translation
72
+ You can find all translations of the data in several languages in the [languages](https://github.com/SkullAndBonesTools/SkullAndBonesData/tree/main/languages) folder.\
73
+ The translations are maintained on and automatically pulled before each release from [Crowdin](#adding-translations-for-the-data).
74
+
75
+ ## History
76
+ The data available in the repository was originally put together for [Skull and Bones Tools](https://skullandbonestools.de) and got published with **Year 2 Season 1 - Ascent into Chaos** with the goal of supporting other creators and to promote up to date informations by allowing everyone to contribute to the dataset.
77
+
78
+ ## Contribute
79
+ If you like the project please give it a ⭐ here on Github.
80
+
81
+ There are several ways to contribute to the project:
82
+
83
+ ### Reporting wrong or outdated informations
84
+ If you have noticed a wrong or outdated informations please open an **Issue** so it can be checked and corrected quickly.
85
+
86
+ ### Adding translations for the data
87
+ The project uses Crowdin to translate all the data, where everyone can contribute.
88
+ You can find it here: https://crowdin.com/project/skull-and-bones-tools
89
+
90
+ ### Adding or updating informations
91
+ If you want to add to or update informations of the dataset, the general open source approach of a Pull Request is used.
92
+ Which consits of creating a **Fork**, adding/updating the code in the forked repository and then creating a **Pull Request** in this repository to merge the changes of your fork into this one.
93
+
94
+
95
+ ## Sponsor
96
+ ### Crowdin
97
+ Skull and Bones Data is, as part of the Skull and Bones Tools project, supported by Crowdin 💚
98
+
99
+ [![Crowdin](/assets/crowdin-logo-dark.png)](https://crowdin.com/)
100
+
101
+ Allowing me to provide a direct integration into this github project, an overview of all translations and an easy way for everyone to participate in the translation of the project.
102
+
103
+ ## Support
104
+ For general questions or support of any kind you can use the official Skull and Bones Tools Discord (https://discord.gg/fTgvPxR7eR) or the support@skullandbonestools.de email.
105
+
106
106
  For any business inquiries or related questions please use the contact@skullandbonestools.de email.