matchers and logic blocks
This commit is contained in:
parent
fdabcd552e
commit
c64cac5a7d
6 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
/** @type {import('#types').BlockDefinitionRaw} */
|
||||
export default {
|
||||
type: 'io_logic_boolean',
|
||||
name: "Boolean",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/** @type {import('#types').BlockDefinitionRaw} */
|
||||
export default {
|
||||
type: 'io_logic_negate',
|
||||
bytecodeKey: "negate",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/** @type {import('#types').BlockDefinitionRaw} */
|
||||
export default {
|
||||
type: 'io_logic_operation',
|
||||
bytecodeKey: "logic",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
/** @type {import('#types').BlockDefinitionRaw} */
|
||||
export default {
|
||||
disabled: true,
|
||||
type: 'io_logic_ternary',
|
||||
name: "Ternary",
|
||||
colour: 60,
|
||||
description: "Simpler conditional, inline if/then/else",
|
||||
|
||||
template: `
|
||||
if %IF
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/** @type {import('#types').BlockDefinitionRaw} */
|
||||
export default {
|
||||
type: 'matcher_compare',
|
||||
bytecodeKey: "matcherCompare",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
/** @type {import('#types').BlockDefinitionRaw} */
|
||||
export default {
|
||||
type: 'matcher_text_compare',
|
||||
bytecodeKey: "matcherTextCompare",
|
||||
|
|
|
|||
Loading…
Reference in a new issue