diff --git a/README.md b/README.md index 876baf4..a33ae33 100644 --- a/README.md +++ b/README.md @@ -167,4 +167,5 @@ I'm still struggling to find a command-line tool to extract in-game assets. But | Dream in a Moment / Passager | [Link](https://arknights.halyul.dev/passager_dream_in_a_moment/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2883021565) | | Summer Feast / Mizuki | [Link](https://arknights.halyul.dev/mizuki_summer_feast/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2895953271) | | Chongyue | [Link](https://arknights.halyul.dev/chongyue/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2919486659) | -| It Does Wash the Strings / Ling | [Link](https://arknights.halyul.dev/ling_it_does_wash_the_strings/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2919482772) | \ No newline at end of file +| It Does Wash the Strings / Ling | [Link](https://arknights.halyul.dev/ling_it_does_wash_the_strings/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2919482772) | +| Snowy Plains in Words / Позёмка | [Link](https://arknights.halyul.dev/pozemka_snowy_plains_in_words/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2933544301) | \ No newline at end of file diff --git a/config.yaml b/config.yaml index a37f7fb..327a15f 100644 --- a/config.yaml +++ b/config.yaml @@ -41,4 +41,5 @@ operators: passager_dream_in_a_moment: !include config/passager_dream_in_a_moment.yaml mizuki_summer_feast: !include config/mizuki_summer_feast.yaml chongyue: !include config/chongyue.yaml - ling_it_does_wash_the_strings: !include config/ling_it_does_wash_the_strings.yaml \ No newline at end of file + ling_it_does_wash_the_strings: !include config/ling_it_does_wash_the_strings.yaml + pozemka_snowy_plains_in_words: !include config/pozemka_snowy_plains_in_words.yaml \ No newline at end of file diff --git a/config/pozemka_snowy_plains_in_words.yaml b/config/pozemka_snowy_plains_in_words.yaml new file mode 100644 index 0000000..966222c --- /dev/null +++ b/config/pozemka_snowy_plains_in_words.yaml @@ -0,0 +1,12 @@ +link: pozemka_snowy_plains_in_words +date: 2023/02 +type: skin +title: 'Arknights: Snowy Plains in Words / Позёмка - 明日方舟:字句中的雪原 · 鸿雪' +filename: dyn_illust_char_4055_bgsnow_wild#7 +logo: logo_rhodes_override +fallback_name: char_4055_bgsnow_wild#7 +viewport_left: 0 +viewport_right: 0 +viewport_top: 0 +viewport_bottom: 0 +invert_filter: false diff --git a/libs/charword_table.js b/libs/charword_table.js index 069b0f0..3f79d65 100644 --- a/libs/charword_table.js +++ b/libs/charword_table.js @@ -117,11 +117,7 @@ export default class CharwordTable { } async #download(region) { - const historyResponse = await fetch(`https://api.github.com/repos/Kengxxiao/ArknightsGameData/commits?path=${region}/gamedata/excel/charword_table.json`, { - headers: { - 'Authorization': `Bearer ${process.env.GITHUB_TOKEN}`, - } - }) + const historyResponse = await fetch(`https://api.github.com/repos/Kengxxiao/ArknightsGameData/commits?path=${region}/gamedata/excel/charword_table.json`) const historyData = await historyResponse.json() const lastCommit = historyData[0] const lastCommitDate = new Date(lastCommit.commit.committer.date) @@ -195,16 +191,8 @@ export default class CharwordTable { async #zhTWDownload() { const output = {} const region = 'zh_TW' - const historyResponse = await fetch(`https://api.github.com/repos/Kengxxiao/ArknightsGameData/commits?path=${region}/gamedata/excel/charword_table.json`, { - headers: { - 'Authorization': `Bearer ${process.env.GITHUB_TOKEN}`, - } - }) - const handbookHistoryResponse = await fetch(`https://api.github.com/repos/Kengxxiao/ArknightsGameData/commits?path=${region}/gamedata/excel/handbook_info_table.json`, { - headers: { - 'Authorization': `Bearer ${process.env.GITHUB_TOKEN}`, - } - }) + const historyResponse = await fetch(`https://api.github.com/repos/Kengxxiao/ArknightsGameData/commits?path=${region}/gamedata/excel/charword_table.json`) + const handbookHistoryResponse = await fetch(`https://api.github.com/repos/Kengxxiao/ArknightsGameData/commits?path=${region}/gamedata/excel/handbook_info_table.json`) const historyData = await historyResponse.json() const handbookHistoryData = await handbookHistoryResponse.json() const lastCommit = historyData[0] diff --git a/src/components/settings.js b/src/components/settings.js index a3e1404..13154b4 100644 --- a/src/components/settings.js +++ b/src/components/settings.js @@ -70,6 +70,7 @@ export default class Settings { success() { this.loadViewport() this.insights(false, false) + this.#updateOptions("animation_selection", this.spinePlayer.skeleton.data.animations.map(e => e.name)) } insights(isWallpaperEngine, doNotTrack) { @@ -427,6 +428,10 @@ export default class Settings { +