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':