matchers and logic blocks

This commit is contained in:
Loren Norman 2025-08-01 16:24:55 -04:00
parent fdabcd552e
commit c64cac5a7d
6 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'io_logic_boolean',
name: "Boolean",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'io_logic_negate',
bytecodeKey: "negate",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'io_logic_operation',
bytecodeKey: "logic",

View file

@ -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

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'matcher_compare',
bytecodeKey: "matcherCompare",

View file

@ -1,3 +1,4 @@
/** @type {import('#types').BlockDefinitionRaw} */
export default {
type: 'matcher_text_compare',
bytecodeKey: "matcherTextCompare",