mirror of
https://github.com/damp11113-software/ccIDE.git
synced 2025-04-27 22:48:13 +00:00
add new Settings block for env settings and merge IDE block to system for default
88 lines
2.1 KiB
JSON
88 lines
2.1 KiB
JSON
{
|
|
"math_operation": {
|
|
"message0": "args %1 %2 %3",
|
|
"args0": [
|
|
{
|
|
"type": "field_dropdown",
|
|
"name": "OPERATOR",
|
|
"options": [
|
|
["+", "ADD"],
|
|
["-", "SUBTRACT"],
|
|
["*", "MULTIPLY"],
|
|
["/", "DIVIDE"]
|
|
]
|
|
},
|
|
{
|
|
"type": "input_value",
|
|
"name": "NUM1",
|
|
"check": "Number"
|
|
},
|
|
{
|
|
"type": "input_value",
|
|
"name": "NUM2",
|
|
"check": "Number"
|
|
}
|
|
],
|
|
"inputsInline": true,
|
|
"output": "Number",
|
|
"colour": 230,
|
|
"tooltip": "Perform a mathematical operation",
|
|
"helpUrl": ""
|
|
},
|
|
"text_print": {
|
|
"message0": "print %1",
|
|
"args0": [
|
|
{
|
|
"type": "input_value",
|
|
"name": "TEXT"
|
|
}
|
|
],
|
|
"previousStatement": null,
|
|
"nextStatement": null,
|
|
"colour": 160,
|
|
"tooltip": "Print text",
|
|
"helpUrl": ""
|
|
},
|
|
"controls_if": {
|
|
"message0": "if %1 then",
|
|
"args0": [
|
|
{
|
|
"type": "input_value",
|
|
"name": "IF0",
|
|
"check": "Boolean"
|
|
}
|
|
],
|
|
"message1": "do %1",
|
|
"args1": [
|
|
{
|
|
"type": "input_statement",
|
|
"name": "DO0"
|
|
}
|
|
],
|
|
"previousStatement": null,
|
|
"nextStatement": null,
|
|
"colour": 210,
|
|
"tooltip": "If condition",
|
|
"helpUrl": ""
|
|
},
|
|
"variables_set": {
|
|
"message0": "set %1 to %2",
|
|
"args0": [
|
|
{
|
|
"type": "field_variable",
|
|
"name": "VAR",
|
|
"variable": "item"
|
|
},
|
|
{
|
|
"type": "input_value",
|
|
"name": "VALUE"
|
|
}
|
|
],
|
|
"previousStatement": null,
|
|
"nextStatement": null,
|
|
"colour": 330,
|
|
"tooltip": "Set variable",
|
|
"helpUrl": ""
|
|
}
|
|
}
|