ns09005264

rftools_botania_runic_altar_automate

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