@skullandbonestools/snbdata 8.0.12 → 8.0.13

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 +372 -367
  5. package/data/contracts.json +287 -287
  6. package/data/cosmetics.json +31606 -31606
  7. package/data/events.json +49 -49
  8. package/data/factions.json +135 -135
  9. package/data/items.json +16140 -16089
  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 -1681
  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 -395
  19. package/languages/ar/ar_achievements.json +271 -271
  20. package/languages/ar/ar_commodities.json +303 -299
  21. package/languages/ar/ar_contracts.json +98 -98
  22. package/languages/ar/ar_cosmetics.json +21771 -21771
  23. package/languages/ar/ar_events.json +15 -15
  24. package/languages/ar/ar_factions.json +69 -69
  25. package/languages/ar/ar_items.json +3125 -3113
  26. package/languages/ar/ar_locations.json +268 -268
  27. package/languages/ar/ar_materials.json +631 -631
  28. package/languages/ar/ar_modifications.json +446 -446
  29. package/languages/ar/ar_perks.json +3144 -3144
  30. package/languages/ar/ar_regions.json +15 -15
  31. package/languages/ar/ar_seasons.json +12 -12
  32. package/languages/ar/ar_sets.json +423 -423
  33. package/languages/ar/ar_ships.json +111 -111
  34. package/languages/ar/ar_territories.json +177 -177
  35. package/languages/ar/ar_ultimates.json +47 -47
  36. package/languages/ar/ar_worldEvents.json +82 -82
  37. package/languages/de/de_achievements.json +271 -271
  38. package/languages/de/de_commodities.json +303 -299
  39. package/languages/de/de_contracts.json +98 -98
  40. package/languages/de/de_cosmetics.json +21771 -21771
  41. package/languages/de/de_events.json +15 -15
  42. package/languages/de/de_factions.json +69 -69
  43. package/languages/de/de_items.json +3125 -3113
  44. package/languages/de/de_locations.json +268 -268
  45. package/languages/de/de_materials.json +631 -631
  46. package/languages/de/de_modifications.json +446 -446
  47. package/languages/de/de_perks.json +3144 -3144
  48. package/languages/de/de_seasons.json +12 -12
  49. package/languages/de/de_sets.json +423 -423
  50. package/languages/de/de_ships.json +111 -111
  51. package/languages/de/de_worldEvents.json +82 -82
  52. package/languages/en/en_achievements.json +271 -271
  53. package/languages/en/en_commodities.json +303 -299
  54. package/languages/en/en_contracts.json +98 -98
  55. package/languages/en/en_cosmetics.json +21771 -21771
  56. package/languages/en/en_events.json +15 -15
  57. package/languages/en/en_factions.json +69 -69
  58. package/languages/en/en_items.json +3125 -3113
  59. package/languages/en/en_locations.json +268 -268
  60. package/languages/en/en_materials.json +631 -631
  61. package/languages/en/en_modifications.json +446 -446
  62. package/languages/en/en_perks.json +3144 -3144
  63. package/languages/en/en_regions.json +15 -15
  64. package/languages/en/en_seasons.json +12 -12
  65. package/languages/en/en_sets.json +423 -423
  66. package/languages/en/en_ships.json +111 -111
  67. package/languages/en/en_territories.json +177 -177
  68. package/languages/en/en_ultimates.json +47 -47
  69. package/languages/en/en_worldEvents.json +82 -82
  70. package/languages/es/es_achievements.json +271 -271
  71. package/languages/es/es_commodities.json +303 -299
  72. package/languages/es/es_contracts.json +98 -98
  73. package/languages/es/es_cosmetics.json +21771 -21771
  74. package/languages/es/es_events.json +15 -15
  75. package/languages/es/es_factions.json +69 -69
  76. package/languages/es/es_items.json +3125 -3113
  77. package/languages/es/es_locations.json +268 -268
  78. package/languages/es/es_materials.json +631 -631
  79. package/languages/es/es_modifications.json +446 -446
  80. package/languages/es/es_perks.json +3144 -3144
  81. package/languages/es/es_regions.json +15 -15
  82. package/languages/es/es_seasons.json +12 -12
  83. package/languages/es/es_sets.json +423 -423
  84. package/languages/es/es_ships.json +111 -111
  85. package/languages/es/es_territories.json +177 -177
  86. package/languages/es/es_ultimates.json +47 -47
  87. package/languages/es/es_worldEvents.json +82 -82
  88. package/languages/fr/fr_achievements.json +271 -271
  89. package/languages/fr/fr_commodities.json +303 -299
  90. package/languages/fr/fr_contracts.json +98 -98
  91. package/languages/fr/fr_cosmetics.json +21771 -21771
  92. package/languages/fr/fr_events.json +15 -15
  93. package/languages/fr/fr_factions.json +69 -69
  94. package/languages/fr/fr_items.json +3125 -3113
  95. package/languages/fr/fr_locations.json +268 -268
  96. package/languages/fr/fr_materials.json +631 -631
  97. package/languages/fr/fr_modifications.json +446 -446
  98. package/languages/fr/fr_perks.json +3144 -3144
  99. package/languages/fr/fr_regions.json +15 -15
  100. package/languages/fr/fr_seasons.json +12 -12
  101. package/languages/fr/fr_sets.json +423 -423
  102. package/languages/fr/fr_ships.json +111 -111
  103. package/languages/fr/fr_territories.json +177 -177
  104. package/languages/fr/fr_ultimates.json +47 -47
  105. package/languages/fr/fr_worldEvents.json +82 -82
  106. package/languages/source/achievements.json +271 -271
  107. package/languages/source/commodities.json +303 -299
  108. package/languages/source/contracts.json +98 -98
  109. package/languages/source/cosmetics.json +21771 -21771
  110. package/languages/source/events.json +15 -15
  111. package/languages/source/factions.json +69 -69
  112. package/languages/source/items.json +3125 -3113
  113. package/languages/source/locations.json +268 -268
  114. package/languages/source/materials.json +631 -631
  115. package/languages/source/modifications.json +446 -446
  116. package/languages/source/perks.json +3144 -3144
  117. package/languages/source/regions.json +15 -15
  118. package/languages/source/seasons.json +12 -12
  119. package/languages/source/sets.json +423 -423
  120. package/languages/source/ships.json +111 -111
  121. package/languages/source/territories.json +177 -177
  122. package/languages/source/ultimates.json +47 -47
  123. package/languages/source/worldEvents.json +82 -82
  124. package/languages/zh/zh_achievements.json +271 -271
  125. package/languages/zh/zh_commodities.json +303 -299
  126. package/languages/zh/zh_contracts.json +98 -98
  127. package/languages/zh/zh_cosmetics.json +21771 -21771
  128. package/languages/zh/zh_events.json +15 -15
  129. package/languages/zh/zh_factions.json +69 -69
  130. package/languages/zh/zh_items.json +3125 -3113
  131. package/languages/zh/zh_locations.json +268 -268
  132. package/languages/zh/zh_materials.json +631 -631
  133. package/languages/zh/zh_modifications.json +446 -446
  134. package/languages/zh/zh_perks.json +3144 -3144
  135. package/languages/zh/zh_regions.json +15 -15
  136. package/languages/zh/zh_seasons.json +12 -12
  137. package/languages/zh/zh_sets.json +423 -423
  138. package/languages/zh/zh_ships.json +111 -111
  139. package/languages/zh/zh_territories.json +177 -177
  140. package/languages/zh/zh_ultimates.json +47 -47
  141. package/languages/zh/zh_worldEvents.json +82 -82
  142. package/package.json +44 -42
  143. package/dist/data_providers/seasons.d.ts +0 -16
  144. package/dist/data_providers/seasons.d.ts.map +0 -1
  145. package/dist/data_providers/seasons.js +0 -19
  146. package/dist/data_providers/seasons.js.map +0 -1
  147. package/dist/data_providers/ships.d.ts +0 -64
  148. package/dist/data_providers/ships.d.ts.map +0 -1
  149. package/dist/data_providers/ships.js +0 -45
  150. package/dist/data_providers/ships.js.map +0 -1
  151. package/dist/types/ShipSize.d.ts +0 -2
  152. package/dist/types/ShipSize.d.ts.map +0 -1
  153. package/dist/types/ShipSize.js +0 -2
  154. package/dist/types/ShipSize.js.map +0 -1
  155. package/dist/types/SlotWithGunports.d.ts +0 -8
  156. package/dist/types/SlotWithGunports.d.ts.map +0 -1
  157. package/dist/types/SlotWithGunports.js +0 -2
  158. package/dist/types/SlotWithGunports.js.map +0 -1
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.