7 lines
21 KiB
JSON
7 lines
21 KiB
JSON
{
|
|
"_fv": 60,
|
|
"_type": "procedure",
|
|
"definition": {
|
|
"procedurexml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"previousRecipe\" type=\"Number\">previousRecipe</variable><variable id=\"Slotno\" type=\"Number\">Slotno</variable></variables><block deletable=\"false\" type=\"event_trigger\" x=\"448\" y=\"140\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.WHEAT_SEEDS</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Items.WHEAT</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.PUMPKIN_SEEDS</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Blocks.PUMPKIN</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.MELON_SEEDS</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Items.MELON</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.BEETROOT_SEEDS</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Items.BEETROOT</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.CARROT</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Items.CARROT</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.POTATO</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Items.POTATO</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block inline=\"false\" type=\"compare_mcitems\"><value name=\"a\"><block type=\"block_inv_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">Items.CHORUS_FRUIT</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"math_number\"><field name=\"NUM\">7</field></block></value><statement name=\"DO\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">64</field></block></value></block></value><statement name=\"DO0\"><block type=\"block_inv_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"block_inv_get_amount_inslot\"><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">Items.CHORUS_FRUIT_POPPED</field></block></value><value name=\"slotid\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"x\"><block type=\"coord_x\"/></value><value name=\"y\"><block type=\"coord_y\"/></value><value name=\"z\"><block type=\"coord_z\"/></value><next><block type=\"controls_flow_statements\"><field name=\"FLOW\">BREAK</field></block></next></block></statement><next><block type=\"variables_set_number\"><field name=\"VAR\">local:Slotno</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">local:Slotno</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></statement></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>"
|
|
}
|
|
} |