feat(live2d): add pozemka_snowy_plains_in_words
This commit is contained in:
@@ -168,3 +168,4 @@ I'm still struggling to find a command-line tool to extract in-game assets. But
|
||||
| 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) |
|
||||
| Snowy Plains in Words / Позёмка | [Link](https://arknights.halyul.dev/pozemka_snowy_plains_in_words/?settings) | [Link](https://steamcommunity.com/sharedfiles/filedetails/?id=2933544301) |
|
||||
@@ -42,3 +42,4 @@ operators:
|
||||
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
|
||||
pozemka_snowy_plains_in_words: !include config/pozemka_snowy_plains_in_words.yaml
|
||||
12
config/pozemka_snowy_plains_in_words.yaml
Normal file
12
config/pozemka_snowy_plains_in_words.yaml
Normal file
@@ -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
|
||||
@@ -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]
|
||||
|
||||
@@ -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 {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label for="animation_select">Animation:</label>
|
||||
<select name="animation_select" id="animation_selection"></select>
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" id="settings_play" disabled>Play</button>
|
||||
<button type="button" id="settings_pause">Pause</button>
|
||||
@@ -650,6 +655,11 @@ export default class Settings {
|
||||
id: "settings_reset", event: "click", handler: e => _this.reset()
|
||||
}, {
|
||||
id: "settings_close", event: "click", handler: e => _this.close()
|
||||
}, {
|
||||
id: "animation_selection", event: "change", handler: e => {
|
||||
this.spinePlayer.animationState.setAnimation(0, e.currentTarget.value, false, 0)
|
||||
this.spinePlayer.animationState.addAnimation(0, "Idle", true, 0);
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user