diff --git a/_server/editor_blockly.js b/_server/editor_blockly.js index d1822025..b05bb3d7 100644 --- a/_server/editor_blockly.js +++ b/_server/editor_blockly.js @@ -11,7 +11,7 @@ editor_blockly = function () { } var toolboxObj = { - 'entry':[ + '入口方块':[ MotaActionFunctions.actionParser.parse([ "欢迎使用事件编辑器", "本事件触发一次后会消失", @@ -49,7 +49,7 @@ editor_blockly = function () { MotaActionBlocks['afterOpenDoor_m'].xmlText(), MotaActionBlocks['firstArrive_m'].xmlText(), ], - 'statement':[ + '语句块':[ '', MotaActionBlocks['text_0_s'].xmlText(), MotaActionBlocks['text_1_s'].xmlText(), @@ -119,7 +119,7 @@ editor_blockly = function () { '', MotaActionBlocks['function_s'].xmlText(), ], - 'value':[ + '值块':[ MotaActionBlocks['setValue_s'].xmlText(), MotaActionBlocks['expression_arithmetic_0'].xmlText(), MotaActionBlocks['negate_e'].xmlText(), @@ -129,7 +129,7 @@ editor_blockly = function () { MotaActionBlocks['idString_2_e'].xmlText(), MotaActionBlocks['evalString_e'].xmlText(), ], - 'template':[ + '常见事件模板':[ '', MotaActionFunctions.actionParser.parseList({"type": "if", "condition": "!core.musicStatus.bgmStatus", "true": [ diff --git a/editor.html b/editor.html index 53d379e0..1e23c33d 100644 --- a/editor.html +++ b/editor.html @@ -159,10 +159,10 @@