Merge remote-tracking branch 'upstream/main'

main
Rosalina 2023-05-24 23:41:56 -04:00
commit 5fd0dbbd14
No known key found for this signature in database
11 changed files with 1774 additions and 1615 deletions

View File

@ -62,6 +62,10 @@ jobs:
with:
projectPath: ./gui
- name: Prepare to release the app
if: ${{ startsWith(github.ref, 'refs/tags/gui-v') }}
run: deno run -A ./gui/scripts/enable-updater.ts
- name: Release the app
uses: tauri-apps/tauri-action@v0
if: ${{ startsWith(github.ref, 'refs/tags/gui-v') }}

View File

@ -1,3 +1,12 @@
## 0.3.5
fix: wrong ability keys in some languages
## 0.3.4
fix(gui): GUI ja translation about VS and Salmon Run
([#68](https://github.com/spacemeowx2/s3si.ts/issues/68))
## 0.3.3
feat: add eggstra work mode

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
import * as path from "https://deno.land/std@0.178.0/path/mod.ts";
if (import.meta.main) {
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const tauriConf = path.join(__dirname, '../src-tauri/tauri.conf.json');
const tauriConfContent = await Deno.readTextFile(tauriConf);
const tauriConfJson = JSON.parse(tauriConfContent);
tauriConfJson.tauri.updater.active = true;
await Deno.writeTextFile(tauriConf, JSON.stringify(tauriConfJson, null, 2));
}

321
gui/src-tauri/Cargo.lock generated
View File

@ -62,22 +62,6 @@ dependencies = [
"system-deps 6.0.3",
]
[[package]]
name = "attohttpc"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fcf00bc6d5abb29b5f97e3c61a90b6d3caa12f3faf897d4a3e3607c050a35a7"
dependencies = [
"flate2",
"http",
"log",
"native-tls",
"serde",
"serde_json",
"serde_urlencoded",
"url",
]
[[package]]
name = "autocfg"
version = "1.1.0"
@ -148,12 +132,6 @@ dependencies = [
"serde",
]
[[package]]
name = "bumpalo"
version = "3.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
[[package]]
name = "bytemuck"
version = "1.13.1"
@ -1219,15 +1197,6 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
[[package]]
name = "js-sys"
version = "0.3.61"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730"
dependencies = [
"wasm-bindgen",
]
[[package]]
name = "json-patch"
version = "0.2.7"
@ -1371,12 +1340,6 @@ dependencies = [
"autocfg",
]
[[package]]
name = "minisign-verify"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "933dca44d65cdd53b355d0b73d380a2ff5da71f87f036053188bf1eab6a19881"
[[package]]
name = "miniz_oxide"
version = "0.6.2"
@ -1386,24 +1349,6 @@ dependencies = [
"adler",
]
[[package]]
name = "native-tls"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
dependencies = [
"lazy_static",
"libc",
"log",
"openssl",
"openssl-probe",
"openssl-sys",
"schannel",
"security-framework",
"security-framework-sys",
"tempfile",
]
[[package]]
name = "ndk"
version = "0.6.0"
@ -1525,17 +1470,6 @@ dependencies = [
"objc_exception",
]
[[package]]
name = "objc-foundation"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9"
dependencies = [
"block",
"objc",
"objc_id",
]
[[package]]
name = "objc_exception"
version = "0.1.2"
@ -1570,51 +1504,6 @@ dependencies = [
"windows-sys 0.42.0",
]
[[package]]
name = "openssl"
version = "0.10.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1"
dependencies = [
"bitflags",
"cfg-if",
"foreign-types",
"libc",
"once_cell",
"openssl-macros",
"openssl-sys",
]
[[package]]
name = "openssl-macros"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "openssl-probe"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-sys"
version = "0.9.80"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7"
dependencies = [
"autocfg",
"cc",
"libc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "os_pipe"
version = "1.1.3"
@ -2064,30 +1953,6 @@ version = "0.6.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
[[package]]
name = "rfd"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0149778bd99b6959285b0933288206090c50e2327f47a9c463bfdbf45c8823ea"
dependencies = [
"block",
"dispatch",
"glib-sys",
"gobject-sys",
"gtk-sys",
"js-sys",
"lazy_static",
"log",
"objc",
"objc-foundation",
"objc_id",
"raw-window-handle",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"windows 0.37.0",
]
[[package]]
name = "rustc_version"
version = "0.3.3"
@ -2159,15 +2024,6 @@ dependencies = [
"winapi-util",
]
[[package]]
name = "schannel"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3"
dependencies = [
"windows-sys 0.42.0",
]
[[package]]
name = "scoped-tls"
version = "1.0.1"
@ -2180,29 +2036,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]]
name = "security-framework"
version = "2.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254"
dependencies = [
"bitflags",
"core-foundation",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]]
name = "selectors"
version = "0.22.0"
@ -2292,18 +2125,6 @@ dependencies = [
"syn",
]
[[package]]
name = "serde_urlencoded"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
dependencies = [
"form_urlencoded",
"itoa 1.0.5",
"ryu",
"serde",
]
[[package]]
name = "serde_with"
version = "1.14.0"
@ -2585,8 +2406,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe7e0f1d535e7cbbbab43c82be4fc992b84f9156c16c160955617e0260ebc449"
dependencies = [
"anyhow",
"attohttpc",
"base64 0.13.1",
"cocoa",
"dirs-next",
"embed_plist",
@ -2599,7 +2418,6 @@ dependencies = [
"heck 0.4.1",
"http",
"ignore",
"minisign-verify",
"objc",
"once_cell",
"open",
@ -2608,7 +2426,6 @@ dependencies = [
"rand 0.8.5",
"raw-window-handle",
"regex",
"rfd",
"semver 1.0.16",
"serde",
"serde_json",
@ -2623,14 +2440,12 @@ dependencies = [
"tauri-utils",
"tempfile",
"thiserror",
"time",
"tokio",
"url",
"uuid 1.3.0",
"webkit2gtk",
"webview2-com",
"windows 0.39.0",
"zip",
]
[[package]]
@ -3054,12 +2869,6 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "version-compare"
version = "0.0.11"
@ -3101,82 +2910,6 @@ version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]]
name = "wasm-bindgen"
version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b"
dependencies = [
"cfg-if",
"wasm-bindgen-macro",
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9"
dependencies = [
"bumpalo",
"log",
"once_cell",
"proc-macro2",
"quote",
"syn",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-futures"
version = "0.4.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454"
dependencies = [
"cfg-if",
"js-sys",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
]
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
dependencies = [
"proc-macro2",
"quote",
"syn",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"
[[package]]
name = "web-sys"
version = "0.3.61"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97"
dependencies = [
"js-sys",
"wasm-bindgen",
]
[[package]]
name = "webkit2gtk"
version = "0.18.2"
@ -3293,19 +3026,6 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "windows"
version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57b543186b344cc61c85b5aab0d2e3adf4e0f99bc076eff9aa5927bcc0b8a647"
dependencies = [
"windows_aarch64_msvc 0.37.0",
"windows_i686_gnu 0.37.0",
"windows_i686_msvc 0.37.0",
"windows_x86_64_gnu 0.37.0",
"windows_x86_64_msvc 0.37.0",
]
[[package]]
name = "windows"
version = "0.39.0"
@ -3406,12 +3126,6 @@ version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608"
[[package]]
name = "windows_aarch64_msvc"
version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2623277cb2d1c216ba3b578c0f3cf9cdebeddb6e66b1b218bb33596ea7769c3a"
[[package]]
name = "windows_aarch64_msvc"
version = "0.39.0"
@ -3424,12 +3138,6 @@ version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7"
[[package]]
name = "windows_i686_gnu"
version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3925fd0b0b804730d44d4b6278c50f9699703ec49bcd628020f46f4ba07d9e1"
[[package]]
name = "windows_i686_gnu"
version = "0.39.0"
@ -3442,12 +3150,6 @@ version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640"
[[package]]
name = "windows_i686_msvc"
version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce907ac74fe331b524c1298683efbf598bb031bc84d5e274db2083696d07c57c"
[[package]]
name = "windows_i686_msvc"
version = "0.39.0"
@ -3460,12 +3162,6 @@ version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605"
[[package]]
name = "windows_x86_64_gnu"
version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2babfba0828f2e6b32457d5341427dcbb577ceef556273229959ac23a10af33d"
[[package]]
name = "windows_x86_64_gnu"
version = "0.39.0"
@ -3484,12 +3180,6 @@ version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463"
[[package]]
name = "windows_x86_64_msvc"
version = "0.37.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4dd6dc7df2d84cf7b33822ed5b86318fb1781948e9663bacd047fc9dd52259d"
[[package]]
name = "windows_x86_64_msvc"
version = "0.39.0"
@ -3587,14 +3277,3 @@ checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc"
dependencies = [
"libc",
]
[[package]]
name = "zip"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0445d0fbc924bb93539b4316c11afb121ea39296f99a3c4c9edad09e3658cdef"
dependencies = [
"byteorder",
"crc32fast",
"crossbeam-utils",
]

View File

@ -13,7 +13,7 @@ edition = "2021"
tauri-build = { version = "1.2", features = [] }
[dependencies]
tauri = { version = "1.2", features = ["fs-all", "path-all", "process-relaunch", "shell-execute", "shell-open", "shell-sidecar", "updater", "window-all"] }
tauri = { version = "1.2", features = ["fs-all", "path-all", "process-relaunch", "shell-execute", "shell-open", "shell-sidecar", "window-all"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["time"] }

View File

@ -8,7 +8,7 @@
},
"package": {
"productName": "s3si-ts",
"version": "0.3.3"
"version": "0.3.5"
},
"tauri": {
"allowlist": {
@ -72,8 +72,9 @@
"csp": null
},
"updater": {
"active": true,
"active": false,
"endpoints": [
"https://s3si-update.imspace.cn/v1/{{target}}/{{arch}}/{{current_version}}",
"https://gist.githubusercontent.com/spacemeowx2/a67078487d3450b75927953f6edc14e2/raw/update-request.json"
],
"dialog": true,

View File

@ -4,8 +4,8 @@
"打开 stat.ink": "stat.inkを開く",
"打开鱿鱼圈3": "イカリング3を開く",
"导出": "エクスポートする",
"导出打工数据": "勤務データをエクスポートする",
"导出对战数据": "対戦データをエクスポートする",
"导出打工数据": "サーモンランデータをエクスポートする",
"导出对战数据": "バトルデータをエクスポートする",
"欢迎! 请点击\"导出\"按钮开始使用.": "ようこそ!「エクスポート」ボタンをクリックして使い始めてください。",
"界面语言": "インターフェース言語",
"没有更改": "変更はありません",

522
src/assets/gear-map.json Normal file
View File

@ -0,0 +1,522 @@
[
{
"key": "ink_saver_main",
"name": {
"de-DE": "Hauptverbrauch",
"en-GB": "Ink Saver (Main)",
"en-US": "Ink Saver (Main)",
"es-ES": "Tintahorro (ppal.)",
"es-MX": "Ahorro tinta (ppal.)",
"fr-CA": "Encrémenteur (pr.)",
"fr-FR": "Encrémenteur (pr.)",
"it-IT": "Eco-colore princ.",
"ja-JP": "インク効率アップ(メイン)",
"ko-KR": "잉크 효율 업(메인)",
"nl-NL": "Hoofdspaarder",
"ru-RU": "Основной баллон X",
"zh-CN": "提升墨汁效率(主要武器)",
"zh-TW": "提升墨汁效率(主要武器)"
},
"primary_only": false
},
{
"key": "ink_saver_sub",
"name": {
"de-DE": "Sekundärverbrauch",
"en-GB": "Ink Saver (Sub)",
"en-US": "Ink Saver (Sub)",
"es-ES": "Tintahorro (sec.)",
"es-MX": "Ahorro tinta (sec.)",
"fr-CA": "Encrémenteur (sec.)",
"fr-FR": "Encrémenteur (sec.)",
"it-IT": "Eco-colore second.",
"ja-JP": "インク効率アップ(サブ)",
"ko-KR": "잉크 효율 업(서브)",
"nl-NL": "Subspaarder",
"ru-RU": "Запасной баллон X",
"zh-CN": "提升墨汁效率(次要武器)",
"zh-TW": "提升墨汁效率(次要武器)"
},
"primary_only": false
},
{
"key": "ink_recovery_up",
"name": {
"de-DE": "Regeneration +",
"en-GB": "Ink Recovery Up",
"en-US": "Ink Recovery Up",
"es-ES": "Recarga rápida",
"es-MX": "Mejor recarga tinta",
"fr-CA": "Levée d'encre",
"fr-FR": "Levée d'encre",
"it-IT": "Recupero colore +",
"ja-JP": "インク回復力アップ",
"ko-KR": "잉크 회복력 업",
"nl-NL": "Inktvulling",
"ru-RU": "Быстрый баллон",
"zh-CN": "提升墨汁回复力",
"zh-TW": "提升墨汁回復力"
},
"primary_only": false
},
{
"key": "run_speed_up",
"name": {
"de-DE": "Lauftempo +",
"en-GB": "Run Speed Up",
"en-US": "Run Speed Up",
"es-ES": "Supercarrera",
"es-MX": "Carrera acelerada",
"fr-CA": "Course à pied",
"fr-FR": "Course à pied",
"it-IT": "Velocità +",
"ja-JP": "ヒト移動速度アップ",
"ko-KR": "인간 이동 속도 업",
"nl-NL": "Hardloper",
"ru-RU": "Спринтер",
"zh-CN": "提升人类移动速度",
"zh-TW": "提升人類移動速度"
},
"primary_only": false
},
{
"key": "swim_speed_up",
"name": {
"de-DE": "Schwimmtempo +",
"en-GB": "Swim Speed Up",
"en-US": "Swim Speed Up",
"es-ES": "Superbuceo",
"es-MX": "Nado acelerado",
"fr-CA": "Turbo-calmar",
"fr-FR": "Turbo-calamar",
"it-IT": "Velocità nuoto +",
"ja-JP": "イカダッシュ速度アップ",
"ko-KR": "징어대시 속도 업",
"nl-NL": "Zwemdiploma",
"ru-RU": "Плавунец",
"zh-CN": "提升鱿鱼冲刺速度",
"zh-TW": "提升魷魚衝刺速度"
},
"primary_only": false
},
{
"key": "special_charge_up",
"name": {
"de-DE": "Spezialladezeit +",
"en-GB": "Special Charge Up",
"en-US": "Special Charge Up",
"es-ES": "Recarga especial",
"es-MX": "Recarga especial",
"fr-CA": "Jauge spéciale +",
"fr-FR": "Jauge spéciale +",
"it-IT": "Ricarica speciale +",
"ja-JP": "スペシャル増加量アップ",
"ko-KR": "스페셜 증가량 업",
"nl-NL": "Speciaallader",
"ru-RU": "Особый насос",
"zh-CN": "提升特殊武器增加量",
"zh-TW": "提升特殊武器增加量"
},
"primary_only": false
},
{
"key": "special_saver",
"name": {
"de-DE": "Spezialabzug -",
"en-GB": "Special Saver",
"en-US": "Special Saver",
"es-ES": "Reducción especial",
"es-MX": "Ahorro especial",
"fr-CA": "Baisse spéciale -",
"fr-FR": "Baisse spéciale -",
"it-IT": "Riduzione speciale -",
"ja-JP": "スペシャル減少量ダウン",
"ko-KR": "스페셜 감소량 다운",
"nl-NL": "Speciaalspaarder",
"ru-RU": "Особый резерв",
"zh-CN": "降低特殊武器减少量",
"zh-TW": "降低特殊武器減少量"
},
"primary_only": false
},
{
"key": "special_power_up",
"name": {
"de-DE": "Spezialstärke +",
"en-GB": "Special Power Up",
"en-US": "Special Power Up",
"es-ES": "Superarma especial",
"es-MX": "Mejora especial",
"fr-CA": "Arme spéciale +",
"fr-FR": "Arme spéciale +",
"it-IT": "Arma speciale +",
"ja-JP": "スペシャル性能アップ",
"ko-KR": "스페셜 성능 업",
"nl-NL": "Specialist",
"ru-RU": "Особый подход",
"zh-CN": "提升特殊武器性能",
"zh-TW": "提升特殊武器性能"
},
"primary_only": false
},
{
"key": "quick_respawn",
"name": {
"de-DE": "Schnelle Rückkehr",
"en-GB": "Quick Respawn",
"en-US": "Quick Respawn",
"es-ES": "Retorno exprés",
"es-MX": "Regeneración rápida",
"fr-CA": "Sans temps mort",
"fr-FR": "Sans temps morts",
"it-IT": "Il tempo è colore",
"ja-JP": "復活時間短縮",
"ko-KR": "부활 시간 단축",
"nl-NL": "Comeback",
"ru-RU": "Феникс",
"zh-CN": "缩短复活时间",
"zh-TW": "縮短復活時間"
},
"primary_only": false
},
{
"key": "quick_super_jump",
"name": {
"de-DE": "Supersprung +",
"en-GB": "Quick Super Jump",
"en-US": "Quick Super Jump",
"es-ES": "Supersalto rápido",
"es-MX": "Supersalto rápido",
"fr-CA": "Aérodynamisme",
"fr-FR": "Aérodynamisme",
"it-IT": "Salti super e veloci",
"ja-JP": "スーパージャンプ時間短縮",
"ko-KR": "슈퍼 점프 시간 단축",
"nl-NL": "Turbosprong",
"ru-RU": "Суперпрыгун",
"zh-CN": "缩短超级跳跃时间",
"zh-TW": "縮短超級跳躍時間"
},
"primary_only": false
},
{
"key": "sub_power_up",
"name": {
"de-DE": "Sekundärstärke +",
"en-GB": "Sub Power Up",
"en-US": "Sub Power Up",
"es-ES": "Superarma secundaria",
"es-MX": "Mejora secundaria",
"fr-CA": "Arme secondaire +",
"fr-FR": "Arme secondaire +",
"it-IT": "Arma secondaria +",
"ja-JP": "サブ性能アップ",
"ko-KR": "서브 성능 업",
"nl-NL": "Subtopper",
"ru-RU": "Про-Запас",
"zh-CN": "提升次要武器性能",
"zh-TW": "提升次要武器性能"
},
"primary_only": false
},
{
"key": "ink_resistance_up",
"name": {
"de-DE": "Tintentoleranz +",
"en-GB": "Ink Resistance Up",
"en-US": "Ink Resistance Up",
"es-ES": "Impermeabilidad",
"es-MX": "Impermeabilidad",
"fr-CA": "Imperméabilité",
"fr-FR": "Pieds au sec",
"it-IT": "Scarpe impermeabili",
"ja-JP": "相手インク影響軽減",
"ko-KR": "상대 잉크 영향 감소",
"nl-NL": "Inkttolerantie",
"ru-RU": "Краскостойкость",
"zh-CN": "减轻对手墨汁影响",
"zh-TW": "減輕對手墨汁影響"
},
"primary_only": false
},
{
"key": "sub_resistance_up",
"name": {
"de-DE": "Sekundärschutz +",
"en-GB": "Sub Resistance Up",
"en-US": "Sub Resistance Up",
"es-ES": "Resistencia secundaria",
"es-MX": "Resistencia secundaria",
"fr-CA": "Filtre à secondaires",
"fr-FR": "Filtre à secondaires",
"it-IT": "Arma sec. impermeabile",
"ja-JP": "サブ影響軽減",
"ko-KR": "서브 영향 감소",
"nl-NL": "Subdemper",
"ru-RU": "Стойкость запаса",
"zh-CN": "减轻次要武器影响",
"zh-TW": "減輕次要武器影響"
},
"primary_only": false
},
{
"key": "intensify_action",
"name": {
"de-DE": "Action +",
"en-GB": "Intensify Action",
"en-US": "Intensify Action",
"es-ES": "Agilidad extra",
"es-MX": "Agilidad extra",
"fr-CA": "Feu de l'action",
"fr-FR": "Feu de l'action",
"it-IT": "Intensificazione",
"ja-JP": "アクション強化",
"ko-KR": "액션 강화",
"nl-NL": "Actie-assistentie",
"ru-RU": "Ультраудар",
"zh-CN": "行动强化",
"zh-TW": "行動強化"
},
"primary_only": false
},
{
"key": "opening_gambit",
"name": {
"de-DE": "Startvorteil",
"en-GB": "Opening Gambit",
"en-US": "Opening Gambit",
"es-ES": "Acelerón de salida",
"es-MX": "Acelerón de salida",
"fr-CA": "Départ toute allure",
"fr-FR": "Chapeaux de roue",
"it-IT": "Partenza a razzo",
"ja-JP": "スタートダッシュ",
"ko-KR": "스타트 대시",
"nl-NL": "Vliegende start",
"ru-RU": "Стартовый спурт",
"zh-CN": "最初冲刺",
"zh-TW": "最初衝刺"
},
"primary_only": true
},
{
"key": "last_ditch_effort",
"name": {
"de-DE": "Endspurt",
"en-GB": "Last-Ditch Effort",
"en-US": "Last-Ditch Effort",
"es-ES": "Sprint final",
"es-MX": "Último recurso",
"fr-CA": "Ultime sursaut",
"fr-FR": "Ultime sursaut",
"it-IT": "Splash finale",
"ja-JP": "ラストスパート",
"ko-KR": "라스트 스퍼트",
"nl-NL": "Eindsprint",
"ru-RU": "Финишный спурт",
"zh-CN": "最后冲刺",
"zh-TW": "最後衝刺"
},
"primary_only": true
},
{
"key": "tenacity",
"name": {
"de-DE": "Zähigkeit",
"en-GB": "Tenacity",
"en-US": "Tenacity",
"es-ES": "Ventaja",
"es-MX": "Tenacidad",
"fr-CA": "Ténacité",
"fr-FR": "Justice",
"it-IT": "Tenacia",
"ja-JP": "逆境強化",
"ko-KR": "역경 강화",
"nl-NL": "Volharding",
"ru-RU": "Компенсатор",
"zh-CN": "逆境强化",
"zh-TW": "逆境強化"
},
"primary_only": true
},
{
"key": "comeback",
"name": {
"de-DE": "Rückkehr",
"en-GB": "Comeback",
"en-US": "Comeback",
"es-ES": "Remontada",
"es-MX": "Remonte",
"fr-CA": "Retour",
"fr-FR": "Come-back",
"it-IT": "Gran ritorno",
"ja-JP": "カムバック",
"ko-KR": "컴백",
"nl-NL": "Opfrisser",
"ru-RU": "Ответный удар",
"zh-CN": "回归",
"zh-TW": "回歸"
},
"primary_only": true
},
{
"key": "ninja_squid",
"name": {
"de-DE": "Tintenfisch-Ninja",
"en-GB": "Ninja Squid",
"en-US": "Ninja Squid",
"es-ES": "Ninjalamar",
"es-MX": "Ninjalamar",
"fr-CA": "Ninjalmar",
"fr-FR": "Ninjalamar",
"it-IT": "Calamaro ninja",
"ja-JP": "イカニンジャ",
"ko-KR": "징어닌자",
"nl-NL": "Ninja-inktvis",
"ru-RU": "Мимикрия",
"zh-CN": "鱿鱼忍者",
"zh-TW": "魷魚忍者"
},
"primary_only": true
},
{
"key": "haunt",
"name": {
"de-DE": "Vergeltung",
"en-GB": "Haunt",
"en-US": "Haunt",
"es-ES": "Represalia",
"es-MX": "Resentimiento",
"fr-CA": "Vengeance",
"fr-FR": "Revanche",
"it-IT": "Rappresaglia",
"ja-JP": "リベンジ",
"ko-KR": "리벤지",
"nl-NL": "Revanche",
"ru-RU": "Вендетта",
"zh-CN": "复仇",
"zh-TW": "復仇"
},
"primary_only": true
},
{
"key": "thermal_ink",
"name": {
"de-DE": "Markierfarbe",
"en-GB": "Thermal Ink",
"en-US": "Thermal Ink",
"es-ES": "Señuelo",
"es-MX": "Tinta rastreadora",
"fr-CA": "Encre thermique",
"fr-FR": "Encre thermique",
"it-IT": "Inchiostro termico",
"ja-JP": "サーマルインク",
"ko-KR": "서멀 잉크",
"nl-NL": "Markeerstift",
"ru-RU": "Клеймо",
"zh-CN": "热力墨汁",
"zh-TW": "熱力墨汁"
},
"primary_only": true
},
{
"key": "respawn_punisher",
"name": {
"de-DE": "Heimsuchung",
"en-GB": "Respawn Punisher",
"en-US": "Respawn Punisher",
"es-ES": "Castigo póstumo",
"es-MX": "Castigo póstumo",
"fr-CA": "Retour perdant",
"fr-FR": "Retour perdant",
"it-IT": "Castigo",
"ja-JP": "復活ペナルティアップ",
"ko-KR": "부활 페널티 업",
"nl-NL": "Repercussie",
"ru-RU": "Кара",
"zh-CN": "提升复活惩罚",
"zh-TW": "提升復活懲罰"
},
"primary_only": true
},
{
"key": "ability_doubler",
"name": {
"de-DE": "Effektdoppelung",
"en-GB": "Ability Doubler",
"en-US": "Ability Doubler",
"es-ES": "Duplicador",
"es-MX": "Duplicador",
"fr-CA": "Bonus ×2",
"fr-FR": "Bonus ×2",
"it-IT": "Raddoppiatore",
"ja-JP": "追加ギアパワー倍化",
"ko-KR": "추가 기어 파워 2배",
"nl-NL": "Verdubbelaar",
"ru-RU": "Дупликатор",
"zh-CN": "追加装备能力增倍",
"zh-TW": "追加裝備能力增倍"
},
"primary_only": true
},
{
"key": "stealth_jump",
"name": {
"de-DE": "Sprunginfiltration",
"en-GB": "Stealth Jump",
"en-US": "Stealth Jump",
"es-ES": "Supersalto invisible",
"es-MX": "Supersalto invisible",
"fr-CA": "Super saut invisible",
"fr-FR": "Réception réussie",
"it-IT": "Salto al buio",
"ja-JP": "ステルスジャンプ",
"ko-KR": "스텔스 점프",
"nl-NL": "Sluipsprong",
"ru-RU": "Десант",
"zh-CN": "隐身跳跃",
"zh-TW": "隱身跳躍"
},
"primary_only": true
},
{
"key": "object_shredder",
"name": {
"de-DE": "Zerstörer",
"en-GB": "Object Shredder",
"en-US": "Object Shredder",
"es-ES": "Demolición",
"es-MX": "Demolición",
"fr-CA": "Démolition",
"fr-FR": "Démolition",
"it-IT": "Demolitore",
"ja-JP": "対物攻撃力アップ",
"ko-KR": "오브젝트 공격력 업",
"nl-NL": "Sloper",
"ru-RU": "Демонтажник",
"zh-CN": "提升对物体攻击力",
"zh-TW": "提升對物體攻擊力"
},
"primary_only": true
},
{
"key": "drop_roller",
"name": {
"de-DE": "Tricklandung",
"en-GB": "Drop Roller",
"en-US": "Drop Roller",
"es-ES": "Amortiguador",
"es-MX": "Aterrizaje rodante",
"fr-CA": "Super roulade",
"fr-FR": "Super roulade",
"it-IT": "Atterraggio stiloso",
"ja-JP": "受け身術",
"ko-KR": "낙법",
"nl-NL": "Rolmodel",
"ru-RU": "Акробат",
"zh-CN": "受身术",
"zh-TW": "受身術"
},
"primary_only": true
}
]

View File

@ -2,9 +2,9 @@ import type { StatInkPostBody, VsHistoryDetail } from "./types.ts";
export const AGENT_NAME = "splashcat / s3si.ts";
export const AGENT_VERSION = "1.1.1";
export const S3SI_VERSION = "0.3.3";
export const S3SI_VERSION = "0.3.5";
export const COMBINED_VERSION = `${AGENT_VERSION}/${S3SI_VERSION}`;
export const NSOAPP_VERSION = "2.5.0";
export const NSOAPP_VERSION = "2.5.1";
export const WEB_VIEW_VERSION = "3.0.0-0742bda0";
export const S3SI_LINK = "https://forgejo.catgirlin.space/catgirl/s3si.ts";

View File

@ -15,7 +15,6 @@ import {
GameExporter,
Image,
PlayerGear,
StatInkAbility,
StatInkCoopPlayer,
StatInkCoopPostBody,
StatInkCoopWave,
@ -42,6 +41,7 @@ import {
urlSimplify,
} from "../utils.ts";
import { Env } from "../env.ts";
import GEAR_MAP from "../assets/gear-map.json" assert { type: "json" };
const COOP_POINT_MAP: Record<number, number | undefined> = {
0: -20,
@ -229,8 +229,7 @@ class StatInkAPI {
);
getWeapon = () =>
this._getCached<StatInkWeapon>(`${this.statInk}/api/v3/weapon?full=1`);
getAbility = () =>
this._getCached<StatInkAbility>(`${this.statInk}/api/v3/ability?full=1`);
getAbility = () => GEAR_MAP;
getStage = () =>
this._getCached<StatInkStage>(`${this.statInk}/api/v3/stage`);
}