From d98a21f7f9b716a57b967c6b7bfeed92657c29fb Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Wed, 31 Oct 2018 17:36:32 +0800 Subject: [PATCH] Event: Comment --- _server/blockly/MotaAction.g4 | 2 +- _server/editor_blockly.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_server/blockly/MotaAction.g4 b/_server/blockly/MotaAction.g4 index f877be0f..3eb1d13f 100644 --- a/_server/blockly/MotaAction.g4 +++ b/_server/blockly/MotaAction.g4 @@ -288,7 +288,7 @@ comment_s /* comment_s -tooltip : text:显示一段文字(剧情) +tooltip : comment:添加一段会被游戏跳过的注释内容 helpUrl : https://ckcz123.github.io/mota-js/#/event?id=comment%ef%bc%9a%e6%b7%bb%e5%8a%a0%e6%b3%a8%e9%87%8a default : ["可以在这里写添加任何注释内容"] colour : this.commentColor diff --git a/_server/editor_blockly.js b/_server/editor_blockly.js index 8ac1ee48..1c4b538b 100644 --- a/_server/editor_blockly.js +++ b/_server/editor_blockly.js @@ -485,6 +485,7 @@ document.getElementById('blocklyDiv').onmousewheel = function(e){ 'text_0_s': 'EvalString_0', 'text_1_s': 'EvalString_2', 'autoText_s': 'EvalString_2', + 'comment_s': 'EvalString_0', 'choices_s': 'EvalString_0', 'function_s': 'RawEvalString_0', 'shopsub': 'EvalString_3',