unite-lib 1.3.0 → 1.3.2
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 +19 -7
- package/dist/i18n/index.cjs +14 -3
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.global.js +14 -3
- package/dist/i18n/index.global.js.map +1 -1
- package/dist/i18n/index.js +14 -3
- package/dist/i18n/index.js.map +1 -1
- package/dist/index.cjs +20 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.global.js +19 -7
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,13 +72,14 @@ The library includes data and images ready to use in Pokémon Unite apps, bots,
|
|
|
72
72
|
|
|
73
73
|
### Roster (Pokémon)
|
|
74
74
|
|
|
75
|
-
Roster icons and stat images for the full active roster.
|
|
75
|
+
Roster icons and stat images for the full active roster. The library includes every playable Pokémon with roster and stat assets.
|
|
76
76
|
|
|
77
|
-
| Roster
|
|
78
|
-
|
|
79
|
-
|  |  |
|
|
80
|
-
|  Pikachu |  |  Charizard |  |
|
|
80
|
+
|  Venusaur |  |  Blastoise |  |
|
|
81
|
+
|  Gengar |  |  Dragonite |  |
|
|
82
|
+
|  Greninja |  |  Mew |  |
|
|
82
83
|
|
|
83
84
|
### Moves
|
|
84
85
|
|
|
@@ -92,12 +93,23 @@ Move images (slot 1 and 2, variants 1 and 2) per Pokémon.
|
|
|
92
93
|
|
|
93
94
|
Game map images (Theia Sky Ruins variants: Groudon, Kyogre, Rayquaza). Each map has multiple resolutions (1x, 2x, 4x); use `getMapImageUrl(map, resolution?, options?)` to pick one. Names and descriptions are available in all supported locales via `getMapName(mapId, locale)` and `getMapDescription(mapId, locale)` (see [i18n](#i18n-localized-names)).
|
|
94
95
|
|
|
95
|
-
|
|
96
|
+
| Groudon | Kyogre | Rayquaza |
|
|
97
|
+
|---------|--------|----------|
|
|
98
|
+
|  |  |  |
|
|
96
99
|
|
|
97
100
|
### Neutrals and spawns
|
|
98
101
|
|
|
99
102
|
The library includes a **neutrals** catalog (wild Pokémon and items that spawn on maps) with images in `neutrals/`, and a unified **spawns** list in `src/spawns.ts` (same pattern as `pokemons.ts`) linking each spawn to a map and a neutral. Use `getSpawnsByMap(mapId)` to get all spawns for a map (e.g. `"map-groudon"`, `"map-kyogre"`, `"map-rayquaza"`), `getNeutralById(id)` to resolve the neutral (e.g. for its image), and `getNeutralImageUrl(neutral, options?)` for the image URL.
|
|
100
103
|
|
|
104
|
+
| Wild Pokémon / Bosses | | | |
|
|
105
|
+
|-----------------------|---|---|---|
|
|
106
|
+
|  Accelgor |  Altaria |  Baltoy |  Bunnelby |
|
|
107
|
+
|  Escavalier |  Groudon |  Indeedee |  Kyogre |
|
|
108
|
+
|  Natu |  Rayquaza |  Regidrago |  Regice |
|
|
109
|
+
|  Regieleki |  Regirock |  Registeel |  Xatu |
|
|
110
|
+
| **Items** | | | |
|
|
111
|
+
|  Salac Berry |  Sitrus Berry | | |
|
|
112
|
+
|
|
101
113
|
---
|
|
102
114
|
|
|
103
115
|
## Local development (testing without publishing to npm)
|
package/dist/i18n/index.cjs
CHANGED
|
@@ -2413,7 +2413,7 @@ var maps = [
|
|
|
2413
2413
|
"2": "maps/map-groudon/map-groudon@2x.png",
|
|
2414
2414
|
"4": "maps/map-groudon/map-groudon@4x.png"
|
|
2415
2415
|
},
|
|
2416
|
-
description: "Map with Groudon
|
|
2416
|
+
description: "Map with Groudon"
|
|
2417
2417
|
},
|
|
2418
2418
|
{
|
|
2419
2419
|
id: "map-kyogre",
|
|
@@ -2424,7 +2424,7 @@ var maps = [
|
|
|
2424
2424
|
"2": "maps/map-kyogre/map-kyogre@2x.png",
|
|
2425
2425
|
"4": "maps/map-kyogre/map-kyogre@4x.png"
|
|
2426
2426
|
},
|
|
2427
|
-
description: "Map with Kyogre
|
|
2427
|
+
description: "Map with Kyogre"
|
|
2428
2428
|
},
|
|
2429
2429
|
{
|
|
2430
2430
|
id: "map-rayquaza",
|
|
@@ -2435,7 +2435,7 @@ var maps = [
|
|
|
2435
2435
|
"2": "maps/map-rayquaza/map-rayquaza@2x.png",
|
|
2436
2436
|
"4": "maps/map-rayquaza/map-rayquaza@4x.png"
|
|
2437
2437
|
},
|
|
2438
|
-
description: "Map with Rayquaza
|
|
2438
|
+
description: "Map with Rayquaza"
|
|
2439
2439
|
}
|
|
2440
2440
|
];
|
|
2441
2441
|
var maps_default = maps;
|
|
@@ -2478,6 +2478,8 @@ for (const m of maps_default) {
|
|
|
2478
2478
|
for (const n of neutrals_default) {
|
|
2479
2479
|
names[n.id] = n.name;
|
|
2480
2480
|
}
|
|
2481
|
+
names["mega-mewtwo-x"] = "Mega Mewtwo X";
|
|
2482
|
+
names["mega-mewtwo-y"] = "Mega Mewtwo Y";
|
|
2481
2483
|
Object.assign(names, {
|
|
2482
2484
|
"spawn.info.groudon.boss": "<p>When defeated, all team members alive receive a <strong>buff</strong> and <strong>15 aeos points</strong>.<br>This buff is <strong>permanent until the holder is KO'd</strong>. When the holder is <strong>KO'd</strong>, the buff <strong>transfers to the killer</strong>.<br>It provides a <strong>goal-scoring speed boost</strong>, a <strong>huge damage boost</strong>, and a <strong>small shield</strong>.<br>Always spawn at 2:00.</p>",
|
|
2483
2485
|
"spawn.info.bunnelby.initial": "<p>They <strong>spawn at the beginning of the game</strong> and <strong>never respawn</strong> once killed.</p><p>Give 2 points.</p>",
|
|
@@ -2612,9 +2614,12 @@ var jaJP = {
|
|
|
2612
2614
|
vaporeon: "\u30B7\u30E3\u30EF\u30FC\u30BA",
|
|
2613
2615
|
snorlax: "\u30AB\u30D3\u30B4\u30F3",
|
|
2614
2616
|
zapdos: "\u30B5\u30F3\u30C0\u30FC",
|
|
2617
|
+
moltres: "\u30D5\u30A1\u30A4\u30E4\u30FC",
|
|
2615
2618
|
dragonite: "\u30AB\u30A4\u30EA\u30E5\u30FC",
|
|
2616
2619
|
mewtwox: "\u30E1\u30AC\u30DF\u30E5\u30A6\u30C4\u30FCX",
|
|
2617
2620
|
mewtwoy: "\u30E1\u30AC\u30DF\u30E5\u30A6\u30C4\u30FCY",
|
|
2621
|
+
"mega-mewtwo-x": "\u30E1\u30AC\u30DF\u30E5\u30A6\u30C4\u30FCX",
|
|
2622
|
+
"mega-mewtwo-y": "\u30E1\u30AC\u30DF\u30E5\u30A6\u30C4\u30FCY",
|
|
2618
2623
|
mew: "\u30DF\u30E5\u30A6",
|
|
2619
2624
|
azumarill: "\u30DE\u30EA\u30EB\u30EA",
|
|
2620
2625
|
espeon: "\u30A8\u30FC\u30D5\u30A3",
|
|
@@ -2775,9 +2780,12 @@ var fr = {
|
|
|
2775
2780
|
vaporeon: "Aquali",
|
|
2776
2781
|
snorlax: "Ronflex",
|
|
2777
2782
|
zapdos: "\xC9lecthor",
|
|
2783
|
+
moltres: "Sulfura",
|
|
2778
2784
|
dragonite: "Dracolosse",
|
|
2779
2785
|
mewtwox: "M\xE9ga-Mewtwo X",
|
|
2780
2786
|
mewtwoy: "M\xE9ga-Mewtwo Y",
|
|
2787
|
+
"mega-mewtwo-x": "M\xE9ga-Mewtwo X",
|
|
2788
|
+
"mega-mewtwo-y": "M\xE9ga-Mewtwo Y",
|
|
2781
2789
|
mew: "Mew",
|
|
2782
2790
|
azumarill: "Azumarill",
|
|
2783
2791
|
espeon: "Mentali",
|
|
@@ -2938,9 +2946,12 @@ var es = {
|
|
|
2938
2946
|
vaporeon: "Vaporeon",
|
|
2939
2947
|
snorlax: "Snorlax",
|
|
2940
2948
|
zapdos: "Zapdos",
|
|
2949
|
+
moltres: "Moltres",
|
|
2941
2950
|
dragonite: "Dragonite",
|
|
2942
2951
|
mewtwox: "Mega-Mewtwo X",
|
|
2943
2952
|
mewtwoy: "Mega-Mewtwo Y",
|
|
2953
|
+
"mega-mewtwo-x": "Mega-Mewtwo X",
|
|
2954
|
+
"mega-mewtwo-y": "Mega-Mewtwo Y",
|
|
2944
2955
|
mew: "Mew",
|
|
2945
2956
|
azumarill: "Azumarill",
|
|
2946
2957
|
espeon: "Espeon",
|