mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-07 18:00:38 +01:00
Compare commits
52
Commits
v1.29.6
...
7e6925772e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e6925772e | ||
|
|
b479c09cf8 | ||
|
|
eddc8168ba | ||
|
|
80dfc59017 | ||
|
|
fdc0f34e08 | ||
|
|
c0fdf10eba | ||
|
|
2aba4da1af | ||
|
|
581d889e9b | ||
|
|
6a280982d0 | ||
|
|
fe68ebf450 | ||
|
|
18cc885869 | ||
|
|
9d4e1a66a1 | ||
|
|
de8d3396b1 | ||
|
|
baaae612fd | ||
|
|
4b5a511216 | ||
|
|
57dacddcfd | ||
|
|
a56665f3a3 | ||
|
|
c27e903c31 | ||
|
|
476f180a1a | ||
|
|
b05e70faee | ||
|
|
5c30169eca | ||
|
|
1226ce89a7 | ||
|
|
dcc8207fb6 | ||
|
|
c50f40a887 | ||
|
|
85f7d420a0 | ||
|
|
1aec1b2885 | ||
|
|
51226c8503 | ||
|
|
407d00b25b | ||
|
|
fb4fb926e8 | ||
|
|
70b0df55b0 | ||
|
|
7e8fd40c61 | ||
|
|
9286104391 | ||
|
|
814192c0b0 | ||
|
|
8fa6f87540 | ||
|
|
d265f0b0a1 | ||
|
|
9ccaade1fc | ||
|
|
2bb5bb33c0 | ||
|
|
e456063c27 | ||
|
|
7bc25f0722 | ||
|
|
6ed991d281 | ||
|
|
2487e0eebf | ||
|
|
6cc44cdfee | ||
|
|
eca26e1e79 | ||
|
|
5484a15071 | ||
|
|
b58ca4f594 | ||
|
|
7708e2c1db | ||
|
|
de77e27d50 | ||
|
|
e159583333 | ||
|
|
bfcf183a6e | ||
|
|
8c1bf450a8 | ||
|
|
9ffc040723 | ||
|
|
f33a73e1bb |
No files matched your search
@@ -16,10 +16,11 @@ on:
|
|||||||
- blitzkit/assets-dev
|
- blitzkit/assets-dev
|
||||||
default: blitzkit/assets
|
default: blitzkit/assets
|
||||||
|
|
||||||
archive_url:
|
asset_source:
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
description: Archive URL to download instead of Steam client
|
description: "Archive URL or Steam to download (example: steam:APP_ID/DEPOT_ID or zip:URL_TO_ZIP)"
|
||||||
|
default: "steam:444200/444202"
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 2 * * *"
|
- cron: "0 2 * * *"
|
||||||
@@ -64,18 +65,18 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- run: bun run setup
|
- run: bun run setup
|
||||||
|
|
||||||
- name: AppArmor hack
|
- name: AppArmor hack
|
||||||
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
|
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
|
||||||
|
|
||||||
- name: Build assets
|
- name: Build assets
|
||||||
run: bun run build:assets --all-targets --manual
|
run: bun run build:assets --all-targets --source=${{ github.event.inputs.asset_source || 'steam:444200/444202' }}
|
||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
run: bun run build:bot
|
run: bun run build:bot
|
||||||
|
|
||||||
- name: Archive build
|
- name: Archive build
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: bot
|
name: bot
|
||||||
path: dist/bot
|
path: dist/bot
|
||||||
@@ -22,11 +22,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
@@ -38,11 +38,11 @@ jobs:
|
|||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v2
|
||||||
- uses: arduino/setup-protoc@v3
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GH_TOKEN }}
|
repo-token: ${{ secrets.GH_TOKEN }}
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
run: bun run build:website
|
run: bun run build:website
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist/website
|
path: dist/website
|
||||||
|
|
||||||
|
|||||||
Vendored
+2
@@ -65,6 +65,7 @@
|
|||||||
"deburr",
|
"deburr",
|
||||||
"decalmask",
|
"decalmask",
|
||||||
"decompressor",
|
"decompressor",
|
||||||
|
"décor",
|
||||||
"dedup",
|
"dedup",
|
||||||
"defence",
|
"defence",
|
||||||
"degressive",
|
"degressive",
|
||||||
@@ -96,6 +97,7 @@
|
|||||||
"gameplay",
|
"gameplay",
|
||||||
"glsl",
|
"glsl",
|
||||||
"GLTF",
|
"GLTF",
|
||||||
|
"GSOR",
|
||||||
"gtag",
|
"gtag",
|
||||||
"haha",
|
"haha",
|
||||||
"Herdbreaker",
|
"Herdbreaker",
|
||||||
|
|||||||
@@ -122,6 +122,7 @@
|
|||||||
"steam-user": "^5.2.3",
|
"steam-user": "^5.2.3",
|
||||||
"three": "^0.180.0",
|
"three": "^0.180.0",
|
||||||
"ts-proto": "^2.7.7",
|
"ts-proto": "^2.7.7",
|
||||||
|
"unzipit": "^1.4.3",
|
||||||
"yaml": "^2.8.1",
|
"yaml": "^2.8.1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -2413,6 +2414,8 @@
|
|||||||
|
|
||||||
"unstorage": ["[email protected]", "", { "dependencies": { "anymatch": "^3.1.3", "chokidar": "^4.0.3", "destr": "^2.0.5", "h3": "^1.15.4", "lru-cache": "^10.4.3", "node-fetch-native": "^1.6.7", "ofetch": "^1.4.1", "ufo": "^1.6.1" }, "peerDependencies": { "@azure/app-configuration": "^1.8.0", "@azure/cosmos": "^4.2.0", "@azure/data-tables": "^13.3.0", "@azure/identity": "^4.6.0", "@azure/keyvault-secrets": "^4.9.0", "@azure/storage-blob": "^12.26.0", "@capacitor/preferences": "^6.0.3 || ^7.0.0", "@deno/kv": ">=0.9.0", "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0 || ^9.0.0 || ^10.0.0", "@planetscale/database": "^1.19.0", "@upstash/redis": "^1.34.3", "@vercel/blob": ">=0.27.1", "@vercel/functions": "^2.2.12 || ^3.0.0", "@vercel/kv": "^1.0.1", "aws4fetch": "^1.0.20", "db0": ">=0.2.1", "idb-keyval": "^6.2.1", "ioredis": "^5.4.2", "uploadthing": "^7.4.4" }, "optionalPeers": ["@azure/app-configuration", "@azure/cosmos", "@azure/data-tables", "@azure/identity", "@azure/keyvault-secrets", "@azure/storage-blob", "@capacitor/preferences", "@deno/kv", "@netlify/blobs", "@planetscale/database", "@upstash/redis", "@vercel/blob", "@vercel/functions", "@vercel/kv", "aws4fetch", "db0", "idb-keyval", "ioredis", "uploadthing"] }, "sha512-KKGwRTT0iVBCErKemkJCLs7JdxNVfqTPc/85ae1XES0+bsHbc/sFBfVi5kJp156cc51BHinIH2l3k0EZ24vOBQ=="],
|
"unstorage": ["[email protected]", "", { "dependencies": { "anymatch": "^3.1.3", "chokidar": "^4.0.3", "destr": "^2.0.5", "h3": "^1.15.4", "lru-cache": "^10.4.3", "node-fetch-native": "^1.6.7", "ofetch": "^1.4.1", "ufo": "^1.6.1" }, "peerDependencies": { "@azure/app-configuration": "^1.8.0", "@azure/cosmos": "^4.2.0", "@azure/data-tables": "^13.3.0", "@azure/identity": "^4.6.0", "@azure/keyvault-secrets": "^4.9.0", "@azure/storage-blob": "^12.26.0", "@capacitor/preferences": "^6.0.3 || ^7.0.0", "@deno/kv": ">=0.9.0", "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0 || ^9.0.0 || ^10.0.0", "@planetscale/database": "^1.19.0", "@upstash/redis": "^1.34.3", "@vercel/blob": ">=0.27.1", "@vercel/functions": "^2.2.12 || ^3.0.0", "@vercel/kv": "^1.0.1", "aws4fetch": "^1.0.20", "db0": ">=0.2.1", "idb-keyval": "^6.2.1", "ioredis": "^5.4.2", "uploadthing": "^7.4.4" }, "optionalPeers": ["@azure/app-configuration", "@azure/cosmos", "@azure/data-tables", "@azure/identity", "@azure/keyvault-secrets", "@azure/storage-blob", "@capacitor/preferences", "@deno/kv", "@netlify/blobs", "@planetscale/database", "@upstash/redis", "@vercel/blob", "@vercel/functions", "@vercel/kv", "aws4fetch", "db0", "idb-keyval", "ioredis", "uploadthing"] }, "sha512-KKGwRTT0iVBCErKemkJCLs7JdxNVfqTPc/85ae1XES0+bsHbc/sFBfVi5kJp156cc51BHinIH2l3k0EZ24vOBQ=="],
|
||||||
|
|
||||||
|
"unzipit": ["[email protected]", "", { "dependencies": { "uzip-module": "^1.0.2" } }, "sha512-gsq2PdJIWWGhx5kcdWStvNWit9FVdTewm4SEG7gFskWs+XCVaULt9+BwuoBtJiRE8eo3L1IPAOrbByNLtLtIlg=="],
|
||||||
|
|
||||||
"upath": ["[email protected]", "", {}, "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="],
|
"upath": ["[email protected]", "", {}, "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="],
|
||||||
|
|
||||||
"update-browserslist-db": ["[email protected]", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw=="],
|
"update-browserslist-db": ["[email protected]", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw=="],
|
||||||
@@ -2431,6 +2434,8 @@
|
|||||||
|
|
||||||
"utility-types": ["[email protected]", "", {}, "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw=="],
|
"utility-types": ["[email protected]", "", {}, "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw=="],
|
||||||
|
|
||||||
|
"uzip-module": ["[email protected]", "", {}, "sha512-AMqwWZaknLM77G+VPYNZLEruMGWGzyigPK3/Whg99B3S6vGHuqsyl5ZrOv1UUF3paGK1U6PM0cnayioaryg/fA=="],
|
||||||
|
|
||||||
"varuna": ["varuna@workspace:packages/varuna"],
|
"varuna": ["varuna@workspace:packages/varuna"],
|
||||||
|
|
||||||
"vfile": ["[email protected]", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="],
|
"vfile": ["[email protected]", "", { "dependencies": { "@types/unist": "^3.0.0", "vfile-message": "^4.0.0" } }, "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q=="],
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# BlitzKit 1.29.7
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Re-introduced the ability to deploy BlitzKit OpenTests
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# BlitzKit 1.29.8
|
||||||
|
|
||||||
|
Thank you to [Mark Greene](https://github.com/Hitjack007) for your contributions this update.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Added an option to clear provisions and consumables from all tanks in Compare
|
||||||
|
- Added the ability to choose stock turrets and guns in Mixer if a tank has any
|
||||||
|
- Added streaks to Guesser
|
||||||
|
- Introduced an option to partially reveal tanks in Guesser
|
||||||
|
- This removes the darkness effect but keeps the name hidden
|
||||||
|
- This will reset your streak to 0
|
||||||
|
- Regardless of getting the right guess on the tank's name, your response will be counted as incorrect if partially revealed
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The Tankopedia now smoothly resizes when enlarging on interaction
|
||||||
|
- [Mark Greene] Stock turrets now correctly mount the corresponding stock gun
|
||||||
|
- The consumable and provision buttons in Compare are no longer tiny
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
# Christmas Garage Guide 2025
|
||||||
|
|
||||||
|
This content was pre-recorded on a test server and the version you may see may not be the same. Please see [the official WoTB portal](https://wotblitz.com/) for the most up-to-date information.
|
||||||
|
|
||||||
|
The holiday season has arrived, and this year the celebrations spill directly into your garage, transforming the familiar space into a festive hub filled with activities, rewards, and seasonal flair. Instead of just offering decorations or a visual makeover, this event brings a full set of mechanics that turn everyday battles into a steady stream of progress. Whether you’re aiming for bonuses, collectibles, or new tanks, the garage is designed to make every match feel like part of a larger holiday journey.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## The Music Box
|
||||||
|
|
||||||
|
The familiar Snow Globes are absent this year, replaced entirely by **Music Boxes**, which act as the new way to try your luck for seasonal rewards. They behave similarly to the Snow Globes and give you a chance to obtain various items, including a shot at the brand-new **[GSOR the TANK](https://blitzkit.app/tanks/gsor-the-tank/)**. But this time around, **they do not guarantee a tank every single time.** But as a bonus, the Music Box guarantees you will not receive duplicate tanks. Once you have a tank, the Music Box will try its best to give you a different one each time.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Win Battles, Earn Rewards
|
||||||
|
|
||||||
|
Each victory during the event rewards you with **3 Hot Coffees**, a seasonal currency that serves as the backbone of the progression system. These coffees can be exchanged for a variety of Festive Town rewards, giving you reasons to keep pushing through battles even if you’re just casually playing.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
With the coffees, you’ll also be able to claim **2 tank certificates**, one for **tier VII** vehicles and another covering **tier IX–X** options.
|
||||||
|
|
||||||
|
The tier VII pool includes the [E 25](https://blitzkit.app/tanks/e-25), [CS-52 LIS](https://blitzkit.app/tanks/cs-52-lis), [AMX 13 57](https://blitzkit.app/tanks/amx-13-57), [Steyr WT](https://blitzkit.app/tanks/steyr-wt), [Kunze Panzer](https://blitzkit.app/tanks/kunze-panzer), and [Super Hellcat](https://blitzkit.app/tanks/super-hellcat). Meanwhile, the tier IX–X certificate gives access to higher-tier picks like the [121B](https://blitzkit.app/tanks/121b), [AMX 30 B](https://blitzkit.app/tanks/amx-30-b), [Obj. 260](https://blitzkit.app/tanks/obj-260), [Char Futur 4](https://blitzkit.app/tanks/char-futur-4), [TL-7-120](https://blitzkit.app/tanks/tl-7-120), and [Object 452K](https://blitzkit.app/tanks/object-452k).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Christmas Tree
|
||||||
|
|
||||||
|
Golden tokens allow you to upgrade your Christmas Tree through **four distinct stages**, each bringing your garage closer to its fully decorated holiday form.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
As the tree grows, additional ornament slots open up, eight in total, which appear on the left side of your screen. These slots give you more room to customize the look of your garage and make the tree feel like something you’ve built up piece by piece over the course of the event. Each new ornament adds to the atmosphere, making the progression feel both cosmetic and rewarding.
|
||||||
|
|
||||||
|
A fully decorated tree grants up to **+25% silver** per battle, turning your regular gameplay into a more profitable experience without requiring extra effort. Ensure all your ornaments come from the same set to unlock the full potential of the tree (all left, all middle, or all right).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Yuletide Stall
|
||||||
|
|
||||||
|
Your golden tokens can also be invested into upgrading the **Yuletide Stall**, another element of the garage that evolves as you level it up. Each upgrade unlocks new rewards, giving you incentives to distribute your tokens across different attractions instead of focusing on only one. The stall begins in a simple state, but after upgrades it transforms visually and functionally, becoming a more vibrant part of your garage.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Each upgrade unlocks a tier worth of rewards that you can claim in exchange for Free XP, Gold, Silver, and more Hot Coffees!
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Upgrade Your Shooting Gallery
|
||||||
|
|
||||||
|
Another upgradeable area is the **Shooting Gallery**, which contributes its own set of rewards as it levels up. Enhancing the gallery expands your options for exchanging mastery badges, making those badges more useful during the event than they usually are.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Consider yourselves debriefed. Happy holidays!
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
"version": "1.29.6",
|
"version": "1.29.8",
|
||||||
"license": "BlitzKit License",
|
"license": "BlitzKit License",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
const seasonNumbers = range(
|
const seasonNumbers = range(
|
||||||
FIRST_MINIMAL_ARCHIVED_RATING_SEASON,
|
FIRST_MINIMAL_ARCHIVED_RATING_SEASON,
|
||||||
latestArchivedSeasonNumber + (onGoingSeason ? 1 : 0) + 1
|
latestArchivedSeasonNumber + (onGoingSeason ? 1 : 0) + 1
|
||||||
);
|
).slice(-25);
|
||||||
|
|
||||||
function addOptions(option: SlashCommandSubcommandBuilder) {
|
function addOptions(option: SlashCommandSubcommandBuilder) {
|
||||||
const { strings } = translator(Locale.EnglishUS);
|
const { strings } = translator(Locale.EnglishUS);
|
||||||
@@ -196,7 +196,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
strings.common.leagues as Record<string, string>
|
strings.common.leagues as Record<string, string>
|
||||||
)[name]
|
)[name]
|
||||||
),
|
),
|
||||||
}) satisfies APIApplicationCommandOptionChoice<string>
|
} satisfies APIApplicationCommandOptionChoice<string>)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.setRequired(true);
|
.setRequired(true);
|
||||||
@@ -219,8 +219,8 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
const season = seasonOption
|
const season = seasonOption
|
||||||
? parseInt(seasonOption)
|
? parseInt(seasonOption)
|
||||||
: onGoingSeason
|
: onGoingSeason
|
||||||
? latestArchivedSeasonNumber + 1
|
? latestArchivedSeasonNumber + 1
|
||||||
: latestArchivedSeasonNumber;
|
: latestArchivedSeasonNumber;
|
||||||
const isCurrentSeason = season === latestArchivedSeasonNumber + 1;
|
const isCurrentSeason = season === latestArchivedSeasonNumber + 1;
|
||||||
let titleName: string;
|
let titleName: string;
|
||||||
let titleImage: string | undefined;
|
let titleImage: string | undefined;
|
||||||
@@ -258,7 +258,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
position: player.number,
|
position: player.number,
|
||||||
clan: player.clan_tag,
|
clan: player.clan_tag,
|
||||||
nickname: player.nickname,
|
nickname: player.nickname,
|
||||||
}) satisfies SimplifiedPlayer
|
} satisfies SimplifiedPlayer)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
: await getArchivedRatingLeaderboard(region, season!).then(
|
: await getArchivedRatingLeaderboard(region, season!).then(
|
||||||
@@ -295,7 +295,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
.deleted_player,
|
.deleted_player,
|
||||||
{ id: player.id }
|
{ id: player.id }
|
||||||
),
|
),
|
||||||
}) satisfies SimplifiedPlayer
|
} satisfies SimplifiedPlayer)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@@ -349,7 +349,7 @@ export const ratingLeaderboardCommand = new Promise<CommandRegistry>(
|
|||||||
score: player.score,
|
score: player.score,
|
||||||
clan: player.clan_tag,
|
clan: player.clan_tag,
|
||||||
nickname: player.nickname,
|
nickname: player.nickname,
|
||||||
}) satisfies SimplifiedPlayer
|
} satisfies SimplifiedPlayer)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
: await getArchivedRatingLeaderboard(region, season!).then(
|
: await getArchivedRatingLeaderboard(region, season!).then(
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ export function localizationObject(
|
|||||||
(!strict || validNameRegex.test(translation)) && translation.length > 0;
|
(!strict || validNameRegex.test(translation)) && translation.length > 0;
|
||||||
|
|
||||||
if (!isValid) {
|
if (!isValid) {
|
||||||
console.warn(
|
// console.warn(
|
||||||
`Invalid localization for ${locale} (${path}): ${translation}; skipping...`
|
// `Invalid localization for ${locale} (${path}): ${translation}; skipping...`
|
||||||
);
|
// );
|
||||||
return localizations;
|
return localizations;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
export enum BlitzVFSSourceType {
|
|
||||||
Steam,
|
|
||||||
}
|
|
||||||
|
|
||||||
type BlitzVFSSource = {
|
|
||||||
type: BlitzVFSSourceType;
|
|
||||||
|
|
||||||
username: string;
|
|
||||||
password: string;
|
|
||||||
|
|
||||||
app: number;
|
|
||||||
os: "windows";
|
|
||||||
};
|
|
||||||
|
|
||||||
export class BlitzVFS {
|
|
||||||
constructor(private source: BlitzVFSSource) {}
|
|
||||||
|
|
||||||
async init() {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
async file(path: string) {
|
|
||||||
return new Uint8Array();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -17,7 +17,7 @@ export async function getArchivedLatestSeasonNumber() {
|
|||||||
if (ratingInfo.detail) {
|
if (ratingInfo.detail) {
|
||||||
const regionsURL = (
|
const regionsURL = (
|
||||||
(await fetch(
|
(await fetch(
|
||||||
`https://api.github.com/repos/tresabhi/${assertSecret(
|
`https://api.github.com/repos/${assertSecret(
|
||||||
import.meta.env.PUBLIC_ASSET_REPO
|
import.meta.env.PUBLIC_ASSET_REPO
|
||||||
)}/git/trees/main`
|
)}/git/trees/main`
|
||||||
).then((response) => response.json())) as GitHubTrees
|
).then((response) => response.json())) as GitHubTrees
|
||||||
|
|||||||
@@ -917,7 +917,13 @@
|
|||||||
"next": "Next",
|
"next": "Next",
|
||||||
"no_results": "No results"
|
"no_results": "No results"
|
||||||
},
|
},
|
||||||
"stats": "{correct} / {total} guessed correctly"
|
"stats": "{correct} / {total} correct, {streak} streak",
|
||||||
|
"help": {
|
||||||
|
"title": "Partially reveal tank?",
|
||||||
|
"description": "Reveals the tank without showing the name. This round will be considered incorrect and break your streak!",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"reveal": "Reveal"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"tankopedia": {
|
"tankopedia": {
|
||||||
@@ -1267,10 +1273,12 @@
|
|||||||
"upgrade": "Upgrade"
|
"upgrade": "Upgrade"
|
||||||
},
|
},
|
||||||
"provisions": {
|
"provisions": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
},
|
},
|
||||||
"consumables": {
|
"consumables": {
|
||||||
"clear": "Clear"
|
"clear": "Clear this tank",
|
||||||
|
"clear_all": "Clear all tanks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -612,7 +612,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rating": {
|
"rating": {
|
||||||
"name": "rating",
|
"name": "côtée",
|
||||||
"description": "Rating player's statistics",
|
"description": "Rating player's statistics",
|
||||||
"subcommands": {
|
"subcommands": {
|
||||||
"today": {
|
"today": {
|
||||||
|
|||||||
@@ -804,7 +804,7 @@
|
|||||||
},
|
},
|
||||||
"guess": {
|
"guess": {
|
||||||
"name": "猜测",
|
"name": "猜测",
|
||||||
"button": "What could it be?",
|
"button": "这会是什么?",
|
||||||
"description": "坦克剪影小游戏",
|
"description": "坦克剪影小游戏",
|
||||||
"seo_description": "看剪影猜坦克",
|
"seo_description": "看剪影猜坦克",
|
||||||
"search": {
|
"search": {
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
"steam-user": "^5.2.3",
|
"steam-user": "^5.2.3",
|
||||||
"three": "^0.180.0",
|
"three": "^0.180.0",
|
||||||
"ts-proto": "^2.7.7",
|
"ts-proto": "^2.7.7",
|
||||||
|
"unzipit": "^1.4.3",
|
||||||
"yaml": "^2.8.1"
|
"yaml": "^2.8.1"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -5,10 +5,12 @@ import { vfs } from "./constants";
|
|||||||
export async function boosterIcons() {
|
export async function boosterIcons() {
|
||||||
console.log("Building booster icons...");
|
console.log("Building booster icons...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("booster icons");
|
const uploader = new AssetUploader("booster icons");
|
||||||
const boosterFiles = (vfs.dir(`Data/Gfx/Shared/boosters`)).filter(
|
const boosterFiles = vfs
|
||||||
(file) => !file.includes("@2x.txt") && !file.startsWith("texture0")
|
.dir("Data/Gfx/Shared/boosters")
|
||||||
);
|
.filter(
|
||||||
|
(file) => !file.includes("@2x.txt") && !file.startsWith("texture0")
|
||||||
|
);
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await vfs.file(`Data/Gfx/Shared/boosters/texture0.packed.webp`)
|
await vfs.file(`Data/Gfx/Shared/boosters/texture0.packed.webp`)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,12 +1,33 @@
|
|||||||
import { assertSecret } from "@blitzkit/core";
|
import { assertSecret } from "@blitzkit/core";
|
||||||
import { SteamVFS } from "../core/steam/vfs";
|
import { AbstractVFS } from "../core/vfs/abstract";
|
||||||
|
import { SteamVFS } from "../core/vfs/steam";
|
||||||
|
import { ZipVFS } from "../core/vfs/zip";
|
||||||
|
|
||||||
const APP = 444200;
|
const steamPattern = /steam:(\d+)\/(\d+)/;
|
||||||
const DEPOT = 444202;
|
const zipPattern = /zip:(.+)/;
|
||||||
|
|
||||||
export const vfs = await new SteamVFS(
|
const source = Bun.argv
|
||||||
assertSecret(import.meta.env.STEAM_USERNAME),
|
.find((arg) => arg.startsWith("--source="))
|
||||||
assertSecret(import.meta.env.STEAM_PASSWORD),
|
?.split("=")[1];
|
||||||
APP,
|
|
||||||
DEPOT
|
let resolved: AbstractVFS;
|
||||||
).init();
|
|
||||||
|
if (!source) {
|
||||||
|
throw new Error("No source specified");
|
||||||
|
} else if (steamPattern.test(source)) {
|
||||||
|
const [, app, depot] = source.match(steamPattern)!.map(Number);
|
||||||
|
|
||||||
|
resolved = await new SteamVFS(
|
||||||
|
assertSecret(import.meta.env.STEAM_USERNAME),
|
||||||
|
assertSecret(import.meta.env.STEAM_PASSWORD),
|
||||||
|
app,
|
||||||
|
depot
|
||||||
|
).init();
|
||||||
|
} else if (zipPattern.test(source)) {
|
||||||
|
const [, url] = source.match(zipPattern)!;
|
||||||
|
resolved = await new ZipVFS(url).init();
|
||||||
|
} else {
|
||||||
|
throw new Error("No valid source specified");
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vfs = resolved;
|
||||||
@@ -62,7 +62,7 @@ export async function consumableProvisionIcons() {
|
|||||||
.replace(".psd", "")
|
.replace(".psd", "")
|
||||||
.replace(".txt", "");
|
.replace(".txt", "");
|
||||||
|
|
||||||
if (vfs.has(`Data/${configPath}.packed.webp`)) {
|
if (vfs.resolve(`Data/${configPath}.packed.webp`)) {
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await vfs.file(`Data/${configPath}.packed.webp`)
|
await vfs.file(`Data/${configPath}.packed.webp`)
|
||||||
);
|
);
|
||||||
@@ -131,7 +131,7 @@ export async function consumableProvisionIcons() {
|
|||||||
.replace(".psd", "")
|
.replace(".psd", "")
|
||||||
.replace(".txt", "");
|
.replace(".txt", "");
|
||||||
|
|
||||||
if (vfs.has(`Data/${configPath}.packed.webp`)) {
|
if (vfs.resolve(`Data/${configPath}.packed.webp`)) {
|
||||||
const image = sharp(
|
const image = sharp(
|
||||||
await vfs.file(`Data/${configPath}.packed.webp`)
|
await vfs.file(`Data/${configPath}.packed.webp`)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -534,11 +534,11 @@ const blitzModuleTypeToBlitzkit: Record<keyof BlitzModuleType, ModuleType> = {
|
|||||||
export async function definitions() {
|
export async function definitions() {
|
||||||
console.log("Building definitions...");
|
console.log("Building definitions...");
|
||||||
|
|
||||||
using uploader = new AssetUploader("definitions");
|
const uploader = new AssetUploader("definitions");
|
||||||
const gameDefinitions: GameDefinitions = {
|
const gameDefinitions: GameDefinitions = {
|
||||||
version: (await vfs.text('Data/version.txt')).split(" ")[0],
|
version: (await vfs.text("Data/version.txt")).split(" ")[0],
|
||||||
nations: (
|
nations: (
|
||||||
await vfs.yaml<AvailableNationsYaml>('Data/available_nations.yaml')
|
await vfs.yaml<AvailableNationsYaml>("Data/available_nations.yaml")
|
||||||
).available_nations,
|
).available_nations,
|
||||||
gameModes: {},
|
gameModes: {},
|
||||||
roles: {},
|
roles: {},
|
||||||
@@ -561,10 +561,12 @@ export async function definitions() {
|
|||||||
[TankClass.TANK_DESTROYER]: { skills: [] },
|
[TankClass.TANK_DESTROYER]: { skills: [] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const nations = vfs.dir('Data/XML/item_defs/vehicles').filter((nation) => nation !== "common")
|
const nations = vfs
|
||||||
|
.dir("Data/XML/item_defs/vehicles")
|
||||||
|
.filter((nation) => nation !== "common");
|
||||||
const tankStringIdMap: Record<string, number> = {};
|
const tankStringIdMap: Record<string, number> = {};
|
||||||
const optionalDevices = await vfs.xml<{ root: OptionalDevices }>(
|
const optionalDevices = await vfs.xml<{ root: OptionalDevices }>(
|
||||||
'Data/XML/item_defs/vehicles/common/optional_devices.xml'
|
"Data/XML/item_defs/vehicles/common/optional_devices.xml"
|
||||||
);
|
);
|
||||||
const stringsI18n: Record<string, Record<string, string>> = {};
|
const stringsI18n: Record<string, Record<string, string>> = {};
|
||||||
|
|
||||||
@@ -617,9 +619,7 @@ export async function definitions() {
|
|||||||
const provisions: ProvisionsCommon = {};
|
const provisions: ProvisionsCommon = {};
|
||||||
|
|
||||||
for (const match of (
|
for (const match of (
|
||||||
await vfs.text(
|
await vfs.text(`Data/XML/item_defs/vehicles/common/consumables/list.xml`)
|
||||||
`Data/XML/item_defs/vehicles/common/consumables/list.xml`
|
|
||||||
)
|
|
||||||
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
||||||
if (match[1] === "prototypes") continue;
|
if (match[1] === "prototypes") continue;
|
||||||
|
|
||||||
@@ -634,9 +634,7 @@ export async function definitions() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const match of (
|
for (const match of (
|
||||||
await vfs.text(
|
await vfs.text(`Data/XML/item_defs/vehicles/common/provisions/list.xml`)
|
||||||
`Data/XML/item_defs/vehicles/common/provisions/list.xml`
|
|
||||||
)
|
|
||||||
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
).matchAll(/<items path="(.+)\.xml"\/>/g)) {
|
||||||
if (match[1] === "prototypes") continue;
|
if (match[1] === "prototypes") continue;
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export async function skillIcons() {
|
|||||||
const avatar = await vfs.xml<{ root: Avatar }>(
|
const avatar = await vfs.xml<{ root: Avatar }>(
|
||||||
`Data/XML/item_defs/tankmen/avatar.xml`
|
`Data/XML/item_defs/tankmen/avatar.xml`
|
||||||
);
|
);
|
||||||
using uploader = new AssetUploader("skill icons");
|
const uploader = new AssetUploader("skill icons");
|
||||||
|
|
||||||
for (const key in avatar.root.skills) {
|
for (const key in avatar.root.skills) {
|
||||||
const skill = avatar.root.skills[key];
|
const skill = avatar.root.skills[key];
|
||||||
|
|||||||
@@ -2,12 +2,15 @@ import { build } from "esbuild";
|
|||||||
import { cp, readdir, rm } from "fs/promises";
|
import { cp, readdir, rm } from "fs/promises";
|
||||||
import { argv } from "process";
|
import { argv } from "process";
|
||||||
|
|
||||||
|
const dev = argv.includes("--dev");
|
||||||
|
|
||||||
const projectDir = "../..";
|
const projectDir = "../..";
|
||||||
const srcRoot = `${projectDir}/packages/bot`;
|
const srcRoot = `${projectDir}/packages/bot`;
|
||||||
const distRoot = `${projectDir}/dist/bot`;
|
const distRoot = `${projectDir}/dist/bot`;
|
||||||
const modulesRoot = "../../node_modules";
|
const modulesRoot = dev
|
||||||
|
? "../../packages/bot/node_modules"
|
||||||
|
: "../../node_modules";
|
||||||
const workers = await readdir(`${srcRoot}/src/workers`);
|
const workers = await readdir(`${srcRoot}/src/workers`);
|
||||||
const dev = argv.includes("--dev");
|
|
||||||
|
|
||||||
await rm(distRoot, { recursive: true, force: true });
|
await rm(distRoot, { recursive: true, force: true });
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
} from "@blitzkit/core";
|
} from "@blitzkit/core";
|
||||||
import { Accessor, Document, Node, Scene } from "@gltf-transform/core";
|
import { Accessor, Document, Node, Scene } from "@gltf-transform/core";
|
||||||
import { times } from "lodash-es";
|
import { times } from "lodash-es";
|
||||||
import { SteamVFS } from "../steam/vfs";
|
import { SteamVFS } from "../vfs/vfs";
|
||||||
import {
|
import {
|
||||||
vertexAttributeGLTFName,
|
vertexAttributeGLTFName,
|
||||||
vertexAttributeGltfVectorSizes,
|
vertexAttributeGltfVectorSizes,
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { Document, Material, Node, Scene } from "@gltf-transform/core";
|
|||||||
import { dedup, prune } from "@gltf-transform/functions";
|
import { dedup, prune } from "@gltf-transform/functions";
|
||||||
import { times } from "lodash-es";
|
import { times } from "lodash-es";
|
||||||
import { dirname } from "path";
|
import { dirname } from "path";
|
||||||
import { SteamVFS } from "../../steam/vfs";
|
import { SteamVFS } from "../../vfs/vfs";
|
||||||
import { readBaseColor } from "../readBaseColor";
|
import { readBaseColor } from "../readBaseColor";
|
||||||
import { readNormal } from "../readNormal";
|
import { readNormal } from "../readNormal";
|
||||||
import { readRoughnessMetallic } from "../readRoughnessMetallic";
|
import { readRoughnessMetallic } from "../readRoughnessMetallic";
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { vfs } from "../../../buildAssets/constants";
|
|||||||
|
|
||||||
export async function readTexture(path: string) {
|
export async function readTexture(path: string) {
|
||||||
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
|
const ddsTexturePath = path.replace(".tex", ".dx11.dds");
|
||||||
const isDds = vfs.has(ddsTexturePath);
|
const isDds = vfs.resolve(ddsTexturePath);
|
||||||
const resolvedTexturePath = isDds
|
const resolvedTexturePath = isDds
|
||||||
? ddsTexturePath
|
? ddsTexturePath
|
||||||
: ddsTexturePath.replace(".dds", ".pvr");
|
: ddsTexturePath.replace(".dds", ".pvr");
|
||||||
|
|||||||
@@ -0,0 +1,84 @@
|
|||||||
|
import { readDVPL } from "@blitzkit/core";
|
||||||
|
import { XMLParser } from "fast-xml-parser";
|
||||||
|
import { normalize } from "path/posix";
|
||||||
|
import { parse } from "yaml";
|
||||||
|
|
||||||
|
export abstract class AbstractVFS {
|
||||||
|
textDecoder = new TextDecoder();
|
||||||
|
private xmlParser = new XMLParser();
|
||||||
|
|
||||||
|
abstract init(): Promise<typeof this>;
|
||||||
|
|
||||||
|
abstract dispose(): void;
|
||||||
|
|
||||||
|
abstract has(path: string): boolean;
|
||||||
|
|
||||||
|
abstract raw(path: string): Promise<Uint8Array>;
|
||||||
|
|
||||||
|
abstract paths(): string[];
|
||||||
|
|
||||||
|
resolve(path: string) {
|
||||||
|
const normalized = normalize(path);
|
||||||
|
if (this.has(normalized)) return normalized;
|
||||||
|
|
||||||
|
const dvplPath = `${normalized}.dvpl`;
|
||||||
|
if (this.has(dvplPath)) return dvplPath;
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
assert(path: string) {
|
||||||
|
const resolved = this.resolve(path);
|
||||||
|
|
||||||
|
if (resolved === null) throw new Error(`File not found: ${path}`);
|
||||||
|
|
||||||
|
return resolved;
|
||||||
|
}
|
||||||
|
|
||||||
|
async file(file: string) {
|
||||||
|
const resolved = this.assert(file);
|
||||||
|
const raw = await this.raw(resolved);
|
||||||
|
let buffer = raw;
|
||||||
|
|
||||||
|
if (resolved.endsWith(".dvpl")) {
|
||||||
|
buffer = new Uint8Array(readDVPL(Buffer.from(raw)));
|
||||||
|
}
|
||||||
|
|
||||||
|
return buffer;
|
||||||
|
}
|
||||||
|
|
||||||
|
dir(path: string) {
|
||||||
|
const parentSegments = path.split("/").length;
|
||||||
|
const children = new Set<string>();
|
||||||
|
|
||||||
|
for (const child of this.paths()) {
|
||||||
|
if (!child.startsWith(path) || child === path) continue;
|
||||||
|
|
||||||
|
const childSegments = child.split("/");
|
||||||
|
const nextSegment = childSegments[parentSegments];
|
||||||
|
|
||||||
|
children.add(nextSegment);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Array.from(children);
|
||||||
|
}
|
||||||
|
|
||||||
|
async text(path: string) {
|
||||||
|
const file = await this.file(path);
|
||||||
|
return this.textDecoder.decode(file);
|
||||||
|
}
|
||||||
|
|
||||||
|
async yaml<Type>(path: string) {
|
||||||
|
const file = await this.text(path);
|
||||||
|
return parse(file) as Type;
|
||||||
|
}
|
||||||
|
|
||||||
|
async xml<Type>(path: string) {
|
||||||
|
const file = await this.text(path);
|
||||||
|
return this.xmlParser.parse(file) as Type;
|
||||||
|
}
|
||||||
|
|
||||||
|
[Symbol.dispose]() {
|
||||||
|
this.dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,8 +1,5 @@
|
|||||||
import { readDVPL } from "@blitzkit/core/src/blitz";
|
|
||||||
import { XMLParser } from "fast-xml-parser";
|
|
||||||
import { normalize } from "path/posix";
|
|
||||||
import SteamUser, { EConnectionProtocol } from "steam-user";
|
import SteamUser, { EConnectionProtocol } from "steam-user";
|
||||||
import { parse } from "yaml";
|
import { AbstractVFS } from "./abstract";
|
||||||
|
|
||||||
interface SteamManifestFile {
|
interface SteamManifestFile {
|
||||||
chunks: {
|
chunks: {
|
||||||
@@ -33,11 +30,8 @@ interface SteamManifest {
|
|||||||
crc_clear: number;
|
crc_clear: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class SteamVFS {
|
export class SteamVFS extends AbstractVFS {
|
||||||
private steam = new SteamUser({ protocol: EConnectionProtocol.TCP });
|
private steam = new SteamUser({ protocol: EConnectionProtocol.TCP });
|
||||||
private textDecoder = new TextDecoder();
|
|
||||||
private xmlParser = new XMLParser();
|
|
||||||
|
|
||||||
private manifest: Map<string, SteamManifestFile> = new Map();
|
private manifest: Map<string, SteamManifestFile> = new Map();
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@@ -45,7 +39,9 @@ export class SteamVFS {
|
|||||||
private password: string,
|
private password: string,
|
||||||
private app: number,
|
private app: number,
|
||||||
private depot: number
|
private depot: number
|
||||||
) {}
|
) {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
this.steam.logOn({
|
this.steam.logOn({
|
||||||
@@ -71,10 +67,8 @@ export class SteamVFS {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
const paths: string[] = [];
|
|
||||||
for (const file of manifest.files) {
|
for (const file of manifest.files) {
|
||||||
const path = file.filename.replaceAll("\\", "/");
|
const path = file.filename.replaceAll("\\", "/");
|
||||||
paths.push(path);
|
|
||||||
this.manifest.set(path, file);
|
this.manifest.set(path, file);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -82,74 +76,23 @@ export class SteamVFS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
has(path: string) {
|
has(path: string) {
|
||||||
const normalized = normalize(path);
|
return this.manifest.has(path);
|
||||||
const dvplPath = `${normalized}.dvpl`;
|
|
||||||
|
|
||||||
return (
|
|
||||||
(this.manifest.has(dvplPath) && dvplPath) ||
|
|
||||||
(this.manifest.has(normalized) && normalized)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(requested: string) {
|
async raw(path: string) {
|
||||||
const path = this.has(requested);
|
|
||||||
|
|
||||||
if (!path) throw new Error(`File not found: ${requested}`);
|
|
||||||
|
|
||||||
return path;
|
|
||||||
}
|
|
||||||
|
|
||||||
dir(path: string) {
|
|
||||||
const parentSegments = path.split("/").length;
|
|
||||||
const children: string[] = [];
|
|
||||||
|
|
||||||
for (const child of this.manifest.keys()) {
|
|
||||||
const childSegments = child.split("/");
|
|
||||||
|
|
||||||
if (
|
|
||||||
child.startsWith(path) &&
|
|
||||||
parentSegments + 1 === childSegments.length
|
|
||||||
) {
|
|
||||||
children.push(childSegments.at(-1)!);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return children;
|
|
||||||
}
|
|
||||||
|
|
||||||
async file(requested: string) {
|
|
||||||
const path = this.assert(requested);
|
|
||||||
const fileManifest = this.manifest.get(path)!;
|
const fileManifest = this.manifest.get(path)!;
|
||||||
const downloaded: { type: "complete"; file: Buffer } =
|
const downloaded: { type: "complete"; file: Buffer } =
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
await this.steam.downloadFile(this.app, this.depot, fileManifest);
|
await this.steam.downloadFile(this.app, this.depot, fileManifest);
|
||||||
let buffer = downloaded.file;
|
|
||||||
|
|
||||||
if (path.endsWith(".dvpl")) buffer = readDVPL(downloaded.file);
|
return new Uint8Array(downloaded.file);
|
||||||
|
|
||||||
return new Uint8Array(buffer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async text(path: string) {
|
paths() {
|
||||||
const file = await this.file(path);
|
return Array.from(this.manifest.keys());
|
||||||
return this.textDecoder.decode(file);
|
|
||||||
}
|
|
||||||
|
|
||||||
async yaml<Type>(path: string) {
|
|
||||||
const file = await this.text(path);
|
|
||||||
return parse(file) as Type;
|
|
||||||
}
|
|
||||||
|
|
||||||
async xml<Type>(path: string) {
|
|
||||||
const file = await this.text(path);
|
|
||||||
return this.xmlParser.parse(file) as Type;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dispose() {
|
dispose() {
|
||||||
this.steam.logOff();
|
this.steam.logOff();
|
||||||
}
|
}
|
||||||
|
|
||||||
[Symbol.dispose]() {
|
|
||||||
this.dispose();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
import { normalize } from "path/posix";
|
||||||
|
import { HTTPRangeReader, unzip, ZipEntry } from "unzipit";
|
||||||
|
import { AbstractVFS } from "./abstract";
|
||||||
|
|
||||||
|
export class ZipVFS extends AbstractVFS {
|
||||||
|
entries = new Map<string, ZipEntry>();
|
||||||
|
|
||||||
|
constructor(private url: string, private root = "app/") {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
|
||||||
|
async init() {
|
||||||
|
const reader = new HTTPRangeReader(this.url);
|
||||||
|
const { entries } = await unzip(reader);
|
||||||
|
|
||||||
|
for (const entry of Object.values(entries)) {
|
||||||
|
const normalized = normalize(entry.name.slice(this.root.length));
|
||||||
|
this.entries.set(normalized, entry);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
has(path: string) {
|
||||||
|
return this.entries.has(path);
|
||||||
|
}
|
||||||
|
|
||||||
|
async raw(path: string) {
|
||||||
|
const arrayBuffer = await this.entries.get(path)!.arrayBuffer();
|
||||||
|
return new Uint8Array(arrayBuffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
paths() {
|
||||||
|
return Array.from(this.entries.keys());
|
||||||
|
}
|
||||||
|
|
||||||
|
dispose() {}
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
import { tankIcon } from "@blitzkit/core";
|
||||||
|
import { Flex, Heading, Link, Strong, Text } from "@radix-ui/themes";
|
||||||
|
---
|
||||||
|
|
||||||
|
<Flex justify="center" px="4">
|
||||||
|
<Link
|
||||||
|
color="gray"
|
||||||
|
highContrast
|
||||||
|
style={{ display: "content" }}
|
||||||
|
href="/docs/guides/christmas-2025"
|
||||||
|
underline="none"
|
||||||
|
>
|
||||||
|
<Flex
|
||||||
|
mt="3"
|
||||||
|
px="5"
|
||||||
|
py="4"
|
||||||
|
style={{
|
||||||
|
borderRadius: "var(--radius-3)",
|
||||||
|
backgroundImage: "url(https://i.imgur.com/LRYmSkg.png)",
|
||||||
|
backgroundSize: "cover",
|
||||||
|
backgroundPosition: "center",
|
||||||
|
boxSizing: "border-box",
|
||||||
|
}}
|
||||||
|
align="center"
|
||||||
|
gap="5"
|
||||||
|
>
|
||||||
|
<img src={tankIcon(25169)} style={{ height: "min(15vw, 5rem)" }} />
|
||||||
|
|
||||||
|
<Flex direction="column">
|
||||||
|
<Heading size={{ initial: "4", sm: "6" }}>Christmas 2025</Heading>
|
||||||
|
<Text size={{ initial: "2", sm: "3" }}>
|
||||||
|
Win the <Strong>GSOR the TANK</Strong> and more!
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
</Link>
|
||||||
|
</Flex>
|
||||||
@@ -277,14 +277,14 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
</Popover.Content>
|
</Popover.Content>
|
||||||
</Popover.Root>
|
</Popover.Root>
|
||||||
|
|
||||||
<Flex align="center" justify="center" gap="3">
|
<Flex justify="center" gap="3">
|
||||||
<Popover.Root>
|
<Popover.Root>
|
||||||
<Popover.Trigger>
|
<Popover.Trigger>
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
radius="large"
|
radius="large"
|
||||||
style={{
|
style={{
|
||||||
height: "100%",
|
height: "2rem",
|
||||||
width: 12,
|
width: 12,
|
||||||
position: "relative",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
@@ -345,7 +345,24 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Flex justify="end" mt="4">
|
|
||||||
|
<Flex justify="end" mt="4" gap="3">
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => {
|
||||||
|
CompareEphemeral.mutate((draft) => {
|
||||||
|
draft.members.map((member) => {
|
||||||
|
member.provisions = [];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{
|
||||||
|
strings.website.tools.compare.table.provisions
|
||||||
|
.clear_all
|
||||||
|
}
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -473,7 +490,7 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
variant="ghost"
|
variant="ghost"
|
||||||
radius="large"
|
radius="large"
|
||||||
style={{
|
style={{
|
||||||
height: "100%",
|
height: "2rem",
|
||||||
width: 12,
|
width: 12,
|
||||||
position: "relative",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
@@ -536,7 +553,23 @@ export function CompareTable({ stats }: CompareTableProps) {
|
|||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Flex justify="end" mt="4">
|
<Flex justify="end" mt="4" gap="4">
|
||||||
|
<Button
|
||||||
|
variant="ghost"
|
||||||
|
onClick={() => {
|
||||||
|
CompareEphemeral.mutate((draft) => {
|
||||||
|
draft.members.map((member) => {
|
||||||
|
member.consumables = [];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{
|
||||||
|
strings.website.tools.compare.table.consumables
|
||||||
|
.clear_all
|
||||||
|
}
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
@@ -0,0 +1,89 @@
|
|||||||
|
import { Code, Flex, Heading, Link, Text } from "@radix-ui/themes";
|
||||||
|
import { useEffect, useState, type ReactNode } from "react";
|
||||||
|
import type { MaybeSkeletonComponentProps } from "../types/maybeSkeletonComponentProps";
|
||||||
|
import { InlineSkeleton } from "./InlineSkeleton";
|
||||||
|
|
||||||
|
const TIME = 1764898200 * 1000;
|
||||||
|
|
||||||
|
export function Giveaway({ skeleton }: MaybeSkeletonComponentProps) {
|
||||||
|
const [timeLeft, setTimeLeft] = useState<number>(TIME - Date.now());
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
const interval = setInterval(() => {
|
||||||
|
setTimeLeft(TIME - Date.now());
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
clearInterval(interval);
|
||||||
|
};
|
||||||
|
}, []);
|
||||||
|
|
||||||
|
let string: ReactNode;
|
||||||
|
|
||||||
|
if (timeLeft > 0) {
|
||||||
|
const hours = Math.floor(timeLeft / (1000 * 60 * 60));
|
||||||
|
const minutes = Math.floor((timeLeft / (1000 * 60)) % 60)
|
||||||
|
.toString()
|
||||||
|
.padStart(2, "0");
|
||||||
|
const seconds = Math.floor((timeLeft / 1000) % 60)
|
||||||
|
.toString()
|
||||||
|
.padStart(2, "0");
|
||||||
|
|
||||||
|
string = (
|
||||||
|
<>
|
||||||
|
in{" "}
|
||||||
|
<Code highContrast>
|
||||||
|
{hours}h {minutes}m {seconds}s
|
||||||
|
</Code>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
string = "has ended. Come again later!";
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Flex justify="center" px="4">
|
||||||
|
<Link
|
||||||
|
color="gray"
|
||||||
|
highContrast
|
||||||
|
style={{ display: "content" }}
|
||||||
|
href="https://discord.gg/njQdBhNS?event=1446208951136813117"
|
||||||
|
underline="none"
|
||||||
|
>
|
||||||
|
<Flex
|
||||||
|
mt="3"
|
||||||
|
px="5"
|
||||||
|
py="4"
|
||||||
|
style={{
|
||||||
|
borderRadius: "var(--radius-3)",
|
||||||
|
backgroundImage: "url(https://i.imgur.com/LRYmSkg.png)",
|
||||||
|
backgroundSize: "cover",
|
||||||
|
backgroundPosition: "center",
|
||||||
|
boxSizing: "border-box",
|
||||||
|
boxShadow: "0 0 var(--space-7) var(--blue-a5)",
|
||||||
|
}}
|
||||||
|
align="center"
|
||||||
|
gap="5"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src="https://i.imgur.com/mvmJQgB.png"
|
||||||
|
style={{
|
||||||
|
height: "min(15vw, 5rem)",
|
||||||
|
filter: "drop-shadow(0.5rem 0.5rem 1rem #00000080)",
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Flex direction="column">
|
||||||
|
<Heading size={{ initial: "4", sm: "6" }}>
|
||||||
|
Music Box giveaway {!skeleton && string}{" "}
|
||||||
|
{skeleton && <InlineSkeleton width="10rem" />}
|
||||||
|
</Heading>
|
||||||
|
<Text size={{ initial: "2", sm: "3" }}>
|
||||||
|
Join the BlitzKit Discord server event
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
</Link>
|
||||||
|
</Flex>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -9,12 +9,15 @@ const CONTRAST = 2 ** 2;
|
|||||||
|
|
||||||
export function GuessRenderer() {
|
export function GuessRenderer() {
|
||||||
const guessState = Guess.use((state) => state.guessState);
|
const guessState = Guess.use((state) => state.guessState);
|
||||||
const isRevealed = guessState !== GuessState.NotGuessed;
|
const helpingReveal = Guess.use((state) => state.helpingReveal);
|
||||||
|
const isRevealed = helpingReveal || guessState !== GuessState.NotGuessed;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SmartCanvas
|
<SmartCanvas
|
||||||
style={{
|
style={{
|
||||||
filter: `grayscale(${isRevealed ? 0 : 1}) contrast(${isRevealed ? 1 : CONTRAST}) brightness(${isRevealed ? 1 : BRIGHTNESS})`,
|
filter: `grayscale(${isRevealed ? 0 : 1}) contrast(${
|
||||||
|
isRevealed ? 1 : CONTRAST
|
||||||
|
}) brightness(${isRevealed ? 1 : BRIGHTNESS})`,
|
||||||
transitionDuration: isRevealed ? "2s" : undefined,
|
transitionDuration: isRevealed ? "2s" : undefined,
|
||||||
transitionProperty: "filter",
|
transitionProperty: "filter",
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -7,14 +7,17 @@ import {
|
|||||||
import { literals } from "@blitzkit/i18n";
|
import { literals } from "@blitzkit/i18n";
|
||||||
import {
|
import {
|
||||||
ArrowRightIcon,
|
ArrowRightIcon,
|
||||||
|
EyeOpenIcon,
|
||||||
MagnifyingGlassIcon,
|
MagnifyingGlassIcon,
|
||||||
PaperPlaneIcon,
|
PaperPlaneIcon,
|
||||||
} from "@radix-ui/react-icons";
|
} from "@radix-ui/react-icons";
|
||||||
import {
|
import {
|
||||||
|
AlertDialog,
|
||||||
Box,
|
Box,
|
||||||
Button,
|
Button,
|
||||||
Card,
|
Card,
|
||||||
Flex,
|
Flex,
|
||||||
|
IconButton,
|
||||||
Spinner,
|
Spinner,
|
||||||
Text,
|
Text,
|
||||||
TextField,
|
TextField,
|
||||||
@@ -43,6 +46,8 @@ export function Guesser() {
|
|||||||
const guessState = Guess.use((state) => state.guessState);
|
const guessState = Guess.use((state) => state.guessState);
|
||||||
const correctGuesses = Guess.use((state) => state.correctGuesses);
|
const correctGuesses = Guess.use((state) => state.correctGuesses);
|
||||||
const totalGuesses = Guess.use((state) => state.totalGuesses);
|
const totalGuesses = Guess.use((state) => state.totalGuesses);
|
||||||
|
const helpingReveal = Guess.use((state) => state.helpingReveal);
|
||||||
|
const streak = Guess.use((state) => state.streak);
|
||||||
const { strings, unwrap } = useLocale();
|
const { strings, unwrap } = useLocale();
|
||||||
const input = useRef<HTMLInputElement>(null);
|
const input = useRef<HTMLInputElement>(null);
|
||||||
const [searching, setSearching] = useState(false);
|
const [searching, setSearching] = useState(false);
|
||||||
@@ -150,6 +155,7 @@ export function Guesser() {
|
|||||||
{literals(strings.website.tools.guess.stats, {
|
{literals(strings.website.tools.guess.stats, {
|
||||||
correct: correctGuesses,
|
correct: correctGuesses,
|
||||||
total: totalGuesses,
|
total: totalGuesses,
|
||||||
|
streak: streak,
|
||||||
})}
|
})}
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
@@ -169,6 +175,48 @@ export function Guesser() {
|
|||||||
</TextField.Slot>
|
</TextField.Slot>
|
||||||
</TextField.Root>
|
</TextField.Root>
|
||||||
|
|
||||||
|
<AlertDialog.Root>
|
||||||
|
<AlertDialog.Trigger>
|
||||||
|
<IconButton
|
||||||
|
size="3"
|
||||||
|
disabled={guessState !== GuessState.NotGuessed}
|
||||||
|
>
|
||||||
|
<EyeOpenIcon />
|
||||||
|
</IconButton>
|
||||||
|
</AlertDialog.Trigger>
|
||||||
|
|
||||||
|
<AlertDialog.Content>
|
||||||
|
<AlertDialog.Title>
|
||||||
|
{strings.website.tools.guess.help.title}
|
||||||
|
</AlertDialog.Title>
|
||||||
|
<AlertDialog.Description>
|
||||||
|
{strings.website.tools.guess.help.description}
|
||||||
|
</AlertDialog.Description>
|
||||||
|
|
||||||
|
<Flex justify="end" gap="2">
|
||||||
|
<AlertDialog.Cancel>
|
||||||
|
<Button variant="outline">
|
||||||
|
{strings.website.tools.guess.help.cancel}
|
||||||
|
</Button>
|
||||||
|
</AlertDialog.Cancel>
|
||||||
|
|
||||||
|
<AlertDialog.Action>
|
||||||
|
<Button
|
||||||
|
color="tomato"
|
||||||
|
onClick={() => {
|
||||||
|
Guess.mutate((draft) => {
|
||||||
|
draft.helpingReveal = true;
|
||||||
|
draft.streak = 0;
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{strings.website.tools.guess.help.reveal}
|
||||||
|
</Button>
|
||||||
|
</AlertDialog.Action>
|
||||||
|
</Flex>
|
||||||
|
</AlertDialog.Content>
|
||||||
|
</AlertDialog.Root>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
size="3"
|
size="3"
|
||||||
color={
|
color={
|
||||||
@@ -178,7 +226,8 @@ export function Guesser() {
|
|||||||
}
|
}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (guessState === GuessState.NotGuessed) {
|
if (guessState === GuessState.NotGuessed) {
|
||||||
const correct = selected !== null && selected.id === tank.id;
|
const correct =
|
||||||
|
selected !== null && selected.id === tank.id && !helpingReveal;
|
||||||
|
|
||||||
Guess.mutate((draft) => {
|
Guess.mutate((draft) => {
|
||||||
draft.guessState = correct
|
draft.guessState = correct
|
||||||
@@ -186,6 +235,7 @@ export function Guesser() {
|
|||||||
: GuessState.Incorrect;
|
: GuessState.Incorrect;
|
||||||
draft.totalGuesses++;
|
draft.totalGuesses++;
|
||||||
draft.correctGuesses += correct ? 1 : 0;
|
draft.correctGuesses += correct ? 1 : 0;
|
||||||
|
draft.streak = correct ? draft.streak + 1 : 0;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const id = Number(ids[Math.floor(Math.random() * ids.length)]);
|
const id = Number(ids[Math.floor(Math.random() * ids.length)]);
|
||||||
@@ -196,6 +246,7 @@ export function Guesser() {
|
|||||||
|
|
||||||
draft.tank = tank;
|
draft.tank = tank;
|
||||||
draft.guessState = GuessState.NotGuessed;
|
draft.guessState = GuessState.NotGuessed;
|
||||||
|
draft.helpingReveal = false;
|
||||||
|
|
||||||
input.current.value = "";
|
input.current.value = "";
|
||||||
});
|
});
|
||||||
|
|||||||
+11
-5
@@ -176,11 +176,17 @@ export function Modules() {
|
|||||||
(turret) => turret.id === unlock.id
|
(turret) => turret.id === unlock.id
|
||||||
)!;
|
)!;
|
||||||
|
|
||||||
if (
|
// Check if current gun exists in new turret
|
||||||
!draft.protagonist.turret.guns.some(
|
const gunInNewTurret = draft.protagonist.turret.guns.find(
|
||||||
(gun) => gun.id === draft.protagonist.gun.id
|
(gun) => gun.id === draft.protagonist.gun.id
|
||||||
)
|
);
|
||||||
) {
|
|
||||||
|
if (gunInNewTurret) {
|
||||||
|
// Gun exists - get it FROM this turret
|
||||||
|
draft.protagonist.gun = gunInNewTurret;
|
||||||
|
draft.protagonist.shell = gunInNewTurret.shells[0];
|
||||||
|
} else {
|
||||||
|
// Gun doesn't exist - select top gun from new turret
|
||||||
draft.protagonist.gun = draft.protagonist.turret.guns.at(-1)!;
|
draft.protagonist.gun = draft.protagonist.turret.guns.at(-1)!;
|
||||||
draft.protagonist.shell = draft.protagonist.gun.shells[0];
|
draft.protagonist.shell = draft.protagonist.gun.shells[0];
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -150,6 +150,7 @@ export const TankSandbox = forwardRef<HTMLCanvasElement, TankSandboxProps>(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SmartCanvas
|
<SmartCanvas
|
||||||
|
resize={{ debounce: 0 }}
|
||||||
ref={canvas}
|
ref={canvas}
|
||||||
scene={{ fog: new Fog("black", 30, 50) }}
|
scene={{ fog: new Fog("black", 30, 50) }}
|
||||||
gl={{
|
gl={{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { Markdown } from '../../../../../components/Markdown';
|
import { Markdown } from "../../../../../components/Markdown";
|
||||||
import { PageWrapper } from '../../../../../components/PageWrapper';
|
import { PageWrapper } from "../../../../../components/PageWrapper";
|
||||||
|
|
||||||
interface PageProps {
|
interface PageProps {
|
||||||
content: string;
|
content: string;
|
||||||
@@ -7,7 +7,7 @@ interface PageProps {
|
|||||||
|
|
||||||
export function Page({ content }: PageProps) {
|
export function Page({ content }: PageProps) {
|
||||||
return (
|
return (
|
||||||
<PageWrapper>
|
<PageWrapper maxWidth="50rem">
|
||||||
<Markdown>{content}</Markdown>
|
<Markdown>{content}</Markdown>
|
||||||
</PageWrapper>
|
</PageWrapper>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { literals } from "@blitzkit/i18n/src/literals";
|
|||||||
import { Box, Flex, Link } from "@radix-ui/themes";
|
import { Box, Flex, Link } from "@radix-ui/themes";
|
||||||
import type { GetStaticPaths } from "astro";
|
import type { GetStaticPaths } from "astro";
|
||||||
import { AesonPlug } from "../../components/AesonPlug";
|
import { AesonPlug } from "../../components/AesonPlug";
|
||||||
|
import { Giveaway } from "../../components/Giveaway";
|
||||||
import HomeHero from "../../components/HomeHero.astro";
|
import HomeHero from "../../components/HomeHero.astro";
|
||||||
import { Plugs } from "../../components/Plugs";
|
import { Plugs } from "../../components/Plugs";
|
||||||
import ToolCard from "../../components/ToolCard.astro";
|
import ToolCard from "../../components/ToolCard.astro";
|
||||||
|
|||||||
@@ -1,23 +1,31 @@
|
|||||||
import { asset } from "@blitzkit/core";
|
import {
|
||||||
import { CaretRightIcon, UpdateIcon } from "@radix-ui/react-icons";
|
asset,
|
||||||
|
GunDefinition,
|
||||||
|
TankDefinition,
|
||||||
|
TIER_ROMAN_NUMERALS,
|
||||||
|
TurretDefinition,
|
||||||
|
} from "@blitzkit/core";
|
||||||
|
import { literals } from "@blitzkit/i18n";
|
||||||
|
import { CaretRightIcon, CaretUpIcon, UpdateIcon } from "@radix-ui/react-icons";
|
||||||
import {
|
import {
|
||||||
Box,
|
Box,
|
||||||
Button,
|
Button,
|
||||||
Dialog,
|
Dialog,
|
||||||
Flex,
|
Flex,
|
||||||
|
IconButton,
|
||||||
|
Popover,
|
||||||
Skeleton,
|
Skeleton,
|
||||||
Text,
|
Text,
|
||||||
type ButtonProps,
|
type ButtonProps,
|
||||||
} from "@radix-ui/themes";
|
} from "@radix-ui/themes";
|
||||||
import { useRef, useState } from "react";
|
import { useRef, useState } from "react";
|
||||||
import { MixerScene } from "../../../components/MixerScene";
|
import { MixerScene } from "../../../components/MixerScene";
|
||||||
|
import { ModuleButton } from "../../../components/ModuleButtons/ModuleButton";
|
||||||
import { PageWrapper } from "../../../components/PageWrapper";
|
import { PageWrapper } from "../../../components/PageWrapper";
|
||||||
import { ScreenshotButton } from "../../../components/ScreenshotButton";
|
import { ScreenshotButton } from "../../../components/ScreenshotButton";
|
||||||
import {
|
import { TankSearch } from "../../../components/TankSearch";
|
||||||
TankSearch,
|
|
||||||
type TankSearchProps,
|
|
||||||
} from "../../../components/TankSearch";
|
|
||||||
import { awaitableModelDefinitions } from "../../../core/awaitables/modelDefinitions";
|
import { awaitableModelDefinitions } from "../../../core/awaitables/modelDefinitions";
|
||||||
|
import { awaitableTankDefinitions } from "../../../core/awaitables/tankDefinitions";
|
||||||
import { curateMixer } from "../../../core/blitzkit/curateMixer";
|
import { curateMixer } from "../../../core/blitzkit/curateMixer";
|
||||||
import {
|
import {
|
||||||
LocaleProvider,
|
LocaleProvider,
|
||||||
@@ -31,6 +39,7 @@ import type { MaybeSkeletonComponentProps } from "../../../types/maybeSkeletonCo
|
|||||||
const modelDefinition = await awaitableModelDefinitions.then(
|
const modelDefinition = await awaitableModelDefinitions.then(
|
||||||
({ models }) => models[1]
|
({ models }) => models[1]
|
||||||
);
|
);
|
||||||
|
const tankDefinitions = await awaitableTankDefinitions;
|
||||||
|
|
||||||
export function Page({
|
export function Page({
|
||||||
locale,
|
locale,
|
||||||
@@ -50,57 +59,147 @@ export function Page({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function ModuleButton({
|
type ModuleButtonProps = Omit<ButtonProps, "onSelect"> &
|
||||||
|
MaybeSkeletonComponentProps & {
|
||||||
|
tank: number;
|
||||||
|
onSelect: (
|
||||||
|
tank: TankDefinition,
|
||||||
|
turret?: TurretDefinition,
|
||||||
|
gun?: GunDefinition
|
||||||
|
) => void;
|
||||||
|
turret?: number;
|
||||||
|
gun?: number;
|
||||||
|
};
|
||||||
|
|
||||||
|
function ModuleChooser({
|
||||||
skeleton,
|
skeleton,
|
||||||
tank,
|
tank,
|
||||||
onSelect,
|
onSelect,
|
||||||
|
turret,
|
||||||
|
gun,
|
||||||
...props
|
...props
|
||||||
}: Omit<ButtonProps, "onSelect"> &
|
}: ModuleButtonProps) {
|
||||||
MaybeSkeletonComponentProps & {
|
|
||||||
tank: number;
|
|
||||||
onSelect: TankSearchProps["onSelect"];
|
|
||||||
}) {
|
|
||||||
const { strings } = useLocale();
|
const { strings } = useLocale();
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
const tankDefinition = tankDefinitions.tanks[tank];
|
||||||
|
const turretDefinition = tankDefinition.turrets.find((t) => t.id === turret);
|
||||||
|
const gunDefinition = turretDefinition?.guns.find((g) => g.id === gun);
|
||||||
|
const subSelector =
|
||||||
|
turret !== undefined &&
|
||||||
|
(tankDefinition.turrets.length > 1 ||
|
||||||
|
(gun !== undefined && turretDefinition!.guns.length > 1));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog.Root open={open} onOpenChange={setOpen}>
|
<Flex>
|
||||||
<Dialog.Trigger>
|
<Dialog.Root open={open} onOpenChange={setOpen}>
|
||||||
<Button
|
<Dialog.Trigger>
|
||||||
variant="surface"
|
<Button
|
||||||
size="4"
|
variant="surface"
|
||||||
style={{ overflow: "clip" }}
|
size={{ initial: "3", md: "4" }}
|
||||||
{...props}
|
style={{
|
||||||
>
|
overflow: "clip",
|
||||||
{skeleton ? (
|
borderTopRightRadius: subSelector ? 0 : undefined,
|
||||||
<Skeleton width="4em" height="2em" />
|
borderBottomRightRadius: subSelector ? 0 : undefined,
|
||||||
) : (
|
}}
|
||||||
<img
|
{...props}
|
||||||
|
>
|
||||||
|
{skeleton ? (
|
||||||
|
<Skeleton width="4em" height="2em" />
|
||||||
|
) : (
|
||||||
|
<img
|
||||||
|
style={{
|
||||||
|
width: "4em",
|
||||||
|
height: "4em",
|
||||||
|
objectFit: "contain",
|
||||||
|
}}
|
||||||
|
src={asset(`icons/tanks/big/${tank}.webp`)}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</Button>
|
||||||
|
</Dialog.Trigger>
|
||||||
|
|
||||||
|
<Dialog.Content>
|
||||||
|
<Dialog.Title>
|
||||||
|
{strings.website.common.tank_search.select_dialog_title}
|
||||||
|
</Dialog.Title>
|
||||||
|
|
||||||
|
<TankSearch
|
||||||
|
compact
|
||||||
|
onSelect={(tank) => {
|
||||||
|
onSelect?.(tank);
|
||||||
|
setOpen(false);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</Dialog.Content>
|
||||||
|
</Dialog.Root>
|
||||||
|
|
||||||
|
{subSelector && (
|
||||||
|
<Popover.Root>
|
||||||
|
<Popover.Trigger>
|
||||||
|
<IconButton
|
||||||
|
variant="surface"
|
||||||
|
size={{ initial: "3", md: "4" }}
|
||||||
style={{
|
style={{
|
||||||
width: "4em",
|
overflow: "clip",
|
||||||
height: "4em",
|
borderTopLeftRadius: 0,
|
||||||
objectFit: "contain",
|
borderBottomLeftRadius: 0,
|
||||||
|
marginLeft: -1,
|
||||||
}}
|
}}
|
||||||
src={asset(`icons/tanks/big/${tank}.webp`)}
|
{...props}
|
||||||
/>
|
>
|
||||||
)}
|
<CaretUpIcon />
|
||||||
</Button>
|
</IconButton>
|
||||||
</Dialog.Trigger>
|
</Popover.Trigger>
|
||||||
|
|
||||||
<Dialog.Content>
|
<Popover.Content>
|
||||||
<Dialog.Title>
|
<Flex direction="column" gap="2">
|
||||||
{strings.website.common.tank_search.select_dialog_title}
|
{tankDefinition.turrets.length > 1 && (
|
||||||
</Dialog.Title>
|
<Flex gap="2">
|
||||||
|
{tankDefinition.turrets.map((turret) => (
|
||||||
|
<ModuleButton
|
||||||
|
variant={
|
||||||
|
turret.id === turretDefinition?.id ? "solid" : undefined
|
||||||
|
}
|
||||||
|
key={turret.id}
|
||||||
|
module="turret"
|
||||||
|
discriminator={TIER_ROMAN_NUMERALS[turret.tier]}
|
||||||
|
onClick={() => {
|
||||||
|
onSelect?.(tankDefinition, turret);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</Flex>
|
||||||
|
)}
|
||||||
|
|
||||||
<TankSearch
|
{turretDefinition && turretDefinition.guns.length > 1 && (
|
||||||
compact
|
<Flex gap="2">
|
||||||
onSelect={(tank) => {
|
{turretDefinition.guns.map((gun) => (
|
||||||
onSelect?.(tank);
|
<ModuleButton
|
||||||
setOpen(false);
|
variant={
|
||||||
}}
|
gun.id === gunDefinition?.id ? "solid" : undefined
|
||||||
/>
|
}
|
||||||
</Dialog.Content>
|
key={gun.id}
|
||||||
</Dialog.Root>
|
module="gun"
|
||||||
|
discriminator={TIER_ROMAN_NUMERALS[gun.tier]}
|
||||||
|
secondaryDiscriminator={
|
||||||
|
<Text style={{ fontSize: "0.75em" }}>
|
||||||
|
{literals(strings.common.units.mm, {
|
||||||
|
value: gun.shells[0].caliber.toFixed(0),
|
||||||
|
})}
|
||||||
|
</Text>
|
||||||
|
}
|
||||||
|
onClick={() => {
|
||||||
|
onSelect?.(tankDefinition, turretDefinition, gun);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
))}
|
||||||
|
</Flex>
|
||||||
|
)}
|
||||||
|
</Flex>
|
||||||
|
</Popover.Content>
|
||||||
|
</Popover.Root>
|
||||||
|
)}
|
||||||
|
</Flex>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,9 +212,12 @@ function ModuleSeparator() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Content({ skeleton }: MaybeSkeletonComponentProps) {
|
function Content({ skeleton }: MaybeSkeletonComponentProps) {
|
||||||
const hull = Mixer.use((state) => state.hull);
|
const hullTankId = Mixer.use((state) => state.hull);
|
||||||
const turretId = Mixer.use((state) => state.turret.tank.id);
|
const turretTankId = Mixer.use((state) => state.turret.tank.id);
|
||||||
const gunId = Mixer.use((state) => state.gun.tank.id);
|
const turretTurretId = Mixer.use((state) => state.turret.turret.id);
|
||||||
|
const gunTankId = Mixer.use((state) => state.gun.tank.id);
|
||||||
|
const gunTurretId = Mixer.use((state) => state.gun.turret.id);
|
||||||
|
const gunGunId = Mixer.use((state) => state.gun.gun.id);
|
||||||
const canvas = useRef<HTMLCanvasElement>(null!);
|
const canvas = useRef<HTMLCanvasElement>(null!);
|
||||||
const { strings } = useLocale();
|
const { strings } = useLocale();
|
||||||
|
|
||||||
@@ -136,7 +238,7 @@ function Content({ skeleton }: MaybeSkeletonComponentProps) {
|
|||||||
>
|
>
|
||||||
<Flex gap="2">
|
<Flex gap="2">
|
||||||
<ScreenshotButton
|
<ScreenshotButton
|
||||||
name={hull.slug}
|
name={hullTankId.slug}
|
||||||
canvas={canvas}
|
canvas={canvas}
|
||||||
highContrast
|
highContrast
|
||||||
variant="surface"
|
variant="surface"
|
||||||
@@ -160,9 +262,9 @@ function Content({ skeleton }: MaybeSkeletonComponentProps) {
|
|||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex gap="2" align="center">
|
<Flex gap="2" align="center">
|
||||||
<ModuleButton
|
<ModuleChooser
|
||||||
skeleton={skeleton}
|
skeleton={skeleton}
|
||||||
tank={hull.id}
|
tank={hullTankId.id}
|
||||||
onSelect={(tank) => {
|
onSelect={(tank) => {
|
||||||
Mixer.mutate((draft) => {
|
Mixer.mutate((draft) => {
|
||||||
draft.hull = tank;
|
draft.hull = tank;
|
||||||
@@ -170,28 +272,34 @@ function Content({ skeleton }: MaybeSkeletonComponentProps) {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ModuleSeparator />
|
<ModuleSeparator />
|
||||||
<ModuleButton
|
<ModuleChooser
|
||||||
skeleton={skeleton}
|
skeleton={skeleton}
|
||||||
tank={turretId}
|
tank={turretTankId}
|
||||||
onSelect={(tank) => {
|
turret={turretTurretId}
|
||||||
|
onSelect={(tank, turret) => {
|
||||||
Mixer.mutate((draft) => {
|
Mixer.mutate((draft) => {
|
||||||
draft.turret = {
|
draft.turret = {
|
||||||
tank,
|
tank,
|
||||||
turret: tank.turrets.at(-1)!,
|
turret: turret ?? tank.turrets.at(-1)!,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ModuleSeparator />
|
<ModuleSeparator />
|
||||||
<ModuleButton
|
<ModuleChooser
|
||||||
skeleton={skeleton}
|
skeleton={skeleton}
|
||||||
tank={gunId}
|
tank={gunTankId}
|
||||||
onSelect={(tank) => {
|
turret={gunTurretId}
|
||||||
|
gun={gunGunId}
|
||||||
|
onSelect={(tank, turret, gun) => {
|
||||||
Mixer.mutate((draft) => {
|
Mixer.mutate((draft) => {
|
||||||
draft.gun = {
|
draft.gun = {
|
||||||
tank,
|
tank,
|
||||||
turret: tank.turrets.at(-1)!,
|
turret: turret ?? tank.turrets.at(-1)!,
|
||||||
gun: tank.turrets.at(-1)!.guns.at(-1)!,
|
gun:
|
||||||
|
gun ??
|
||||||
|
turret?.guns.at(-1) ??
|
||||||
|
tank.turrets.at(-1)!.guns.at(-1)!,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ export interface Guess {
|
|||||||
guessState: GuessState;
|
guessState: GuessState;
|
||||||
totalGuesses: number;
|
totalGuesses: number;
|
||||||
correctGuesses: number;
|
correctGuesses: number;
|
||||||
|
streak: number;
|
||||||
|
helpingReveal: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Guess = new Varuna<Guess, TankDefinition>((tank) => ({
|
export const Guess = new Varuna<Guess, TankDefinition>((tank) => ({
|
||||||
@@ -19,4 +21,6 @@ export const Guess = new Varuna<Guess, TankDefinition>((tank) => ({
|
|||||||
guessState: GuessState.NotGuessed,
|
guessState: GuessState.NotGuessed,
|
||||||
totalGuesses: 0,
|
totalGuesses: 0,
|
||||||
correctGuesses: 0,
|
correctGuesses: 0,
|
||||||
|
streak: 0,
|
||||||
|
helpingReveal: false,
|
||||||
}));
|
}));
|
||||||
Reference in new issue
Block a user