Advertisement
gelatine87

RFTool Control - Empowerer

Jun 24th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 29.35 KB | None | 0 0
  1. [
  2.   {
  3.     "pos": {
  4.       "x": 0,
  5.       "y": 0
  6.     },
  7.     "opcode": {
  8.       "id": "ev_timer",
  9.       "primary": "R",
  10.       "parameters": [
  11.         {
  12.           "type": "integer",
  13.           "value": {
  14.             "v": 30
  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": "test_call",
  33.       "primary": "R",
  34.       "parameters": [
  35.         {
  36.           "type": "string",
  37.           "value": {
  38.             "v": "push"
  39.           }
  40.         }
  41.       ]
  42.     }
  43.   },
  44.   {
  45.     "pos": {
  46.       "x": 0,
  47.       "y": 1
  48.     },
  49.     "opcode": {
  50.       "id": "do_wire",
  51.       "primary": "D",
  52.       "parameters": []
  53.     }
  54.   },
  55.   {
  56.     "pos": {
  57.       "x": 4,
  58.       "y": 5
  59.     },
  60.     "opcode": {
  61.       "id": "test_eq",
  62.       "primary": "R",
  63.       "secondary": "d",
  64.       "parameters": [
  65.         {
  66.           "type": "integer",
  67.           "value": {
  68.             "fun": "last_int"
  69.           }
  70.         },
  71.         {
  72.           "type": "integer",
  73.           "value": {
  74.             "v": 0
  75.           }
  76.         }
  77.       ]
  78.     }
  79.   },
  80.   {
  81.     "pos": {
  82.       "x": 0,
  83.       "y": 2
  84.     },
  85.     "opcode": {
  86.       "id": "do_getingredients_smart",
  87.       "primary": "R",
  88.       "parameters": [
  89.         {
  90.           "type": "inventory",
  91.           "value": {
  92.             "side": "north"
  93.           }
  94.         },
  95.         {
  96.           "type": "inventory",
  97.           "value": {
  98.             "side": "west"
  99.           }
  100.         },
  101.         {
  102.           "type": "item",
  103.           "value": {
  104.             "item": "actuallyadditions:blockCrystalEmpowered",
  105.             "meta": 1
  106.           }
  107.         },
  108.         {
  109.           "type": "integer",
  110.           "value": {
  111.             "v": 0
  112.           }
  113.         },
  114.         {
  115.           "type": "integer",
  116.           "value": {
  117.             "v": 4
  118.           }
  119.         },
  120.         {
  121.           "type": "inventory",
  122.           "value": {
  123.             "side": "south"
  124.           }
  125.         }
  126.       ]
  127.     }
  128.   },
  129.   {
  130.     "pos": {
  131.       "x": 4,
  132.       "y": 6
  133.     },
  134.     "opcode": {
  135.       "id": "do_wire",
  136.       "primary": "L",
  137.       "parameters": []
  138.     }
  139.   },
  140.   {
  141.     "pos": {
  142.       "x": 4,
  143.       "y": 7
  144.     },
  145.     "opcode": {
  146.       "id": "do_setvar",
  147.       "primary": "R",
  148.       "parameters": [
  149.         {
  150.           "type": "integer",
  151.           "value": {
  152.             "v": 0
  153.           }
  154.         }
  155.       ]
  156.     }
  157.   },
  158.   {
  159.     "pos": {
  160.       "x": 4,
  161.       "y": 8
  162.     },
  163.     "opcode": {
  164.       "id": "eval_item",
  165.       "primary": "R",
  166.       "parameters": [
  167.         {
  168.           "type": "item",
  169.           "value": {
  170.             "item": "actuallyadditions:blockCrystalEmpowered",
  171.             "meta": 4
  172.           }
  173.         }
  174.       ]
  175.     }
  176.   },
  177.   {
  178.     "pos": {
  179.       "x": 4,
  180.       "y": 9
  181.     },
  182.     "opcode": {
  183.       "id": "test_call",
  184.       "primary": "R",
  185.       "parameters": [
  186.         {
  187.           "type": "string",
  188.           "value": {
  189.             "v": "push"
  190.           }
  191.         }
  192.       ]
  193.     }
  194.   },
  195.   {
  196.     "pos": {
  197.       "x": 0,
  198.       "y": 6
  199.     },
  200.     "opcode": {
  201.       "id": "do_wire",
  202.       "primary": "D",
  203.       "parameters": []
  204.     }
  205.   },
  206.   {
  207.     "pos": {
  208.       "x": 0,
  209.       "y": 7
  210.     },
  211.     "opcode": {
  212.       "id": "do_getingredients_smart",
  213.       "primary": "R",
  214.       "parameters": [
  215.         {
  216.           "type": "inventory",
  217.           "value": {
  218.             "side": "north"
  219.           }
  220.         },
  221.         {
  222.           "type": "inventory",
  223.           "value": {
  224.             "side": "west"
  225.           }
  226.         },
  227.         {
  228.           "type": "item",
  229.           "value": {
  230.             "item": "actuallyadditions:blockCrystalEmpowered",
  231.             "meta": 2
  232.           }
  233.         },
  234.         {
  235.           "type": "integer",
  236.           "value": {
  237.             "v": 0
  238.           }
  239.         },
  240.         {
  241.           "type": "integer",
  242.           "value": {
  243.             "v": 4
  244.           }
  245.         },
  246.         {
  247.           "type": "inventory",
  248.           "value": {
  249.             "side": "south"
  250.           }
  251.         }
  252.       ]
  253.     }
  254.   },
  255.   {
  256.     "pos": {
  257.       "x": 5,
  258.       "y": 0
  259.     },
  260.     "opcode": {
  261.       "id": "test_call",
  262.       "primary": "R",
  263.       "parameters": [
  264.         {
  265.           "type": "string",
  266.           "value": {
  267.             "v": "push"
  268.           }
  269.         }
  270.       ]
  271.     }
  272.   },
  273.   {
  274.     "pos": {
  275.       "x": 9,
  276.       "y": 5
  277.     },
  278.     "opcode": {
  279.       "id": "ev_signal",
  280.       "primary": "D",
  281.       "parameters": [
  282.         {
  283.           "type": "string",
  284.           "value": {
  285.             "v": "pull"
  286.           }
  287.         },
  288.         {
  289.           "type": "boolean",
  290.           "value": {
  291.             "null": true
  292.           }
  293.         }
  294.       ]
  295.     }
  296.   },
  297.   {
  298.     "pos": {
  299.       "x": 5,
  300.       "y": 2
  301.     },
  302.     "opcode": {
  303.       "id": "test_call",
  304.       "parameters": [
  305.         {
  306.           "type": "string",
  307.           "value": {
  308.             "v": "pull"
  309.           }
  310.         }
  311.       ]
  312.     }
  313.   },
  314.   {
  315.     "pos": {
  316.       "x": 9,
  317.       "y": 6
  318.     },
  319.     "opcode": {
  320.       "id": "eval_countinv",
  321.       "primary": "D",
  322.       "parameters": [
  323.         {
  324.           "type": "inventory",
  325.           "value": {
  326.             "side": "up"
  327.           }
  328.         },
  329.         {
  330.           "type": "integer",
  331.           "value": {
  332.             "null": true
  333.           }
  334.         },
  335.         {
  336.           "type": "item",
  337.           "value": {
  338.             "var": 0
  339.           }
  340.         },
  341.         {
  342.           "type": "boolean",
  343.           "value": {
  344.             "null": true
  345.           }
  346.         },
  347.         {
  348.           "type": "boolean",
  349.           "value": {
  350.             "null": true
  351.           }
  352.         }
  353.       ]
  354.     }
  355.   },
  356.   {
  357.     "pos": {
  358.       "x": 5,
  359.       "y": 3
  360.     },
  361.     "opcode": {
  362.       "id": "do_setvar",
  363.       "primary": "R",
  364.       "parameters": [
  365.         {
  366.           "type": "integer",
  367.           "value": {
  368.             "v": 0
  369.           }
  370.         }
  371.       ]
  372.     }
  373.   },
  374.   {
  375.     "pos": {
  376.       "x": 9,
  377.       "y": 7
  378.     },
  379.     "opcode": {
  380.       "id": "test_gt",
  381.       "primary": "D",
  382.       "secondary": "l",
  383.       "parameters": [
  384.         {
  385.           "type": "integer",
  386.           "value": {
  387.             "fun": "last_int"
  388.           }
  389.         },
  390.         {
  391.           "type": "integer",
  392.           "value": {
  393.             "v": 0
  394.           }
  395.         }
  396.       ]
  397.     }
  398.   },
  399.   {
  400.     "pos": {
  401.       "x": 1,
  402.       "y": 0
  403.     },
  404.     "opcode": {
  405.       "id": "eval_countinv",
  406.       "primary": "R",
  407.       "parameters": [
  408.         {
  409.           "type": "inventory",
  410.           "value": {
  411.             "side": "north"
  412.           }
  413.         },
  414.         {
  415.           "type": "integer",
  416.           "value": {
  417.             "null": true
  418.           }
  419.         },
  420.         {
  421.           "type": "item",
  422.           "value": {
  423.             "null": true
  424.           }
  425.         },
  426.         {
  427.           "type": "boolean",
  428.           "value": {
  429.             "null": true
  430.           }
  431.         },
  432.         {
  433.           "type": "boolean",
  434.           "value": {
  435.             "null": true
  436.           }
  437.         }
  438.       ]
  439.     }
  440.   },
  441.   {
  442.     "pos": {
  443.       "x": 5,
  444.       "y": 4
  445.     },
  446.     "opcode": {
  447.       "id": "eval_item",
  448.       "primary": "R",
  449.       "parameters": [
  450.         {
  451.           "type": "item",
  452.           "value": {
  453.             "item": "actuallyadditions:itemMisc",
  454.             "meta": 24
  455.           }
  456.         }
  457.       ]
  458.     }
  459.   },
  460.   {
  461.     "pos": {
  462.       "x": 9,
  463.       "y": 8
  464.     },
  465.     "opcode": {
  466.       "id": "do_fetchitems",
  467.       "primary": "D",
  468.       "parameters": [
  469.         {
  470.           "type": "inventory",
  471.           "value": {
  472.             "side": "up"
  473.           }
  474.         },
  475.         {
  476.           "type": "integer",
  477.           "value": {
  478.             "null": true
  479.           }
  480.         },
  481.         {
  482.           "type": "item",
  483.           "value": {
  484.             "null": true
  485.           }
  486.         },
  487.         {
  488.           "type": "integer",
  489.           "value": {
  490.             "null": true
  491.           }
  492.         },
  493.         {
  494.           "type": "integer",
  495.           "value": {
  496.             "v": 0
  497.           }
  498.         },
  499.         {
  500.           "type": "boolean",
  501.           "value": {
  502.             "null": true
  503.           }
  504.         },
  505.         {
  506.           "type": "boolean",
  507.           "value": {
  508.             "null": true
  509.           }
  510.         }
  511.       ]
  512.     }
  513.   },
  514.   {
  515.     "pos": {
  516.       "x": 1,
  517.       "y": 1
  518.     },
  519.     "opcode": {
  520.       "id": "do_wire",
  521.       "primary": "L",
  522.       "parameters": []
  523.     }
  524.   },
  525.   {
  526.     "pos": {
  527.       "x": 5,
  528.       "y": 5
  529.     },
  530.     "opcode": {
  531.       "id": "test_call",
  532.       "primary": "R",
  533.       "parameters": [
  534.         {
  535.           "type": "string",
  536.           "value": {
  537.             "v": "push"
  538.           }
  539.         }
  540.       ]
  541.     }
  542.   },
  543.   {
  544.     "pos": {
  545.       "x": 9,
  546.       "y": 9
  547.     },
  548.     "opcode": {
  549.       "id": "do_pushitems",
  550.       "parameters": [
  551.         {
  552.           "type": "inventory",
  553.           "value": {
  554.             "side": "south"
  555.           }
  556.         },
  557.         {
  558.           "type": "integer",
  559.           "value": {
  560.             "null": true
  561.           }
  562.         },
  563.         {
  564.           "type": "integer",
  565.           "value": {
  566.             "null": true
  567.           }
  568.         },
  569.         {
  570.           "type": "integer",
  571.           "value": {
  572.             "v": 0
  573.           }
  574.         }
  575.       ]
  576.     }
  577.   },
  578.   {
  579.     "pos": {
  580.       "x": 1,
  581.       "y": 2
  582.     },
  583.     "opcode": {
  584.       "id": "test_eq",
  585.       "primary": "R",
  586.       "secondary": "d",
  587.       "parameters": [
  588.         {
  589.           "type": "integer",
  590.           "value": {
  591.             "fun": "last_int"
  592.           }
  593.         },
  594.         {
  595.           "type": "integer",
  596.           "value": {
  597.             "v": 0
  598.           }
  599.         }
  600.       ]
  601.     }
  602.   },
  603.   {
  604.     "pos": {
  605.       "x": 1,
  606.       "y": 3
  607.     },
  608.     "opcode": {
  609.       "id": "do_getingredients_smart",
  610.       "primary": "R",
  611.       "parameters": [
  612.         {
  613.           "type": "inventory",
  614.           "value": {
  615.             "side": "north"
  616.           }
  617.         },
  618.         {
  619.           "type": "inventory",
  620.           "value": {
  621.             "side": "west"
  622.           }
  623.         },
  624.         {
  625.           "type": "item",
  626.           "value": {
  627.             "item": "actuallyadditions:blockCrystalEmpowered",
  628.             "meta": 5
  629.           }
  630.         },
  631.         {
  632.           "type": "integer",
  633.           "value": {
  634.             "v": 0
  635.           }
  636.         },
  637.         {
  638.           "type": "integer",
  639.           "value": {
  640.             "v": 4
  641.           }
  642.         },
  643.         {
  644.           "type": "inventory",
  645.           "value": {
  646.             "side": "south"
  647.           }
  648.         }
  649.       ]
  650.     }
  651.   },
  652.   {
  653.     "pos": {
  654.       "x": 5,
  655.       "y": 7
  656.     },
  657.     "opcode": {
  658.       "id": "test_call",
  659.       "parameters": [
  660.         {
  661.           "type": "string",
  662.           "value": {
  663.             "v": "pull"
  664.           }
  665.         }
  666.       ]
  667.     }
  668.   },
  669.   {
  670.     "pos": {
  671.       "x": 5,
  672.       "y": 8
  673.     },
  674.     "opcode": {
  675.       "id": "do_setvar",
  676.       "primary": "R",
  677.       "parameters": [
  678.         {
  679.           "type": "integer",
  680.           "value": {
  681.             "v": 0
  682.           }
  683.         }
  684.       ]
  685.     }
  686.   },
  687.   {
  688.     "pos": {
  689.       "x": 5,
  690.       "y": 9
  691.     },
  692.     "opcode": {
  693.       "id": "eval_item",
  694.       "primary": "R",
  695.       "parameters": [
  696.         {
  697.           "type": "item",
  698.           "value": {
  699.             "item": "forestry:sturdyMachine",
  700.             "meta": 0
  701.           }
  702.         }
  703.       ]
  704.     }
  705.   },
  706.   {
  707.     "pos": {
  708.       "x": 1,
  709.       "y": 6
  710.     },
  711.     "opcode": {
  712.       "id": "do_wire",
  713.       "primary": "L",
  714.       "parameters": []
  715.     }
  716.   },
  717.   {
  718.     "pos": {
  719.       "x": 1,
  720.       "y": 7
  721.     },
  722.     "opcode": {
  723.       "id": "test_eq",
  724.       "primary": "R",
  725.       "secondary": "d",
  726.       "parameters": [
  727.         {
  728.           "type": "integer",
  729.           "value": {
  730.             "fun": "last_int"
  731.           }
  732.         },
  733.         {
  734.           "type": "integer",
  735.           "value": {
  736.             "v": 0
  737.           }
  738.         }
  739.       ]
  740.     }
  741.   },
  742.   {
  743.     "pos": {
  744.       "x": 1,
  745.       "y": 8
  746.     },
  747.     "opcode": {
  748.       "id": "do_getingredients_smart",
  749.       "primary": "R",
  750.       "parameters": [
  751.         {
  752.           "type": "inventory",
  753.           "value": {
  754.             "side": "north"
  755.           }
  756.         },
  757.         {
  758.           "type": "inventory",
  759.           "value": {
  760.             "side": "west"
  761.           }
  762.         },
  763.         {
  764.           "type": "item",
  765.           "value": {
  766.             "item": "actuallyadditions:blockCrystalEmpowered",
  767.             "meta": 4
  768.           }
  769.         },
  770.         {
  771.           "type": "integer",
  772.           "value": {
  773.             "v": 0
  774.           }
  775.         },
  776.         {
  777.           "type": "integer",
  778.           "value": {
  779.             "v": 4
  780.           }
  781.         },
  782.         {
  783.           "type": "inventory",
  784.           "value": {
  785.             "side": "south"
  786.           }
  787.         }
  788.       ]
  789.     }
  790.   },
  791.   {
  792.     "pos": {
  793.       "x": 6,
  794.       "y": 0
  795.     },
  796.     "opcode": {
  797.       "id": "eval_item",
  798.       "primary": "R",
  799.       "parameters": [
  800.         {
  801.           "type": "item",
  802.           "value": {
  803.             "item": "actuallyadditions:blockCrystalEmpowered",
  804.             "meta": 0
  805.           }
  806.         }
  807.       ]
  808.     }
  809.   },
  810.   {
  811.     "pos": {
  812.       "x": 10,
  813.       "y": 4
  814.     },
  815.     "opcode": {
  816.       "id": "ev_signal",
  817.       "primary": "D",
  818.       "parameters": [
  819.         {
  820.           "type": "string",
  821.           "value": {
  822.             "v": "push"
  823.           }
  824.         },
  825.         {
  826.           "type": "boolean",
  827.           "value": {
  828.             "null": true
  829.           }
  830.         }
  831.       ]
  832.     }
  833.   },
  834.   {
  835.     "pos": {
  836.       "x": 10,
  837.       "y": 5
  838.     },
  839.     "opcode": {
  840.       "id": "do_pushitems",
  841.       "primary": "D",
  842.       "parameters": [
  843.         {
  844.           "type": "inventory",
  845.           "value": {
  846.             "side": "up"
  847.           }
  848.         },
  849.         {
  850.           "type": "integer",
  851.           "value": {
  852.             "null": true
  853.           }
  854.         },
  855.         {
  856.           "type": "integer",
  857.           "value": {
  858.             "null": true
  859.           }
  860.         },
  861.         {
  862.           "type": "integer",
  863.           "value": {
  864.             "v": 0
  865.           }
  866.         }
  867.       ]
  868.     }
  869.   },
  870.   {
  871.     "pos": {
  872.       "x": 10,
  873.       "y": 6
  874.     },
  875.     "opcode": {
  876.       "id": "do_pushitems",
  877.       "primary": "D",
  878.       "parameters": [
  879.         {
  880.           "type": "inventory",
  881.           "value": {
  882.             "side": "up",
  883.             "node": "n"
  884.           }
  885.         },
  886.         {
  887.           "type": "integer",
  888.           "value": {
  889.             "null": true
  890.           }
  891.         },
  892.         {
  893.           "type": "integer",
  894.           "value": {
  895.             "null": true
  896.           }
  897.         },
  898.         {
  899.           "type": "integer",
  900.           "value": {
  901.             "v": 1
  902.           }
  903.         }
  904.       ]
  905.     }
  906.   },
  907.   {
  908.     "pos": {
  909.       "x": 6,
  910.       "y": 3
  911.     },
  912.     "opcode": {
  913.       "id": "test_call",
  914.       "parameters": [
  915.         {
  916.           "type": "string",
  917.           "value": {
  918.             "v": "pull"
  919.           }
  920.         }
  921.       ]
  922.     }
  923.   },
  924.   {
  925.     "pos": {
  926.       "x": 10,
  927.       "y": 7
  928.     },
  929.     "opcode": {
  930.       "id": "do_pushitems",
  931.       "primary": "D",
  932.       "parameters": [
  933.         {
  934.           "type": "inventory",
  935.           "value": {
  936.             "side": "up",
  937.             "node": "s"
  938.           }
  939.         },
  940.         {
  941.           "type": "integer",
  942.           "value": {
  943.             "null": true
  944.           }
  945.         },
  946.         {
  947.           "type": "integer",
  948.           "value": {
  949.             "null": true
  950.           }
  951.         },
  952.         {
  953.           "type": "integer",
  954.           "value": {
  955.             "v": 2
  956.           }
  957.         }
  958.       ]
  959.     }
  960.   },
  961.   {
  962.     "pos": {
  963.       "x": 2,
  964.       "y": 0
  965.     },
  966.     "opcode": {
  967.       "id": "test_gt",
  968.       "primary": "R",
  969.       "secondary": "d",
  970.       "parameters": [
  971.         {
  972.           "type": "integer",
  973.           "value": {
  974.             "fun": "last_int"
  975.           }
  976.         },
  977.         {
  978.           "type": "integer",
  979.           "value": {
  980.             "v": 4
  981.           }
  982.         }
  983.       ]
  984.     }
  985.   },
  986.   {
  987.     "pos": {
  988.       "x": 6,
  989.       "y": 4
  990.     },
  991.     "opcode": {
  992.       "id": "do_setvar",
  993.       "primary": "R",
  994.       "parameters": [
  995.         {
  996.           "type": "integer",
  997.           "value": {
  998.             "v": 0
  999.           }
  1000.         }
  1001.       ]
  1002.     }
  1003.   },
  1004.   {
  1005.     "pos": {
  1006.       "x": 10,
  1007.       "y": 8
  1008.     },
  1009.     "opcode": {
  1010.       "id": "do_pushitems",
  1011.       "primary": "D",
  1012.       "parameters": [
  1013.         {
  1014.           "type": "inventory",
  1015.           "value": {
  1016.             "side": "up",
  1017.             "node": "w"
  1018.           }
  1019.         },
  1020.         {
  1021.           "type": "integer",
  1022.           "value": {
  1023.             "null": true
  1024.           }
  1025.         },
  1026.         {
  1027.           "type": "integer",
  1028.           "value": {
  1029.             "null": true
  1030.           }
  1031.         },
  1032.         {
  1033.           "type": "integer",
  1034.           "value": {
  1035.             "v": 3
  1036.           }
  1037.         }
  1038.       ]
  1039.     }
  1040.   },
  1041.   {
  1042.     "pos": {
  1043.       "x": 2,
  1044.       "y": 1
  1045.     },
  1046.     "opcode": {
  1047.       "id": "do_wire",
  1048.       "primary": "L",
  1049.       "parameters": []
  1050.     }
  1051.   },
  1052.   {
  1053.     "pos": {
  1054.       "x": 6,
  1055.       "y": 5
  1056.     },
  1057.     "opcode": {
  1058.       "id": "eval_item",
  1059.       "primary": "R",
  1060.       "parameters": [
  1061.         {
  1062.           "type": "item",
  1063.           "value": {
  1064.             "item": "actuallyadditions:blockCrystalEmpowered",
  1065.             "meta": 3
  1066.           }
  1067.         }
  1068.       ]
  1069.     }
  1070.   },
  1071.   {
  1072.     "pos": {
  1073.       "x": 10,
  1074.       "y": 9
  1075.     },
  1076.     "opcode": {
  1077.       "id": "do_pushitems",
  1078.       "parameters": [
  1079.         {
  1080.           "type": "inventory",
  1081.           "value": {
  1082.             "side": "up",
  1083.             "node": "e"
  1084.           }
  1085.         },
  1086.         {
  1087.           "type": "integer",
  1088.           "value": {
  1089.             "null": true
  1090.           }
  1091.         },
  1092.         {
  1093.           "type": "integer",
  1094.           "value": {
  1095.             "null": true
  1096.           }
  1097.         },
  1098.         {
  1099.           "type": "integer",
  1100.           "value": {
  1101.             "v": 4
  1102.           }
  1103.         }
  1104.       ]
  1105.     }
  1106.   },
  1107.   {
  1108.     "pos": {
  1109.       "x": 2,
  1110.       "y": 2
  1111.     },
  1112.     "opcode": {
  1113.       "id": "test_call",
  1114.       "primary": "R",
  1115.       "parameters": [
  1116.         {
  1117.           "type": "string",
  1118.           "value": {
  1119.             "v": "push"
  1120.           }
  1121.         }
  1122.       ]
  1123.     }
  1124.   },
  1125.   {
  1126.     "pos": {
  1127.       "x": 2,
  1128.       "y": 3
  1129.     },
  1130.     "opcode": {
  1131.       "id": "test_eq",
  1132.       "primary": "R",
  1133.       "secondary": "d",
  1134.       "parameters": [
  1135.         {
  1136.           "type": "integer",
  1137.           "value": {
  1138.             "fun": "last_int"
  1139.           }
  1140.         },
  1141.         {
  1142.           "type": "integer",
  1143.           "value": {
  1144.             "v": 0
  1145.           }
  1146.         }
  1147.       ]
  1148.     }
  1149.   },
  1150.   {
  1151.     "pos": {
  1152.       "x": 2,
  1153.       "y": 4
  1154.     },
  1155.     "opcode": {
  1156.       "id": "do_getingredients_smart",
  1157.       "primary": "R",
  1158.       "parameters": [
  1159.         {
  1160.           "type": "inventory",
  1161.           "value": {
  1162.             "side": "north"
  1163.           }
  1164.         },
  1165.         {
  1166.           "type": "inventory",
  1167.           "value": {
  1168.             "side": "west"
  1169.           }
  1170.         },
  1171.         {
  1172.           "type": "item",
  1173.           "value": {
  1174.             "item": "actuallyadditions:itemMisc",
  1175.             "meta": 24
  1176.           }
  1177.         },
  1178.         {
  1179.           "type": "integer",
  1180.           "value": {
  1181.             "v": 0
  1182.           }
  1183.         },
  1184.         {
  1185.           "type": "integer",
  1186.           "value": {
  1187.             "v": 4
  1188.           }
  1189.         },
  1190.         {
  1191.           "type": "inventory",
  1192.           "value": {
  1193.             "side": "south"
  1194.           }
  1195.         }
  1196.       ]
  1197.     }
  1198.   },
  1199.   {
  1200.     "pos": {
  1201.       "x": 6,
  1202.       "y": 8
  1203.     },
  1204.     "opcode": {
  1205.       "id": "test_call",
  1206.       "parameters": [
  1207.         {
  1208.           "type": "string",
  1209.           "value": {
  1210.             "v": "pull"
  1211.           }
  1212.         }
  1213.       ]
  1214.     }
  1215.   },
  1216.   {
  1217.     "pos": {
  1218.       "x": 6,
  1219.       "y": 9
  1220.     },
  1221.     "opcode": {
  1222.       "id": "do_setvar",
  1223.       "primary": "R",
  1224.       "parameters": [
  1225.         {
  1226.           "type": "integer",
  1227.           "value": {
  1228.             "v": 0
  1229.           }
  1230.         }
  1231.       ]
  1232.     }
  1233.   },
  1234.   {
  1235.     "pos": {
  1236.       "x": 2,
  1237.       "y": 6
  1238.     },
  1239.     "opcode": {
  1240.       "id": "do_wire",
  1241.       "primary": "L",
  1242.       "parameters": []
  1243.     }
  1244.   },
  1245.   {
  1246.     "pos": {
  1247.       "x": 2,
  1248.       "y": 7
  1249.     },
  1250.     "opcode": {
  1251.       "id": "test_call",
  1252.       "primary": "R",
  1253.       "parameters": [
  1254.         {
  1255.           "type": "string",
  1256.           "value": {
  1257.             "v": "push"
  1258.           }
  1259.         }
  1260.       ]
  1261.     }
  1262.   },
  1263.   {
  1264.     "pos": {
  1265.       "x": 2,
  1266.       "y": 8
  1267.     },
  1268.     "opcode": {
  1269.       "id": "test_eq",
  1270.       "primary": "R",
  1271.       "secondary": "d",
  1272.       "parameters": [
  1273.         {
  1274.           "type": "integer",
  1275.           "value": {
  1276.             "fun": "last_int"
  1277.           }
  1278.         },
  1279.         {
  1280.           "type": "integer",
  1281.           "value": {
  1282.             "v": 0
  1283.           }
  1284.         }
  1285.       ]
  1286.     }
  1287.   },
  1288.   {
  1289.     "pos": {
  1290.       "x": 2,
  1291.       "y": 9
  1292.     },
  1293.     "opcode": {
  1294.       "id": "do_getingredients_smart",
  1295.       "primary": "R",
  1296.       "parameters": [
  1297.         {
  1298.           "type": "inventory",
  1299.           "value": {
  1300.             "side": "north"
  1301.           }
  1302.         },
  1303.         {
  1304.           "type": "inventory",
  1305.           "value": {
  1306.             "side": "west"
  1307.           }
  1308.         },
  1309.         {
  1310.           "type": "item",
  1311.           "value": {
  1312.             "item": "forestry:sturdyMachine",
  1313.             "meta": 0
  1314.           }
  1315.         },
  1316.         {
  1317.           "type": "integer",
  1318.           "value": {
  1319.             "v": 0
  1320.           }
  1321.         },
  1322.         {
  1323.           "type": "integer",
  1324.           "value": {
  1325.             "v": 4
  1326.           }
  1327.         },
  1328.         {
  1329.           "type": "inventory",
  1330.           "value": {
  1331.             "side": "south"
  1332.           }
  1333.         }
  1334.       ]
  1335.     }
  1336.   },
  1337.   {
  1338.     "pos": {
  1339.       "x": 7,
  1340.       "y": 0
  1341.     },
  1342.     "opcode": {
  1343.       "id": "do_setvar",
  1344.       "primary": "R",
  1345.       "parameters": [
  1346.         {
  1347.           "type": "integer",
  1348.           "value": {
  1349.             "v": 0
  1350.           }
  1351.         }
  1352.       ]
  1353.     }
  1354.   },
  1355.   {
  1356.     "pos": {
  1357.       "x": 3,
  1358.       "y": 0
  1359.     },
  1360.     "opcode": {
  1361.       "id": "do_getingredients_smart",
  1362.       "primary": "R",
  1363.       "parameters": [
  1364.         {
  1365.           "type": "inventory",
  1366.           "value": {
  1367.             "side": "north"
  1368.           }
  1369.         },
  1370.         {
  1371.           "type": "inventory",
  1372.           "value": {
  1373.             "side": "west"
  1374.           }
  1375.         },
  1376.         {
  1377.           "type": "item",
  1378.           "value": {
  1379.             "item": "actuallyadditions:blockCrystalEmpowered",
  1380.             "meta": 0
  1381.           }
  1382.         },
  1383.         {
  1384.           "type": "integer",
  1385.           "value": {
  1386.             "v": 0
  1387.           }
  1388.         },
  1389.         {
  1390.           "type": "integer",
  1391.           "value": {
  1392.             "v": 4
  1393.           }
  1394.         },
  1395.         {
  1396.           "type": "inventory",
  1397.           "value": {
  1398.             "side": "south"
  1399.           }
  1400.         }
  1401.       ]
  1402.     }
  1403.   },
  1404.   {
  1405.     "pos": {
  1406.       "x": 7,
  1407.       "y": 4
  1408.     },
  1409.     "opcode": {
  1410.       "id": "test_call",
  1411.       "parameters": [
  1412.         {
  1413.           "type": "string",
  1414.           "value": {
  1415.             "v": "pull"
  1416.           }
  1417.         }
  1418.       ]
  1419.     }
  1420.   },
  1421.   {
  1422.     "pos": {
  1423.       "x": 3,
  1424.       "y": 1
  1425.     },
  1426.     "opcode": {
  1427.       "id": "do_wire",
  1428.       "primary": "L",
  1429.       "parameters": []
  1430.     }
  1431.   },
  1432.   {
  1433.     "pos": {
  1434.       "x": 7,
  1435.       "y": 5
  1436.     },
  1437.     "opcode": {
  1438.       "id": "do_setvar",
  1439.       "primary": "R",
  1440.       "parameters": [
  1441.         {
  1442.           "type": "integer",
  1443.           "value": {
  1444.             "v": 0
  1445.           }
  1446.         }
  1447.       ]
  1448.     }
  1449.   },
  1450.   {
  1451.     "pos": {
  1452.       "x": 3,
  1453.       "y": 2
  1454.     },
  1455.     "opcode": {
  1456.       "id": "eval_item",
  1457.       "primary": "R",
  1458.       "parameters": [
  1459.         {
  1460.           "type": "item",
  1461.           "value": {
  1462.             "item": "actuallyadditions:blockCrystalEmpowered",
  1463.             "meta": 1
  1464.           }
  1465.         }
  1466.       ]
  1467.     }
  1468.   },
  1469.   {
  1470.     "pos": {
  1471.       "x": 3,
  1472.       "y": 3
  1473.     },
  1474.     "opcode": {
  1475.       "id": "test_call",
  1476.       "primary": "R",
  1477.       "parameters": [
  1478.         {
  1479.           "type": "string",
  1480.           "value": {
  1481.             "v": "push"
  1482.           }
  1483.         }
  1484.       ]
  1485.     }
  1486.   },
  1487.   {
  1488.     "pos": {
  1489.       "x": 3,
  1490.       "y": 4
  1491.     },
  1492.     "opcode": {
  1493.       "id": "test_eq",
  1494.       "primary": "R",
  1495.       "secondary": "d",
  1496.       "parameters": [
  1497.         {
  1498.           "type": "integer",
  1499.           "value": {
  1500.             "fun": "last_int"
  1501.           }
  1502.         },
  1503.         {
  1504.           "type": "integer",
  1505.           "value": {
  1506.             "v": 0
  1507.           }
  1508.         }
  1509.       ]
  1510.     }
  1511.   },
  1512.   {
  1513.     "pos": {
  1514.       "x": 3,
  1515.       "y": 5
  1516.     },
  1517.     "opcode": {
  1518.       "id": "do_getingredients_smart",
  1519.       "primary": "R",
  1520.       "parameters": [
  1521.         {
  1522.           "type": "inventory",
  1523.           "value": {
  1524.             "side": "north"
  1525.           }
  1526.         },
  1527.         {
  1528.           "type": "inventory",
  1529.           "value": {
  1530.             "side": "west"
  1531.           }
  1532.         },
  1533.         {
  1534.           "type": "item",
  1535.           "value": {
  1536.             "item": "actuallyadditions:blockCrystalEmpowered",
  1537.             "meta": 3
  1538.           }
  1539.         },
  1540.         {
  1541.           "type": "integer",
  1542.           "value": {
  1543.             "v": 0
  1544.           }
  1545.         },
  1546.         {
  1547.           "type": "integer",
  1548.           "value": {
  1549.             "v": 4
  1550.           }
  1551.         },
  1552.         {
  1553.           "type": "inventory",
  1554.           "value": {
  1555.             "side": "south"
  1556.           }
  1557.         }
  1558.       ]
  1559.     }
  1560.   },
  1561.   {
  1562.     "pos": {
  1563.       "x": 7,
  1564.       "y": 9
  1565.     },
  1566.     "opcode": {
  1567.       "id": "test_call",
  1568.       "parameters": [
  1569.         {
  1570.           "type": "string",
  1571.           "value": {
  1572.             "v": "pull"
  1573.           }
  1574.         }
  1575.       ]
  1576.     }
  1577.   },
  1578.   {
  1579.     "pos": {
  1580.       "x": 3,
  1581.       "y": 6
  1582.     },
  1583.     "opcode": {
  1584.       "id": "do_wire",
  1585.       "primary": "L",
  1586.       "parameters": []
  1587.     }
  1588.   },
  1589.   {
  1590.     "pos": {
  1591.       "x": 3,
  1592.       "y": 7
  1593.     },
  1594.     "opcode": {
  1595.       "id": "eval_item",
  1596.       "primary": "R",
  1597.       "parameters": [
  1598.         {
  1599.           "type": "item",
  1600.           "value": {
  1601.             "item": "actuallyadditions:blockCrystalEmpowered",
  1602.             "meta": 2
  1603.           }
  1604.         }
  1605.       ]
  1606.     }
  1607.   },
  1608.   {
  1609.     "pos": {
  1610.       "x": 3,
  1611.       "y": 8
  1612.     },
  1613.     "opcode": {
  1614.       "id": "test_call",
  1615.       "primary": "R",
  1616.       "parameters": [
  1617.         {
  1618.           "type": "string",
  1619.           "value": {
  1620.             "v": "push"
  1621.           }
  1622.         }
  1623.       ]
  1624.     }
  1625.   },
  1626.   {
  1627.     "pos": {
  1628.       "x": 3,
  1629.       "y": 9
  1630.     },
  1631.     "opcode": {
  1632.       "id": "test_eq",
  1633.       "primary": "R",
  1634.       "secondary": "d",
  1635.       "parameters": [
  1636.         {
  1637.           "type": "integer",
  1638.           "value": {
  1639.             "fun": "last_int"
  1640.           }
  1641.         },
  1642.         {
  1643.           "type": "integer",
  1644.           "value": {
  1645.             "v": 0
  1646.           }
  1647.         }
  1648.       ]
  1649.     }
  1650.   },
  1651.   {
  1652.     "pos": {
  1653.       "x": 8,
  1654.       "y": 0
  1655.     },
  1656.     "opcode": {
  1657.       "id": "test_call",
  1658.       "parameters": [
  1659.         {
  1660.           "type": "string",
  1661.           "value": {
  1662.             "v": "pull"
  1663.           }
  1664.         }
  1665.       ]
  1666.     }
  1667.   },
  1668.   {
  1669.     "pos": {
  1670.       "x": 4,
  1671.       "y": 0
  1672.     },
  1673.     "opcode": {
  1674.       "id": "test_eq",
  1675.       "primary": "R",
  1676.       "secondary": "d",
  1677.       "parameters": [
  1678.         {
  1679.           "type": "integer",
  1680.           "value": {
  1681.             "fun": "last_int"
  1682.           }
  1683.         },
  1684.         {
  1685.           "type": "integer",
  1686.           "value": {
  1687.             "v": 0
  1688.           }
  1689.         }
  1690.       ]
  1691.     }
  1692.   },
  1693.   {
  1694.     "pos": {
  1695.       "x": 4,
  1696.       "y": 1
  1697.     },
  1698.     "opcode": {
  1699.       "id": "do_wire",
  1700.       "primary": "L",
  1701.       "parameters": []
  1702.     }
  1703.   },
  1704.   {
  1705.     "pos": {
  1706.       "x": 8,
  1707.       "y": 5
  1708.     },
  1709.     "opcode": {
  1710.       "id": "test_call",
  1711.       "parameters": [
  1712.         {
  1713.           "type": "string",
  1714.           "value": {
  1715.             "v": "pull"
  1716.           }
  1717.         }
  1718.       ]
  1719.     }
  1720.   },
  1721.   {
  1722.     "pos": {
  1723.       "x": 4,
  1724.       "y": 2
  1725.     },
  1726.     "opcode": {
  1727.       "id": "do_setvar",
  1728.       "primary": "R",
  1729.       "parameters": [
  1730.         {
  1731.           "type": "integer",
  1732.           "value": {
  1733.             "v": 0
  1734.           }
  1735.         }
  1736.       ]
  1737.     }
  1738.   },
  1739.   {
  1740.     "pos": {
  1741.       "x": 8,
  1742.       "y": 6
  1743.     },
  1744.     "opcode": {
  1745.       "id": "do_wire",
  1746.       "primary": "R",
  1747.       "parameters": []
  1748.     }
  1749.   },
  1750.   {
  1751.     "pos": {
  1752.       "x": 4,
  1753.       "y": 3
  1754.     },
  1755.     "opcode": {
  1756.       "id": "eval_item",
  1757.       "primary": "R",
  1758.       "parameters": [
  1759.         {
  1760.           "type": "item",
  1761.           "value": {
  1762.             "item": "actuallyadditions:blockCrystalEmpowered",
  1763.             "meta": 5
  1764.           }
  1765.         }
  1766.       ]
  1767.     }
  1768.   },
  1769.   {
  1770.     "pos": {
  1771.       "x": 8,
  1772.       "y": 7
  1773.     },
  1774.     "opcode": {
  1775.       "id": "do_delay",
  1776.       "primary": "U",
  1777.       "parameters": [
  1778.         {
  1779.           "type": "integer",
  1780.           "value": {
  1781.             "v": 30
  1782.           }
  1783.         }
  1784.       ]
  1785.     }
  1786.   }
  1787. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement