Skip to content

Commit

Permalink
add personal change
Browse files Browse the repository at this point in the history
  • Loading branch information
duanjr committed Jan 23, 2023
1 parent ae27493 commit 4322aed
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
27 changes: 25 additions & 2 deletions src/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,31 @@ class Model {
}

async loadModelList() {
const response = await fetch(`${this.cdnPath}model_list.json`);
this.modelList = await response.json();
// const response = await fetch(`${this.cdnPath}model_list.json`);
this.modelList = {
"models": [
[
"HyperdimensionNeptunia/neptune_classic",
"HyperdimensionNeptunia/nepnep",
"HyperdimensionNeptunia/neptune_santa",
"HyperdimensionNeptunia/nepmaid",
"HyperdimensionNeptunia/nepswim",
"HyperdimensionNeptunia/noir_classic",
"HyperdimensionNeptunia/noir",
"HyperdimensionNeptunia/noir_santa",
"HyperdimensionNeptunia/noireswim",
"HyperdimensionNeptunia/blanc_classic",
"HyperdimensionNeptunia/blanc_normal",
"HyperdimensionNeptunia/blanc_swimwear",
"HyperdimensionNeptunia/vert_classic",
"HyperdimensionNeptunia/vert_normal",
"HyperdimensionNeptunia/vert_swimwear",
]
],
"messages": [
"Nep! Nep! 超次元游戏:海王星 系列"
]
}
}

async loadModel(modelId, modelTexturesId, message) {
Expand Down
2 changes: 1 addition & 1 deletion src/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const tools = {
icon: fa_xmark,
callback: () => {
localStorage.setItem("waifu-display", Date.now());
showMessage("愿你有一天能与重要的人重逢。", 2000, 11);
showMessage("愿你有一天能够找到真爱与自由。", 2000, 11);
document.getElementById("waifu").style.bottom = "-500px";
setTimeout(() => {
document.getElementById("waifu").style.display = "none";
Expand Down
2 changes: 1 addition & 1 deletion waifu-tips.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"mouseover": [{
"selector": "#live2d",
"text": ["干嘛呢你,快把手拿开~~", "鼠…鼠标放错地方了!", "你要干嘛呀?", "喵喵喵?", "怕怕(ノ≧∇≦)ノ", "非礼呀!救命!", "这样的话,只能使用武力了!", "我要生气了哦", "不要动手动脚的!", "真…真的是不知羞耻!", "Hentai!"]
"text": ["干嘛呢你,快把手拿开~~", "主人愿意的话,也不是不可以哦", "你要干嘛呀?", "喵喵喵?", "怕怕(ノ≧∇≦)ノ", "非礼呀!救命!", "这样的话,只能使用武力了!", "我要生气了哦", "不要动手动脚的!", "舒服嘛,是不是很软呀"]
}, {
"selector": "#waifu-tool-hitokoto",
"text": ["猜猜我要说些什么?", "我从青蛙王子那里听到了不少人生经验。"]
Expand Down

0 comments on commit 4322aed

Please sign in to comment.