name: lf()

in webapp/src/blocksSnippets.ts [271:456]


            name: lf("{id:category}Math"),
            nameid: CategoryNameID.Maths,
            blocks: [
                {
                    name: "math_arithmetic_ADD",
                    attributes: {
                        blockId: "math_arithmetic",
                        weight: 90
                    },
                    blockXml: `<block type="math_arithmetic" gap="8">
                        <value name="A">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="B">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <field name="OP">ADD</field>
                    </block>`
                }, {
                    name: "math_arithmetic_MINUS",
                    attributes: {
                        blockId: "math_arithmetic",
                        weight: 89
                    },
                    blockXml: `<block type="math_arithmetic" gap="8">
                        <value name="A">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="B">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <field name="OP">MINUS</field>
                    </block>`
                }, {
                    name: "math_arithmetic_TIMES",
                    attributes: {
                        blockId: "math_arithmetic",
                        weight: 88
                    },
                    blockXml: `<block type="math_arithmetic" gap="8">
                        <value name="A">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="B">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <field name="OP">MULTIPLY</field>
                    </block>`
                }, {
                    name: "math_arithmetic_DIVIDE",
                    attributes: {
                        blockId: "math_arithmetic",
                        weight: 87
                    },
                    blockXml: `<block type="math_arithmetic" gap="8">
                        <value name="A">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="B">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <field name="OP">DIVIDE</field>
                    </block>`
                }, {
                    name: "math_number",
                    attributes: {
                        blockId: "math_number",
                        weight: 86
                    },
                    blockXml: `<block type="math_number" gap="8">
                        <field name="NUM">0</field>
                    </block>`
                }, {
                    name: "math_modulo",
                    attributes: {
                        blockId: "math_modulo",
                        weight: 85
                    },
                    blockXml: `<block type="math_modulo">
                        <value name="DIVIDEND">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="DIVISOR">
                            <shadow type="math_number">
                                <field name="NUM">1</field>
                            </shadow>
                        </value>
                    </block>`
                }, {
                    name: "math_op2_min",
                    attributes: {
                        blockId: "math_op2",
                        weight: 84
                    },
                    blockXml: `<block type="math_op2" gap="8">
                        <value name="x">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="y">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <field name="op">min</field>
                    </block>`
                }, {
                    name: "math_op2_max",
                    attributes: {
                        blockId: "math_op2",
                        weight: 83
                    },
                    blockXml: `<block type="math_op2" gap="8">
                        <value name="x">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <value name="y">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                        <field name="op">max</field>
                    </block>`
                }, {
                    name: "math_op3",
                    attributes: {
                        blockId: "math_op3",
                        weight: 82
                    },
                    blockXml: `<block type="math_op3">
                        <value name="x">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                    </block>`
                }, {
                    name: "math_js_op",
                    attributes: {
                        blockId: "math_js_op",
                        weight: 81
                    },
                    blockXml: `<block type="math_js_op">
                        <field name="OP">sqrt</field>
                        <value name="ARG0">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                    </block>`
                }, {
                    name: "math_js_round",
                    attributes: {
                        blockId: "math_js_round",
                        weight: 80
                    },
                    blockXml: `<block type="math_js_round">
                        <field name="OP">round</field>
                        <value name="ARG0">
                            <shadow type="math_number">
                                <field name="NUM">0</field>
                            </shadow>
                        </value>
                    </block>`
                }