feat: sync all remaining python source board configurations

This commit is contained in:
yczpf2019
2026-01-24 16:19:55 +08:00
parent 1990bee9a1
commit 20bde81bbb
519 changed files with 93119 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import * as Blockly from 'blockly/core';
export const sound_volume_add = {
init: function() {
this.setColour('#acc159');
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_catSoundSOUND_VOLUME_INCREASE);
this.appendValueInput("VALUE")
.setCheck(null);
this.appendDummyInput();
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setTooltip(Blockly.Msg.MIXLY_SOUND_VOLUME_ADD_TOOLTIP);
}
};

View File

@@ -0,0 +1,11 @@
import * as Blockly from 'blockly/core';
export const sound_volume_get = {
init: function() {
this.setColour('#acc159');
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_catSoundSOUND_VOLUME_GET);
this.setOutput(true, "Volume");
this.setTooltip(Blockly.Msg.MIXLY_SOUND_VOLUME_GET_TOOLTIP);
}
};

View File

@@ -0,0 +1,15 @@
import * as Blockly from 'blockly/core';
export const sound_volume_set = {
init: function() {
this.setColour('#acc159');
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_catSoundSOUND_VOLUME_SET);
this.appendValueInput("VALUE")
.setCheck(null);
this.appendDummyInput();
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setTooltip(Blockly.Msg.MIXLY_SOUND_VOLUME_SET_TOOLTIP);
}
};