Advertisement
toastonrye

BMInventory v1.0

Dec 2nd, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 22.81 KB | None | 0 0
  1. [
  2.   {
  3.     "pos": {
  4.       "x": 0,
  5.       "y": 0
  6.     },
  7.     "opcode": {
  8.       "id": "ev_signal",
  9.       "primary": "D",
  10.       "parameters": [
  11.         {
  12.           "type": "string",
  13.           "value": {
  14.             "v": "startSequence"
  15.           }
  16.         },
  17.         {
  18.           "type": "boolean",
  19.           "value": {
  20.             "v": true
  21.           }
  22.         }
  23.       ]
  24.     }
  25.   },
  26.   {
  27.     "pos": {
  28.       "x": 4,
  29.       "y": 4
  30.     },
  31.     "opcode": {
  32.       "id": "eval_number",
  33.       "primary": "L",
  34.       "parameters": [
  35.         {
  36.           "type": "number",
  37.           "value": {
  38.             "var": 5
  39.           }
  40.         }
  41.       ]
  42.     }
  43.   },
  44.   {
  45.     "pos": {
  46.       "x": 0,
  47.       "y": 1
  48.     },
  49.     "opcode": {
  50.       "id": "do_log",
  51.       "primary": "R",
  52.       "parameters": [
  53.         {
  54.           "type": "string",
  55.           "value": {
  56.             "v": "Enable Mobs"
  57.           }
  58.         }
  59.       ]
  60.     }
  61.   },
  62.   {
  63.     "pos": {
  64.       "x": 8,
  65.       "y": 9
  66.     },
  67.     "opcode": {
  68.       "id": "do_setvar",
  69.       "primary": "L",
  70.       "parameters": [
  71.         {
  72.           "type": "integer",
  73.           "value": {
  74.             "v": 6
  75.           }
  76.         }
  77.       ]
  78.     }
  79.   },
  80.   {
  81.     "pos": {
  82.       "x": 0,
  83.       "y": 2
  84.     },
  85.     "opcode": {
  86.       "id": "ev_signal",
  87.       "primary": "R",
  88.       "parameters": [
  89.         {
  90.           "type": "string",
  91.           "value": {
  92.             "v": "signalBMInventory"
  93.           }
  94.         },
  95.         {
  96.           "type": "boolean",
  97.           "value": {
  98.             "v": true
  99.           }
  100.         }
  101.       ]
  102.     }
  103.   },
  104.   {
  105.     "pos": {
  106.       "x": 4,
  107.       "y": 6
  108.     },
  109.     "opcode": {
  110.       "id": "do_wire",
  111.       "primary": "R",
  112.       "parameters": []
  113.     }
  114.   },
  115.   {
  116.     "pos": {
  117.       "x": 0,
  118.       "y": 4
  119.     },
  120.     "opcode": {
  121.       "id": "do_log",
  122.       "primary": "D",
  123.       "parameters": [
  124.         {
  125.           "type": "string",
  126.           "value": {
  127.             "v": "Skipping BMCalling, Altar Busy"
  128.           }
  129.         }
  130.       ]
  131.     }
  132.   },
  133.   {
  134.     "pos": {
  135.       "x": 0,
  136.       "y": 5
  137.     },
  138.     "opcode": {
  139.       "id": "do_signal",
  140.       "primary": "D",
  141.       "parameters": [
  142.         {
  143.           "type": "string",
  144.           "value": {
  145.             "v": "signalBMControl"
  146.           }
  147.         }
  148.       ]
  149.     }
  150.   },
  151.   {
  152.     "pos": {
  153.       "x": 0,
  154.       "y": 6
  155.     },
  156.     "opcode": {
  157.       "id": "do_stop",
  158.       "parameters": []
  159.     }
  160.   },
  161.   {
  162.     "pos": {
  163.       "x": 9,
  164.       "y": 3
  165.     },
  166.     "opcode": {
  167.       "id": "eval_number",
  168.       "primary": "D",
  169.       "parameters": [
  170.         {
  171.           "type": "number",
  172.           "value": {
  173.             "var": 3
  174.           }
  175.         }
  176.       ]
  177.     }
  178.   },
  179.   {
  180.     "pos": {
  181.       "x": 5,
  182.       "y": 0
  183.     },
  184.     "opcode": {
  185.       "id": "eval_string",
  186.       "primary": "R",
  187.       "parameters": [
  188.         {
  189.           "type": "string",
  190.           "value": {
  191.             "v": "Startup Tasks"
  192.           }
  193.         }
  194.       ]
  195.     }
  196.   },
  197.   {
  198.     "pos": {
  199.       "x": 9,
  200.       "y": 4
  201.     },
  202.     "opcode": {
  203.       "id": "eval_countinv",
  204.       "primary": "L",
  205.       "parameters": [
  206.         {
  207.           "type": "inventory",
  208.           "value": {
  209.             "side": "up",
  210.             "node": "slates"
  211.           }
  212.         },
  213.         {
  214.           "type": "integer",
  215.           "value": {
  216.             "null": true
  217.           }
  218.         },
  219.         {
  220.           "type": "item",
  221.           "value": {
  222.             "item": "bloodmagic:slate",
  223.             "meta": 3
  224.           }
  225.         },
  226.         {
  227.           "type": "boolean",
  228.           "value": {
  229.             "null": true
  230.           }
  231.         },
  232.         {
  233.           "type": "boolean",
  234.           "value": {
  235.             "null": true
  236.           }
  237.         }
  238.       ]
  239.     }
  240.   },
  241.   {
  242.     "pos": {
  243.       "x": 5,
  244.       "y": 1
  245.     },
  246.     "opcode": {
  247.       "id": "test_loop",
  248.       "primary": "R",
  249.       "secondary": "u",
  250.       "parameters": [
  251.         {
  252.           "type": "integer",
  253.           "value": {
  254.             "v": 0
  255.           }
  256.         },
  257.         {
  258.           "type": "integer",
  259.           "value": {
  260.             "v": 5
  261.           }
  262.         }
  263.       ]
  264.     }
  265.   },
  266.   {
  267.     "pos": {
  268.       "x": 5,
  269.       "y": 2
  270.     },
  271.     "opcode": {
  272.       "id": "do_setvar",
  273.       "primary": "U",
  274.       "parameters": [
  275.         {
  276.           "type": "integer",
  277.           "value": {
  278.             "var": 0
  279.           }
  280.         }
  281.       ]
  282.     }
  283.   },
  284.   {
  285.     "pos": {
  286.       "x": 9,
  287.       "y": 6
  288.     },
  289.     "opcode": {
  290.       "id": "test_gt_number",
  291.       "primary": "R",
  292.       "secondary": "d",
  293.       "parameters": [
  294.         {
  295.           "type": "number",
  296.           "value": {
  297.             "var": 5
  298.           }
  299.         },
  300.         {
  301.           "type": "number",
  302.           "value": {
  303.             "v": 3
  304.           }
  305.         }
  306.       ]
  307.     }
  308.   },
  309.   {
  310.     "pos": {
  311.       "x": 5,
  312.       "y": 3
  313.     },
  314.     "opcode": {
  315.       "id": "do_setvar",
  316.       "primary": "R",
  317.       "parameters": [
  318.         {
  319.           "type": "integer",
  320.           "value": {
  321.             "v": 2
  322.           }
  323.         }
  324.       ]
  325.     }
  326.   },
  327.   {
  328.     "pos": {
  329.       "x": 9,
  330.       "y": 7
  331.     },
  332.     "opcode": {
  333.       "id": "do_signal",
  334.       "primary": "D",
  335.       "parameters": [
  336.         {
  337.           "type": "string",
  338.           "value": {
  339.             "v": "callSlate5"
  340.           }
  341.         }
  342.       ]
  343.     }
  344.   },
  345.   {
  346.     "pos": {
  347.       "x": 1,
  348.       "y": 0
  349.     },
  350.     "opcode": {
  351.       "id": "do_rs",
  352.       "primary": "R",
  353.       "parameters": [
  354.         {
  355.           "type": "side",
  356.           "value": {
  357.             "side": "up",
  358.             "node": "mobs"
  359.           }
  360.         },
  361.         {
  362.           "type": "integer",
  363.           "value": {
  364.             "v": 0
  365.           }
  366.         }
  367.       ]
  368.     }
  369.   },
  370.   {
  371.     "pos": {
  372.       "x": 5,
  373.       "y": 4
  374.     },
  375.     "opcode": {
  376.       "id": "do_setvar",
  377.       "primary": "L",
  378.       "parameters": [
  379.         {
  380.           "type": "integer",
  381.           "value": {
  382.             "v": 5
  383.           }
  384.         }
  385.       ]
  386.     }
  387.   },
  388.   {
  389.     "pos": {
  390.       "x": 9,
  391.       "y": 8
  392.     },
  393.     "opcode": {
  394.       "id": "do_stop",
  395.       "parameters": []
  396.     }
  397.   },
  398.   {
  399.     "pos": {
  400.       "x": 1,
  401.       "y": 1
  402.     },
  403.     "opcode": {
  404.       "id": "do_rs",
  405.       "primary": "U",
  406.       "parameters": [
  407.         {
  408.           "type": "side",
  409.           "value": {
  410.             "side": "down",
  411.             "node": "mobs"
  412.           }
  413.         },
  414.         {
  415.           "type": "integer",
  416.           "value": {
  417.             "v": 0
  418.           }
  419.         }
  420.       ]
  421.     }
  422.   },
  423.   {
  424.     "pos": {
  425.       "x": 9,
  426.       "y": 9
  427.     },
  428.     "opcode": {
  429.       "id": "eval_number",
  430.       "primary": "L",
  431.       "parameters": [
  432.         {
  433.           "type": "number",
  434.           "value": {
  435.             "v": 1
  436.           }
  437.         }
  438.       ]
  439.     }
  440.   },
  441.   {
  442.     "pos": {
  443.       "x": 1,
  444.       "y": 2
  445.     },
  446.     "opcode": {
  447.       "id": "do_log",
  448.       "primary": "D",
  449.       "parameters": [
  450.         {
  451.           "type": "string",
  452.           "value": {
  453.             "v": "Read Inventory Size"
  454.           }
  455.         }
  456.       ]
  457.     }
  458.   },
  459.   {
  460.     "pos": {
  461.       "x": 5,
  462.       "y": 6
  463.     },
  464.     "opcode": {
  465.       "id": "test_gt_number",
  466.       "primary": "R",
  467.       "secondary": "d",
  468.       "parameters": [
  469.         {
  470.           "type": "number",
  471.           "value": {
  472.             "var": 3
  473.           }
  474.         },
  475.         {
  476.           "type": "number",
  477.           "value": {
  478.             "v": 15
  479.           }
  480.         }
  481.       ]
  482.     }
  483.   },
  484.   {
  485.     "pos": {
  486.       "x": 1,
  487.       "y": 3
  488.     },
  489.     "opcode": {
  490.       "id": "eval_countinv",
  491.       "primary": "R",
  492.       "parameters": [
  493.         {
  494.           "type": "inventory",
  495.           "value": {
  496.             "side": "up",
  497.             "node": "slates"
  498.           }
  499.         },
  500.         {
  501.           "type": "integer",
  502.           "value": {
  503.             "null": true
  504.           }
  505.         },
  506.         {
  507.           "type": "item",
  508.           "value": {
  509.             "item": "bloodmagic:slate",
  510.             "meta": 0
  511.           }
  512.         },
  513.         {
  514.           "type": "boolean",
  515.           "value": {
  516.             "null": true
  517.           }
  518.         },
  519.         {
  520.           "type": "boolean",
  521.           "value": {
  522.             "null": true
  523.           }
  524.         }
  525.       ]
  526.     }
  527.   },
  528.   {
  529.     "pos": {
  530.       "x": 5,
  531.       "y": 7
  532.     },
  533.     "opcode": {
  534.       "id": "do_signal",
  535.       "primary": "D",
  536.       "parameters": [
  537.         {
  538.           "type": "string",
  539.           "value": {
  540.             "v": "callSlate3"
  541.           }
  542.         }
  543.       ]
  544.     }
  545.   },
  546.   {
  547.     "pos": {
  548.       "x": 1,
  549.       "y": 4
  550.     },
  551.     "opcode": {
  552.       "id": "test_set",
  553.       "primary": "L",
  554.       "secondary": "d",
  555.       "parameters": [
  556.         {
  557.           "type": "boolean",
  558.           "value": {
  559.             "fun": "last_bool"
  560.           }
  561.         }
  562.       ]
  563.     }
  564.   },
  565.   {
  566.     "pos": {
  567.       "x": 5,
  568.       "y": 8
  569.     },
  570.     "opcode": {
  571.       "id": "do_stop",
  572.       "parameters": []
  573.     }
  574.   },
  575.   {
  576.     "pos": {
  577.       "x": 1,
  578.       "y": 5
  579.     },
  580.     "opcode": {
  581.       "id": "do_log",
  582.       "primary": "D",
  583.       "parameters": [
  584.         {
  585.           "type": "string",
  586.           "value": {
  587.             "v": "Altar Free, Test Inventories"
  588.           }
  589.         }
  590.       ]
  591.     }
  592.   },
  593.   {
  594.     "pos": {
  595.       "x": 1,
  596.       "y": 6
  597.     },
  598.     "opcode": {
  599.       "id": "do_lock",
  600.       "primary": "D",
  601.       "parameters": [
  602.         {
  603.           "type": "string",
  604.           "value": {
  605.             "v": "altar"
  606.           }
  607.         }
  608.       ]
  609.     }
  610.   },
  611.   {
  612.     "pos": {
  613.       "x": 1,
  614.       "y": 7
  615.     },
  616.     "opcode": {
  617.       "id": "test_gt_number",
  618.       "primary": "R",
  619.       "secondary": "d",
  620.       "parameters": [
  621.         {
  622.           "type": "number",
  623.           "value": {
  624.             "var": 1
  625.           }
  626.         },
  627.         {
  628.           "type": "number",
  629.           "value": {
  630.             "v": 63
  631.           }
  632.         }
  633.       ]
  634.     }
  635.   },
  636.   {
  637.     "pos": {
  638.       "x": 1,
  639.       "y": 8
  640.     },
  641.     "opcode": {
  642.       "id": "do_signal",
  643.       "primary": "D",
  644.       "parameters": [
  645.         {
  646.           "type": "string",
  647.           "value": {
  648.             "v": "callSlate1"
  649.           }
  650.         }
  651.       ]
  652.     }
  653.   },
  654.   {
  655.     "pos": {
  656.       "x": 1,
  657.       "y": 9
  658.     },
  659.     "opcode": {
  660.       "id": "do_stop",
  661.       "parameters": []
  662.     }
  663.   },
  664.   {
  665.     "pos": {
  666.       "x": 10,
  667.       "y": 0
  668.     },
  669.     "opcode": {
  670.       "id": "do_comment",
  671.       "parameters": [
  672.         {
  673.           "type": "string",
  674.           "value": {
  675.             "v": "Rows 0 \u0026 1 initialize variable to 0"
  676.           }
  677.         },
  678.         {
  679.           "type": "string",
  680.           "value": {
  681.             "v": "Called by redstone pulse"
  682.           }
  683.         },
  684.         {
  685.           "type": "string",
  686.           "value": {
  687.             "v": "Extra pulses will likely break sequence"
  688.           }
  689.         }
  690.       ]
  691.     }
  692.   },
  693.   {
  694.     "pos": {
  695.       "x": 10,
  696.       "y": 1
  697.     },
  698.     "opcode": {
  699.       "id": "do_comment",
  700.       "parameters": [
  701.         {
  702.           "type": "string",
  703.           "value": {
  704.             "v": "Remaining rows do inventory check"
  705.           }
  706.         },
  707.         {
  708.           "type": "string",
  709.           "value": {
  710.             "v": "If low on slates, calls slate making function"
  711.           }
  712.         },
  713.         {
  714.           "type": "string",
  715.           "value": {
  716.             "v": "BMCalling"
  717.           }
  718.         }
  719.       ]
  720.     }
  721.   },
  722.   {
  723.     "pos": {
  724.       "x": 6,
  725.       "y": 0
  726.     },
  727.     "opcode": {
  728.       "id": "do_setvar",
  729.       "primary": "R",
  730.       "parameters": [
  731.         {
  732.           "type": "integer",
  733.           "value": {
  734.             "v": 0
  735.           }
  736.         }
  737.       ]
  738.     }
  739.   },
  740.   {
  741.     "pos": {
  742.       "x": 6,
  743.       "y": 1
  744.     },
  745.     "opcode": {
  746.       "id": "do_add_numbers",
  747.       "primary": "R",
  748.       "parameters": [
  749.         {
  750.           "type": "number",
  751.           "value": {
  752.             "var": 0
  753.           }
  754.         },
  755.         {
  756.           "type": "number",
  757.           "value": {
  758.             "v": 1
  759.           }
  760.         }
  761.       ]
  762.     }
  763.   },
  764.   {
  765.     "pos": {
  766.       "x": 6,
  767.       "y": 2
  768.     },
  769.     "opcode": {
  770.       "id": "eval_number",
  771.       "primary": "L",
  772.       "parameters": [
  773.         {
  774.           "type": "number",
  775.           "value": {
  776.             "v": 0
  777.           }
  778.         }
  779.       ]
  780.     }
  781.   },
  782.   {
  783.     "pos": {
  784.       "x": 10,
  785.       "y": 6
  786.     },
  787.     "opcode": {
  788.       "id": "eval_string",
  789.       "primary": "D",
  790.       "parameters": [
  791.         {
  792.           "type": "string",
  793.           "value": {
  794.             "v": "Inventory Good"
  795.           }
  796.         }
  797.       ]
  798.     }
  799.   },
  800.   {
  801.     "pos": {
  802.       "x": 6,
  803.       "y": 3
  804.     },
  805.     "opcode": {
  806.       "id": "eval_number",
  807.       "primary": "R",
  808.       "parameters": [
  809.         {
  810.           "type": "number",
  811.           "value": {
  812.             "var": 2
  813.           }
  814.         }
  815.       ]
  816.     }
  817.   },
  818.   {
  819.     "pos": {
  820.       "x": 10,
  821.       "y": 7
  822.     },
  823.     "opcode": {
  824.       "id": "do_setvar",
  825.       "primary": "D",
  826.       "parameters": [
  827.         {
  828.           "type": "integer",
  829.           "value": {
  830.             "v": 0
  831.           }
  832.         }
  833.       ]
  834.     }
  835.   },
  836.   {
  837.     "pos": {
  838.       "x": 2,
  839.       "y": 0
  840.     },
  841.     "opcode": {
  842.       "id": "do_wire",
  843.       "primary": "D",
  844.       "parameters": []
  845.     }
  846.   },
  847.   {
  848.     "pos": {
  849.       "x": 6,
  850.       "y": 4
  851.     },
  852.     "opcode": {
  853.       "id": "eval_countinv",
  854.       "primary": "L",
  855.       "parameters": [
  856.         {
  857.           "type": "inventory",
  858.           "value": {
  859.             "side": "up",
  860.             "node": "slates"
  861.           }
  862.         },
  863.         {
  864.           "type": "integer",
  865.           "value": {
  866.             "null": true
  867.           }
  868.         },
  869.         {
  870.           "type": "item",
  871.           "value": {
  872.             "item": "bloodmagic:slate",
  873.             "meta": 4
  874.           }
  875.         },
  876.         {
  877.           "type": "boolean",
  878.           "value": {
  879.             "null": true
  880.           }
  881.         },
  882.         {
  883.           "type": "boolean",
  884.           "value": {
  885.             "null": true
  886.           }
  887.         }
  888.       ]
  889.     }
  890.   },
  891.   {
  892.     "pos": {
  893.       "x": 10,
  894.       "y": 8
  895.     },
  896.     "opcode": {
  897.       "id": "do_releaselock",
  898.       "primary": "D",
  899.       "parameters": [
  900.         {
  901.           "type": "string",
  902.           "value": {
  903.             "v": "altar"
  904.           }
  905.         }
  906.       ]
  907.     }
  908.   },
  909.   {
  910.     "pos": {
  911.       "x": 2,
  912.       "y": 1
  913.     },
  914.     "opcode": {
  915.       "id": "do_log",
  916.       "primary": "R",
  917.       "parameters": [
  918.         {
  919.           "type": "string",
  920.           "value": {
  921.             "v": "Init Start"
  922.           }
  923.         }
  924.       ]
  925.     }
  926.   },
  927.   {
  928.     "pos": {
  929.       "x": 10,
  930.       "y": 9
  931.     },
  932.     "opcode": {
  933.       "id": "do_log",
  934.       "primary": "L",
  935.       "parameters": [
  936.         {
  937.           "type": "string",
  938.           "value": {
  939.             "v": "Slate Inventory Good"
  940.           }
  941.         }
  942.       ]
  943.     }
  944.   },
  945.   {
  946.     "pos": {
  947.       "x": 6,
  948.       "y": 6
  949.     },
  950.     "opcode": {
  951.       "id": "do_wire",
  952.       "primary": "R",
  953.       "parameters": []
  954.     }
  955.   },
  956.   {
  957.     "pos": {
  958.       "x": 2,
  959.       "y": 3
  960.     },
  961.     "opcode": {
  962.       "id": "do_setvar",
  963.       "primary": "R",
  964.       "parameters": [
  965.         {
  966.           "type": "integer",
  967.           "value": {
  968.             "v": 1
  969.           }
  970.         }
  971.       ]
  972.     }
  973.   },
  974.   {
  975.     "pos": {
  976.       "x": 2,
  977.       "y": 4
  978.     },
  979.     "opcode": {
  980.       "id": "eval_lock",
  981.       "primary": "L",
  982.       "parameters": [
  983.         {
  984.           "type": "string",
  985.           "value": {
  986.             "v": "lowBlood"
  987.           }
  988.         }
  989.       ]
  990.     }
  991.   },
  992.   {
  993.     "pos": {
  994.       "x": 6,
  995.       "y": 9
  996.     },
  997.     "opcode": {
  998.       "id": "do_comment",
  999.       "parameters": [
  1000.         {
  1001.           "type": "string",
  1002.           "value": {
  1003.             "v": "The Done bit is var 6 for this"
  1004.           }
  1005.         },
  1006.         {
  1007.           "type": "string",
  1008.           "value": {
  1009.             "v": "program BMInventory but"
  1010.           }
  1011.         },
  1012.         {
  1013.           "type": "string",
  1014.           "value": {
  1015.             "v": "var 1 in BMControl"
  1016.           }
  1017.         }
  1018.       ]
  1019.     }
  1020.   },
  1021.   {
  1022.     "pos": {
  1023.       "x": 2,
  1024.       "y": 6
  1025.     },
  1026.     "opcode": {
  1027.       "id": "do_wire",
  1028.       "primary": "R",
  1029.       "parameters": []
  1030.     }
  1031.   },
  1032.   {
  1033.     "pos": {
  1034.       "x": 2,
  1035.       "y": 7
  1036.     },
  1037.     "opcode": {
  1038.       "id": "do_wire",
  1039.       "primary": "U",
  1040.       "parameters": []
  1041.     }
  1042.   },
  1043.   {
  1044.     "pos": {
  1045.       "x": 7,
  1046.       "y": 0
  1047.     },
  1048.     "opcode": {
  1049.       "id": "do_delay",
  1050.       "primary": "R",
  1051.       "parameters": [
  1052.         {
  1053.           "type": "integer",
  1054.           "value": {
  1055.             "v": 40
  1056.           }
  1057.         }
  1058.       ]
  1059.     }
  1060.   },
  1061.   {
  1062.     "pos": {
  1063.       "x": 7,
  1064.       "y": 1
  1065.     },
  1066.     "opcode": {
  1067.       "id": "do_setvar",
  1068.       "primary": "D",
  1069.       "parameters": [
  1070.         {
  1071.           "type": "integer",
  1072.           "value": {
  1073.             "v": 0
  1074.           }
  1075.         }
  1076.       ]
  1077.     }
  1078.   },
  1079.   {
  1080.     "pos": {
  1081.       "x": 7,
  1082.       "y": 2
  1083.     },
  1084.     "opcode": {
  1085.       "id": "do_wire",
  1086.       "primary": "L",
  1087.       "parameters": []
  1088.     }
  1089.   },
  1090.   {
  1091.     "pos": {
  1092.       "x": 7,
  1093.       "y": 3
  1094.     },
  1095.     "opcode": {
  1096.       "id": "eval_countinv",
  1097.       "primary": "R",
  1098.       "parameters": [
  1099.         {
  1100.           "type": "inventory",
  1101.           "value": {
  1102.             "side": "up",
  1103.             "node": "slates"
  1104.           }
  1105.         },
  1106.         {
  1107.           "type": "integer",
  1108.           "value": {
  1109.             "null": true
  1110.           }
  1111.         },
  1112.         {
  1113.           "type": "item",
  1114.           "value": {
  1115.             "item": "bloodmagic:slate",
  1116.             "meta": 2
  1117.           }
  1118.         },
  1119.         {
  1120.           "type": "boolean",
  1121.           "value": {
  1122.             "null": true
  1123.           }
  1124.         },
  1125.         {
  1126.           "type": "boolean",
  1127.           "value": {
  1128.             "null": true
  1129.           }
  1130.         }
  1131.       ]
  1132.     }
  1133.   },
  1134.   {
  1135.     "pos": {
  1136.       "x": 7,
  1137.       "y": 4
  1138.     },
  1139.     "opcode": {
  1140.       "id": "eval_number",
  1141.       "primary": "L",
  1142.       "parameters": [
  1143.         {
  1144.           "type": "number",
  1145.           "value": {
  1146.             "var": 4
  1147.           }
  1148.         }
  1149.       ]
  1150.     }
  1151.   },
  1152.   {
  1153.     "pos": {
  1154.       "x": 3,
  1155.       "y": 1
  1156.     },
  1157.     "opcode": {
  1158.       "id": "eval_number",
  1159.       "primary": "R",
  1160.       "parameters": [
  1161.         {
  1162.           "type": "number",
  1163.           "value": {
  1164.             "v": 0
  1165.           }
  1166.         }
  1167.       ]
  1168.     }
  1169.   },
  1170.   {
  1171.     "pos": {
  1172.       "x": 7,
  1173.       "y": 6
  1174.     },
  1175.     "opcode": {
  1176.       "id": "test_gt_number",
  1177.       "primary": "R",
  1178.       "secondary": "d",
  1179.       "parameters": [
  1180.         {
  1181.           "type": "number",
  1182.           "value": {
  1183.             "var": 4
  1184.           }
  1185.         },
  1186.         {
  1187.           "type": "number",
  1188.           "value": {
  1189.             "v": 7
  1190.           }
  1191.         }
  1192.       ]
  1193.     }
  1194.   },
  1195.   {
  1196.     "pos": {
  1197.       "x": 3,
  1198.       "y": 3
  1199.     },
  1200.     "opcode": {
  1201.       "id": "eval_number",
  1202.       "primary": "R",
  1203.       "parameters": [
  1204.         {
  1205.           "type": "number",
  1206.           "value": {
  1207.             "var": 1
  1208.           }
  1209.         }
  1210.       ]
  1211.     }
  1212.   },
  1213.   {
  1214.     "pos": {
  1215.       "x": 7,
  1216.       "y": 7
  1217.     },
  1218.     "opcode": {
  1219.       "id": "do_signal",
  1220.       "primary": "D",
  1221.       "parameters": [
  1222.         {
  1223.           "type": "string",
  1224.           "value": {
  1225.             "v": "callSlate4"
  1226.           }
  1227.         }
  1228.       ]
  1229.     }
  1230.   },
  1231.   {
  1232.     "pos": {
  1233.       "x": 3,
  1234.       "y": 4
  1235.     },
  1236.     "opcode": {
  1237.       "id": "do_wire",
  1238.       "primary": "L",
  1239.       "parameters": []
  1240.     }
  1241.   },
  1242.   {
  1243.     "pos": {
  1244.       "x": 7,
  1245.       "y": 8
  1246.     },
  1247.     "opcode": {
  1248.       "id": "do_stop",
  1249.       "parameters": []
  1250.     }
  1251.   },
  1252.   {
  1253.     "pos": {
  1254.       "x": 7,
  1255.       "y": 9
  1256.     },
  1257.     "opcode": {
  1258.       "id": "do_signal",
  1259.       "primary": "U",
  1260.       "parameters": [
  1261.         {
  1262.           "type": "string",
  1263.           "value": {
  1264.             "v": "signalBMControl"
  1265.           }
  1266.         }
  1267.       ]
  1268.     }
  1269.   },
  1270.   {
  1271.     "pos": {
  1272.       "x": 3,
  1273.       "y": 6
  1274.     },
  1275.     "opcode": {
  1276.       "id": "test_gt_number",
  1277.       "primary": "R",
  1278.       "secondary": "d",
  1279.       "parameters": [
  1280.         {
  1281.           "type": "number",
  1282.           "value": {
  1283.             "var": 2
  1284.           }
  1285.         },
  1286.         {
  1287.           "type": "number",
  1288.           "value": {
  1289.             "v": 31
  1290.           }
  1291.         }
  1292.       ]
  1293.     }
  1294.   },
  1295.   {
  1296.     "pos": {
  1297.       "x": 3,
  1298.       "y": 7
  1299.     },
  1300.     "opcode": {
  1301.       "id": "do_signal",
  1302.       "primary": "D",
  1303.       "parameters": [
  1304.         {
  1305.           "type": "string",
  1306.           "value": {
  1307.             "v": "callSlate2"
  1308.           }
  1309.         }
  1310.       ]
  1311.     }
  1312.   },
  1313.   {
  1314.     "pos": {
  1315.       "x": 3,
  1316.       "y": 8
  1317.     },
  1318.     "opcode": {
  1319.       "id": "do_stop",
  1320.       "parameters": []
  1321.     }
  1322.   },
  1323.   {
  1324.     "pos": {
  1325.       "x": 8,
  1326.       "y": 0
  1327.     },
  1328.     "opcode": {
  1329.       "id": "do_stop",
  1330.       "parameters": []
  1331.     }
  1332.   },
  1333.   {
  1334.     "pos": {
  1335.       "x": 8,
  1336.       "y": 3
  1337.     },
  1338.     "opcode": {
  1339.       "id": "do_setvar",
  1340.       "primary": "R",
  1341.       "parameters": [
  1342.         {
  1343.           "type": "integer",
  1344.           "value": {
  1345.             "v": 3
  1346.           }
  1347.         }
  1348.       ]
  1349.     }
  1350.   },
  1351.   {
  1352.     "pos": {
  1353.       "x": 8,
  1354.       "y": 4
  1355.     },
  1356.     "opcode": {
  1357.       "id": "do_setvar",
  1358.       "primary": "L",
  1359.       "parameters": [
  1360.         {
  1361.           "type": "integer",
  1362.           "value": {
  1363.             "v": 4
  1364.           }
  1365.         }
  1366.       ]
  1367.     }
  1368.   },
  1369.   {
  1370.     "pos": {
  1371.       "x": 4,
  1372.       "y": 1
  1373.     },
  1374.     "opcode": {
  1375.       "id": "do_setvar",
  1376.       "primary": "R",
  1377.       "parameters": [
  1378.         {
  1379.           "type": "integer",
  1380.           "value": {
  1381.             "v": 0
  1382.           }
  1383.         }
  1384.       ]
  1385.     }
  1386.   },
  1387.   {
  1388.     "pos": {
  1389.       "x": 8,
  1390.       "y": 6
  1391.     },
  1392.     "opcode": {
  1393.       "id": "do_wire",
  1394.       "primary": "R",
  1395.       "parameters": []
  1396.     }
  1397.   },
  1398.   {
  1399.     "pos": {
  1400.       "x": 4,
  1401.       "y": 3
  1402.     },
  1403.     "opcode": {
  1404.       "id": "eval_countinv",
  1405.       "primary": "R",
  1406.       "parameters": [
  1407.         {
  1408.           "type": "inventory",
  1409.           "value": {
  1410.             "side": "up",
  1411.             "node": "slates"
  1412.           }
  1413.         },
  1414.         {
  1415.           "type": "integer",
  1416.           "value": {
  1417.             "null": true
  1418.           }
  1419.         },
  1420.         {
  1421.           "type": "item",
  1422.           "value": {
  1423.             "item": "bloodmagic:slate",
  1424.             "meta": 1
  1425.           }
  1426.         },
  1427.         {
  1428.           "type": "boolean",
  1429.           "value": {
  1430.             "null": true
  1431.           }
  1432.         },
  1433.         {
  1434.           "type": "boolean",
  1435.           "value": {
  1436.             "null": true
  1437.           }
  1438.         }
  1439.       ]
  1440.     }
  1441.   }
  1442. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement