fix:弹幕默认显示;每次重开读一次貌似过于毒瘤,改为开始游戏读一次
This commit is contained in:
parent
f581ba3299
commit
518bfc4f33
@ -512,10 +512,27 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"type": "comment",
|
"type": "comment",
|
||||||
"text": "初始剧情"
|
"text": "初始剧情"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "comment",
|
||||||
|
"text": "血瓶宝石数据默认显示"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "setValue",
|
"type": "setValue",
|
||||||
"name": "flag:itemDetail",
|
"name": "flag:itemDetail",
|
||||||
"value": "true"
|
"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": [
|
"shops": [
|
||||||
|
|||||||
@ -53,6 +53,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
|
|||||||
// 隐藏右下角的音乐按钮
|
// 隐藏右下角的音乐按钮
|
||||||
core.dom.musicBtn.style.display = 'none';
|
core.dom.musicBtn.style.display = 'none';
|
||||||
|
|
||||||
|
/** 以下为新增 */
|
||||||
// 同步剧情跳过设置
|
// 同步剧情跳过设置
|
||||||
switch (core.getFlag('skip')) {
|
switch (core.getFlag('skip')) {
|
||||||
case 'text':
|
case 'text':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user