From 518bfc4f337001547303bb30cf48400f9ea6e97f Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Sat, 19 Apr 2025 13:45:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=BC=B9=E5=B9=95=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=EF=BC=9B=E6=AF=8F=E6=AC=A1=E9=87=8D=E5=BC=80?= =?UTF-8?q?=E8=AF=BB=E4=B8=80=E6=AC=A1=E8=B2=8C=E4=BC=BC=E8=BF=87=E4=BA=8E?= =?UTF-8?q?=E6=AF=92=E7=98=A4=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E6=B8=B8=E6=88=8F=E8=AF=BB=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/data.js | 17 +++++++++++++++++ project/functions.js | 1 + 2 files changed, 18 insertions(+) diff --git a/project/data.js b/project/data.js index 7ea77e44..24bf7ca6 100644 --- a/project/data.js +++ b/project/data.js @@ -512,10 +512,27 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = "type": "comment", "text": "初始剧情" }, + { + "type": "comment", + "text": "血瓶宝石数据默认显示" + }, { "type": "setValue", "name": "flag:itemDetail", "value": "true" + }, + { + "type": "comment", + "text": "如果不需要显示弹幕,可去除comment相关事件块" + }, + { + "type": "setValue", + "name": "flag:comment", + "value": "true" + }, + { + "type": "function", + "function": "function(){\n// 默认读取弹幕数据\nif (core.hasFlag('comment') && !core.isReplaying()) {\n\tcore.plugin.getComment();\n\tsetTimeout(core.plugin.drawCommentSign, 1000);\n}\n}" } ], "shops": [ diff --git a/project/functions.js b/project/functions.js index ee1a29a7..ee4d988c 100644 --- a/project/functions.js +++ b/project/functions.js @@ -53,6 +53,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a = // 隐藏右下角的音乐按钮 core.dom.musicBtn.style.display = 'none'; + /** 以下为新增 */ // 同步剧情跳过设置 switch (core.getFlag('skip')) { case 'text':