Advertisement
Guest User

craft

a guest
Jul 2nd, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 79.92 KB | None | 0 0
  1. local machines = {
  2.     meinterface = 0,
  3.     pulverizer = 1,
  4.     inductionsmelter = 2,
  5.     alloysmelter = 3,
  6.     inscriber = 4,
  7. }
  8.  
  9. local recipes = {
  10.     ["ExtraUtilities:cobblestone_compressed/4"] = {  -- Quintuple Compressed Cobblestone
  11.         method = "craft", output = 9, input = {
  12.             [1] = "ExtraUtilities:cobblestone_compressed/5",
  13.         },
  14.     },
  15.     ["ExtraUtilities:cobblestone_compressed/3"] = {  -- Quadruple Compressed Cobblestone
  16.         method = "craft", output = 9, input = {
  17.             [1] = "ExtraUtilities:cobblestone_compressed/4",
  18.         },
  19.     },
  20.     ["ExtraUtilities:cobblestone_compressed/2"] = {  -- Triple Compressed Cobblestone
  21.         method = "craft", output = 9, input = {
  22.             [1] = "ExtraUtilities:cobblestone_compressed/3",
  23.         },
  24.     },
  25.     ["ExtraUtilities:cobblestone_compressed/1"] = {  -- Double Compressed Cobblestone
  26.         method = "craft", output = 9, input = {
  27.             [1] = "ExtraUtilities:cobblestone_compressed/2",
  28.         },
  29.     },
  30.     ["ExtraUtilities:cobblestone_compressed"] = {  -- Compressed Cobblestone
  31.         method = "craft", output = 9, input = {
  32.             [1] = "ExtraUtilities:cobblestone_compressed/1",
  33.         },
  34.     },
  35.     ["minecraft:cobblestone"] = {  -- Cobblestone
  36.         method = "craft", output = 9, input = {
  37.             [1] = "ExtraUtilities:cobblestone_compressed",
  38.         },
  39.     },
  40.     ["ExtraUtilities:cobblestone_compressed/12"] = {  -- Compressed Gravel
  41.         method = "craft", output = 9, input = {
  42.             [1] = "ExtraUtilities:cobblestone_compressed/13",
  43.         },
  44.     },
  45.     ["minecraft:gravel"] = {  -- Gravel
  46.         method = "craft", output = 9, input = {
  47.             [1] = "ExtraUtilities:cobblestone_compressed/12",
  48.         },
  49.     },
  50.     ["minecraft:planks/3"] = {  -- Jungle Wood Planks
  51.         method = "craft", output = 4, input = {
  52.             [1] = "MineFactoryReloaded:rubberwood.log",
  53.         },
  54.     },
  55.     ["minecraft:stick"] = {  -- Stick
  56.         method = "craft", output = 4, input = {
  57.             [1] = "minecraft:planks/3",
  58.         },
  59.     },
  60.     ["minecraft:paper"] = {  -- Paper
  61.         method = "craft", output = 3, input = {
  62.             [1] = "minecraft:reeds",
  63.             [2] = "minecraft:reeds",
  64.             [3] = "minecraft:reeds",
  65.         },
  66.     },
  67.     ["minecraft:blaze_powder"] = {  -- Blaze Powder
  68.         method = "craft", output = 2, input = {
  69.             [1] = "minecraft:blaze_rod",
  70.         },
  71.     },
  72.     ["minecraft:redstone"] = {  -- Redstone
  73.         method = "craft", output = 9, input = {
  74.             [1] = "minecraft:redstone_block",
  75.         },
  76.     },
  77.     ["minecraft:diamond"] = {  -- Diamond
  78.         method = "craft", output = 9, input = {
  79.             [1] = "minecraft:diamond_block",
  80.         },
  81.     },
  82.     ["minecraft:emerald"] = {  -- Emerald
  83.         method = "craft", output = 9, input = {
  84.             [1] = "minecraft:emerald_block",
  85.         },
  86.     },
  87.     ["minecraft:dye/4"] = {  -- Lapis Lazuli
  88.         method = "craft", output = 9, input = {
  89.             [1] = "minecraft:lapis_block",
  90.         },
  91.     },
  92.     ["ThermalFoundation:material/66"] = {  -- Silver Ingot
  93.         method = "craft", output = 9, input = {
  94.             [1] = "ThermalFoundation:Storage/2",
  95.         },
  96.     },
  97.     ["Railcraft:ingot"] = {  -- Steel Ingot
  98.         method = "craft", output = 9, input = {
  99.             [1] = "Railcraft:cube/2",
  100.         },
  101.     },
  102.     ["Railcraft:ingot/1"] = {  -- Copper Ingot
  103.         method = "craft", output = 9, input = {
  104.             [1] = "Railcraft:cube/9",
  105.         },
  106.     },
  107.     ["Railcraft:ingot/2"] = {  -- Tin Ingot
  108.         method = "craft", output = 9, input = {
  109.             [1] = "Railcraft:cube/10",
  110.         },
  111.     },
  112.     ["minecraft:iron_ingot"] = {  -- Iron Ingot
  113.         method = "craft", output = 9, input = {
  114.             [1] = "minecraft:iron_block",
  115.         },
  116.     },
  117.     ["Thaumcraft:ItemNugget"] = {  -- Iron Nugget
  118.         method = "craft", output = 9, input = {
  119.             [1] = "minecraft:iron_ingot",
  120.         },
  121.     },
  122.     ["minecraft:gold_ingot"] = {  -- Gold Ingot
  123.         method = "craft", output = 9, input = {
  124.             [1] = "minecraft:gold_block",
  125.         },
  126.     },
  127.     ["minecraft:gold_nugget"] = {  -- Gold Nugget
  128.         method = "craft", output = 9, input = {
  129.             [1] = "minecraft:gold_ingot",
  130.         },
  131.     },
  132.     ["Railcraft:ingot/3"] = {  -- Lead Ingot
  133.         method = "craft", output = 9, input = {
  134.             [1] = "Railcraft:cube/11",
  135.         },
  136.     },
  137.     ["Thaumcraft:ItemNugget/4"] = {  -- Lead Nugget
  138.         method = "craft", output = 9, input = {
  139.             [1] = "Railcraft:ingot/3",
  140.         },
  141.     },
  142.     ["Railcraft:nugget/1"] = {  -- Steel Nugget
  143.         method = "craft", output = 9, input = {
  144.             [1] = "Railcraft:ingot",
  145.         },
  146.     },
  147.     ["ThermalFoundation:material/104"] = {  -- Invar Nugget
  148.         method = "craft", output = 9, input = {
  149.             [1] = "ThermalFoundation:material/72",
  150.         },
  151.     },
  152.     ["ThermalFoundation:material/68"] = {  -- Ferrous Ingot
  153.         method = "craft", output = 9, input = {
  154.             [1] = "ThermalFoundation:Storage/4",
  155.         },
  156.     },
  157.     ["ThermalFoundation:material/69"] = {  -- Shiny Ingot
  158.         method = "craft", output = 9, input = {
  159.             [1] = "ThermalFoundation:Storage/5",
  160.         },
  161.     },
  162.     ["ThermalFoundation:material/103"] = {  -- Electrum Nugget
  163.         method = "craft", output = 9, input = {
  164.             [1] = "ThermalFoundation:material/71",
  165.         },
  166.     },
  167.     ["ThermalFoundation:material/108"] = {  -- Enderium Nugget
  168.         method = "craft", output = 9, input = {
  169.             [1] = "ThermalFoundation:material/76",
  170.         },
  171.     },
  172.     ["EnderIO:itemMaterial/3"] = {  -- Pulsating Iron Nugget
  173.         method = "craft", output = 9, input = {
  174.             [1] = "EnderIO:itemAlloy/5",
  175.         },
  176.     },
  177.     ["EnderIO:itemMaterial/4"] = {  -- Vibrant Alloy Nugget
  178.         method = "craft", output = 9, input = {
  179.             [1] = "EnderIO:itemAlloy/2",
  180.         },
  181.     },
  182.     ["SolarExpansion:lapisShard"] = {  -- Lapis Lazuli Shard
  183.         method = "craft", output = 9, input = {
  184.             [1] = "minecraft:dye/4",
  185.         },
  186.     },
  187.     ["ThermalFoundation:material/512"] = {  -- Pyrotheum Dust
  188.         method = "craft", output = 2, input = {
  189.             [1] = "ThermalFoundation:material/2",
  190.             [2] = "ThermalFoundation:material/16",
  191.             [5] = "minecraft:redstone",
  192.             [6] = "minecraft:blaze_powder",
  193.         },
  194.     },
  195.     ["EnderIO:itemMaterial/6"] = {  -- Vibrant Crystal
  196.         method = "craft", input = {
  197.             [1] = "EnderIO:itemMaterial/4",
  198.             [2] = "EnderIO:itemMaterial/4",
  199.             [3] = "EnderIO:itemMaterial/4",
  200.             [5] = "EnderIO:itemMaterial/4",
  201.             [6] = "minecraft:emerald",
  202.             [7] = "EnderIO:itemMaterial/4",
  203.             [9] = "EnderIO:itemMaterial/4",
  204.             [10] = "EnderIO:itemMaterial/4",
  205.             [11] = "EnderIO:itemMaterial/4",
  206.         },
  207.     },
  208.     ["minecraft:glass_pane"] = {  -- Glass Pane
  209.         method = "craft", output = 16, input = {
  210.             [1] = "EnderIO:blockFusedQuartz/1",
  211.             [2] = "EnderIO:blockFusedQuartz/1",
  212.             [3] = "EnderIO:blockFusedQuartz/1",
  213.             [5] = "EnderIO:blockFusedQuartz/1",
  214.             [6] = "EnderIO:blockFusedQuartz/1",
  215.             [7] = "EnderIO:blockFusedQuartz/1",
  216.         },
  217.     },
  218.     ["SolarExpansion:solarPanelLeadstone"] = {  -- Leadstone Solar Panel
  219.         method = "craft", input = {
  220.             [1] = "SolarExpansion:photovoltaicCell",
  221.             [2] = "SolarExpansion:photovoltaicCell",
  222.             [3] = "SolarExpansion:photovoltaicCell",
  223.             [5] = "minecraft:redstone",
  224.             [6] = "SolarExpansion:solarCoreLeadstone",
  225.             [7] = "minecraft:redstone",
  226.             [9] = "Railcraft:nugget/1",
  227.             [10] = "Railcraft:nugget/1",
  228.             [11] = "Railcraft:nugget/1",
  229.         },
  230.     },
  231.     ["SolarExpansion:solarPanelHardened"] = {  -- Hardened Solar Panel
  232.         method = "craft", input = {
  233.             [1] = "SolarExpansion:solarPanelLeadstone",
  234.             [2] = "SolarExpansion:solarPanelLeadstone",
  235.             [3] = "SolarExpansion:solarPanelLeadstone",
  236.             [5] = "SolarExpansion:solarPanelLeadstone",
  237.             [6] = "SolarExpansion:solarCoreHardened",
  238.             [7] = "SolarExpansion:solarPanelLeadstone",
  239.             [9] = "SolarExpansion:solarPanelLeadstone",
  240.             [10] = "SolarExpansion:solarPanelLeadstone",
  241.             [11] = "SolarExpansion:solarPanelLeadstone",
  242.         },
  243.     },
  244.     ["SolarExpansion:solarPanelRedstone"] = {  -- Redstone Solar Panel
  245.         method = "craft", input = {
  246.             [1] = "SolarExpansion:solarPanelHardened",
  247.             [2] = "SolarExpansion:solarPanelHardened",
  248.             [3] = "SolarExpansion:solarPanelHardened",
  249.             [5] = "SolarExpansion:solarPanelHardened",
  250.             [6] = "SolarExpansion:solarCoreRedstone",
  251.             [7] = "SolarExpansion:solarPanelHardened",
  252.             [9] = "SolarExpansion:solarPanelHardened",
  253.             [10] = "SolarExpansion:solarPanelHardened",
  254.             [11] = "SolarExpansion:solarPanelHardened",
  255.         },
  256.     },
  257.     ["SolarExpansion:solarPanelResonant"] = {  -- Resonant Solar Panel
  258.         method = "craft", input = {
  259.             [1] = "SolarExpansion:solarPanelRedstone",
  260.             [2] = "SolarExpansion:solarPanelRedstone",
  261.             [3] = "SolarExpansion:solarPanelRedstone",
  262.             [5] = "SolarExpansion:solarPanelRedstone",
  263.             [6] = "SolarExpansion:solarCoreResonant",
  264.             [7] = "SolarExpansion:solarPanelRedstone",
  265.             [9] = "SolarExpansion:solarPanelRedstone",
  266.             [10] = "SolarExpansion:solarPanelRedstone",
  267.             [11] = "SolarExpansion:solarPanelRedstone",
  268.         },
  269.     },
  270.     ["SolarExpansion:solarPanelAdvanced"] = {  -- Advanced Solar Panel
  271.         method = "craft", input = {
  272.             [1] = "SolarExpansion:solarPanelResonant",
  273.             [2] = "SolarExpansion:solarPanelResonant",
  274.             [3] = "SolarExpansion:solarPanelResonant",
  275.             [5] = "SolarExpansion:solarPanelResonant",
  276.             [6] = "SolarExpansion:solarCoreAdvanced",
  277.             [7] = "SolarExpansion:solarPanelResonant",
  278.             [9] = "SolarExpansion:solarPanelResonant",
  279.             [10] = "SolarExpansion:solarPanelResonant",
  280.             [11] = "SolarExpansion:solarPanelResonant",
  281.         },
  282.     },
  283.     ["SolarExpansion:solarPanelUltimate"] = {  -- Ultimate Solar Panel
  284.         method = "craft", input = {
  285.             [1] = "SolarExpansion:solarPanelAdvanced",
  286.             [2] = "SolarExpansion:solarPanelAdvanced",
  287.             [3] = "SolarExpansion:solarPanelAdvanced",
  288.             [5] = "SolarExpansion:solarPanelAdvanced",
  289.             [6] = "SolarExpansion:solarCoreUltimate",
  290.             [7] = "SolarExpansion:solarPanelAdvanced",
  291.             [9] = "SolarExpansion:solarPanelAdvanced",
  292.             [10] = "SolarExpansion:solarPanelAdvanced",
  293.             [11] = "SolarExpansion:solarPanelAdvanced",
  294.         },
  295.     },
  296.     ["SolarExpansion:solarCoreLeadstone"] = {  -- Leadstone Solar Core
  297.         method = "craft", input = {
  298.             [2] = "Thaumcraft:ItemNugget/4",
  299.             [5] = "Thaumcraft:ItemNugget/4",
  300.             [6] = "minecraft:iron_ingot",
  301.             [7] = "Thaumcraft:ItemNugget/4",
  302.             [10] = "Thaumcraft:ItemNugget/4",
  303.         },
  304.     },
  305.     ["SolarExpansion:solarCoreHardened"] = {  -- Hardened Solar Core
  306.         method = "craft", input = {
  307.             [2] = "ThermalFoundation:material/104",
  308.             [5] = "ThermalFoundation:material/104",
  309.             [6] = "SolarExpansion:solarCoreLeadstone",
  310.             [7] = "ThermalFoundation:material/104",
  311.             [10] = "ThermalFoundation:material/104",
  312.         },
  313.     },
  314.     ["SolarExpansion:solarCoreRedstone"] = {  -- Redstone Solar Core
  315.         method = "craft", input = {
  316.             [2] = "ThermalFoundation:material/103",
  317.             [5] = "ThermalFoundation:material/103",
  318.             [6] = "SolarExpansion:solarCoreHardened",
  319.             [7] = "ThermalFoundation:material/103",
  320.             [10] = "ThermalFoundation:material/103",
  321.         },
  322.     },
  323.     ["SolarExpansion:solarCoreResonant"] = {  -- Resonant Solar Core
  324.         method = "craft", input = {
  325.             [2] = "ThermalFoundation:material/108",
  326.             [5] = "ThermalFoundation:material/108",
  327.             [6] = "SolarExpansion:solarCoreRedstone",
  328.             [7] = "ThermalFoundation:material/108",
  329.             [10] = "ThermalFoundation:material/108",
  330.         },
  331.     },
  332.     ["SolarExpansion:solarCoreAdvanced"] = {  -- Advanced Solar Core
  333.         method = "craft", input = {
  334.             [2] = "minecraft:dye/4",
  335.             [5] = "minecraft:dye/4",
  336.             [6] = "SolarExpansion:solarCoreResonant",
  337.             [7] = "minecraft:dye/4",
  338.             [10] = "minecraft:dye/4",
  339.         },
  340.     },
  341.     ["SolarExpansion:solarCoreUltimate"] = {  -- Ultimate Solar Core
  342.         method = "craft", input = {
  343.             [2] = "minecraft:dye/5",
  344.             [5] = "minecraft:dye/5",
  345.             [6] = "SolarExpansion:solarCoreAdvanced",
  346.             [7] = "minecraft:dye/5",
  347.             [10] = "minecraft:dye/5",
  348.         },
  349.     },
  350.     ["SolarExpansion:photovoltaicCell"] = {  -- Photovoltaic Cell
  351.         method = "craft", input = {
  352.             [1] = "minecraft:glass_pane",
  353.             [2] = "minecraft:glass_pane",
  354.             [3] = "minecraft:glass_pane",
  355.             [5] = "SolarExpansion:lapisShard",
  356.             [6] = "SolarExpansion:lapisShard",
  357.             [7] = "SolarExpansion:lapisShard",
  358.             [9] = "Thaumcraft:ItemNugget",
  359.             [10] = "Thaumcraft:ItemNugget",
  360.             [11] = "Thaumcraft:ItemNugget",
  361.         },
  362.     },
  363.     ["ThermalFoundation:material/129"] = {  -- Tin Gear
  364.         method = "craft", input = {
  365.             [2] = "Railcraft:ingot/2",
  366.             [5] = "Railcraft:ingot/2",
  367.             [6] = "minecraft:iron_ingot",
  368.             [7] = "Railcraft:ingot/2",
  369.             [10] = "Railcraft:ingot/2",
  370.         },
  371.     },
  372.     ["ThermalFoundation:material/128"] = {  -- Copper Gear
  373.         method = "craft", input = {
  374.             [2] = "Railcraft:ingot/1",
  375.             [5] = "Railcraft:ingot/1",
  376.             [6] = "minecraft:iron_ingot",
  377.             [7] = "Railcraft:ingot/1",
  378.             [10] = "Railcraft:ingot/1",
  379.         },
  380.     },
  381.     ["ThermalFoundation:material/132"] = {  -- Ferrous Gear
  382.         method = "craft", input = {
  383.             [2] = "ThermalFoundation:material/68",
  384.             [5] = "ThermalFoundation:material/68",
  385.             [6] = "minecraft:iron_ingot",
  386.             [7] = "ThermalFoundation:material/68",
  387.             [10] = "ThermalFoundation:material/68",
  388.         },
  389.     },
  390.     ["ThermalFoundation:material/12"] = {  -- Iron Gear
  391.         method = "craft", input = {
  392.             [2] = "minecraft:iron_ingot",
  393.             [5] = "minecraft:iron_ingot",
  394.             [6] = "minecraft:iron_ingot",
  395.             [7] = "minecraft:iron_ingot",
  396.             [10] = "minecraft:iron_ingot",
  397.         },
  398.     },
  399.     ["ThermalFoundation:material/13"] = {  -- Gold Gear
  400.         method = "craft", input = {
  401.             [2] = "minecraft:gold_ingot",
  402.             [5] = "minecraft:gold_ingot",
  403.             [6] = "minecraft:iron_ingot",
  404.             [7] = "minecraft:gold_ingot",
  405.             [10] = "minecraft:gold_ingot",
  406.         },
  407.     },
  408.     ["ThermalFoundation:material/135"] = {  -- Electrum Gear
  409.         method = "craft", input = {
  410.             [2] = "ThermalFoundation:material/71",
  411.             [5] = "ThermalFoundation:material/71",
  412.             [6] = "minecraft:iron_ingot",
  413.             [7] = "ThermalFoundation:material/71",
  414.             [10] = "ThermalFoundation:material/71",
  415.         },
  416.     },
  417.     ["ThermalFoundation:material/136"] = {  -- Invar Gear
  418.         method = "craft", input = {
  419.             [2] = "ThermalFoundation:material/72",
  420.             [5] = "ThermalFoundation:material/72",
  421.             [6] = "minecraft:iron_ingot",
  422.             [7] = "ThermalFoundation:material/72",
  423.             [10] = "ThermalFoundation:material/72",
  424.         },
  425.     },
  426.     ["ThermalFoundation:material/137"] = {  -- Bronze Gear
  427.         method = "craft", input = {
  428.             [2] = "ThermalFoundation:material/73",
  429.             [5] = "ThermalFoundation:material/73",
  430.             [6] = "minecraft:iron_ingot",
  431.             [7] = "ThermalFoundation:material/73",
  432.             [10] = "ThermalFoundation:material/73",
  433.         },
  434.     },
  435.     ["ThermalFoundation:material/138"] = {  -- Signalum Gear
  436.         method = "craft", input = {
  437.             [2] = "ThermalFoundation:material/74",
  438.             [5] = "ThermalFoundation:material/74",
  439.             [6] = "minecraft:iron_ingot",
  440.             [7] = "ThermalFoundation:material/74",
  441.             [10] = "ThermalFoundation:material/74",
  442.         },
  443.     },
  444.     ["ThermalFoundation:material/140"] = {  -- Enderium Gear
  445.         method = "craft", input = {
  446.             [2] = "ThermalFoundation:material/76",
  447.             [5] = "ThermalFoundation:material/76",
  448.             [6] = "minecraft:iron_ingot",
  449.             [7] = "ThermalFoundation:material/76",
  450.             [10] = "ThermalFoundation:material/76",
  451.         },
  452.     },
  453.     ["ThermalExpansion:Frame"] = {  -- Machine Frame (Basic)
  454.         method = "craft", input = {
  455.             [1] = "minecraft:iron_ingot",
  456.             [2] = "EnderIO:blockFusedQuartz/1",
  457.             [3] = "minecraft:iron_ingot",
  458.             [5] = "EnderIO:blockFusedQuartz/1",
  459.             [6] = "ThermalFoundation:material/129",
  460.             [7] = "EnderIO:blockFusedQuartz/1",
  461.             [9] = "minecraft:iron_ingot",
  462.             [10] = "EnderIO:blockFusedQuartz/1",
  463.             [11] = "minecraft:iron_ingot",
  464.         },
  465.     },
  466.     ["ThermalExpansion:Frame/1"] = {  -- Machine Frame (Hardened)
  467.         method = "craft", input = {
  468.             [1] = "ThermalFoundation:material/72",
  469.             [2] = "ThermalFoundation:material/135",
  470.             [3] = "ThermalFoundation:material/72",
  471.             [6] = "ThermalExpansion:Frame",
  472.             [9] = "ThermalFoundation:material/72",
  473.             [11] = "ThermalFoundation:material/72",
  474.         },
  475.     },
  476.     ["ThermalExpansion:Frame/2"] = {  -- Machine Frame (Reinforced)
  477.         method = "craft", input = {
  478.             [1] = "ThermalExpansion:Glass",
  479.             [2] = "ThermalFoundation:material/138",
  480.             [3] = "ThermalExpansion:Glass",
  481.             [6] = "ThermalExpansion:Frame/1",
  482.             [9] = "ThermalExpansion:Glass",
  483.             [11] = "ThermalExpansion:Glass",
  484.         },
  485.     },
  486.     ["ThermalExpansion:Frame/3"] = {  -- Machine Frame (Resonant)
  487.         method = "craft", input = {
  488.             [1] = "ThermalFoundation:material/66",
  489.             [2] = "ThermalFoundation:material/140",
  490.             [3] = "ThermalFoundation:material/66",
  491.             [6] = "ThermalExpansion:Frame/2",
  492.             [9] = "ThermalFoundation:material/66",
  493.             [11] = "ThermalFoundation:material/66",
  494.         },
  495.     },
  496.     ["ThermalExpansion:material/1"] = {  -- Redstone Reception Coil
  497.         method = "craft", input = {
  498.             [3] = "minecraft:redstone",
  499.             [6] = "minecraft:gold_ingot",
  500.             [9] = "minecraft:redstone",
  501.         },
  502.     },
  503.     ["ThermalExpansion:material/2"] = {  -- Redstone Transmission Coil
  504.         method = "craft", input = {
  505.             [3] = "minecraft:redstone",
  506.             [6] = "ThermalFoundation:material/66",
  507.             [9] = "minecraft:redstone",
  508.         },
  509.     },
  510.     ["minecraft:brick_block"] = {  -- Bricks
  511.         method = "craft", input = {
  512.             [1] = "minecraft:brick",
  513.             [2] = "minecraft:brick",
  514.             [5] = "minecraft:brick",
  515.             [6] = "minecraft:brick",
  516.         },
  517.     },
  518.     ["minecraft:bucket"] = {  -- Bucket
  519.         method = "craft", input = {
  520.             [5] = "minecraft:iron_ingot",
  521.             [7] = "minecraft:iron_ingot",
  522.             [10] = "minecraft:iron_ingot",
  523.         },
  524.     },
  525.     ["minecraft:piston"] = {  -- Piston
  526.         method = "craft", input = {
  527.             [1] = "minecraft:planks/3",
  528.             [2] = "minecraft:planks/3",
  529.             [3] = "minecraft:planks/3",
  530.             [5] = "minecraft:cobblestone",
  531.             [6] = "minecraft:iron_ingot",
  532.             [7] = "minecraft:cobblestone",
  533.             [9] = "minecraft:cobblestone",
  534.             [10] = "minecraft:redstone",
  535.             [11] = "minecraft:cobblestone",
  536.         },
  537.     },
  538.     ["minecraft:chest"] = {  -- Chest
  539.         method = "craft", input = {
  540.             [1] = "minecraft:planks/3",
  541.             [2] = "minecraft:planks/3",
  542.             [3] = "minecraft:planks/3",
  543.             [5] = "minecraft:planks/3",
  544.             [7] = "minecraft:planks/3",
  545.             [9] = "minecraft:planks/3",
  546.             [10] = "minecraft:planks/3",
  547.             [11] = "minecraft:planks/3",
  548.         },
  549.     },
  550.     ["minecraft:hopper"] = {  -- Hopper
  551.         method = "craft", input = {
  552.             [1] = "minecraft:iron_ingot",
  553.             [3] = "minecraft:iron_ingot",
  554.             [5] = "minecraft:iron_ingot",
  555.             [6] = "minecraft:chest",
  556.             [7] = "minecraft:iron_ingot",
  557.             [10] = "minecraft:iron_ingot",
  558.         },
  559.     },
  560.     ["EnderIO:itemMaterial/2"] = {  -- Binder Composite
  561.         method = "craft", output = 8, input = {
  562.             [1] = "minecraft:gravel",
  563.             [2] = "minecraft:gravel",
  564.             [3] = "minecraft:gravel",
  565.             [5] = "minecraft:sand",
  566.             [6] = "minecraft:clay_ball",
  567.             [7] = "minecraft:sand",
  568.             [9] = "minecraft:gravel",
  569.             [10] = "minecraft:gravel",
  570.             [11] = "minecraft:gravel",
  571.         },
  572.     },
  573.     ["EnderIO:itemRedstoneConduit"] = {  -- Redstone Conduit
  574.         method = "craft", output = 8, input = {
  575.             [1] = "EnderIO:itemAlloy/3",
  576.             [2] = "EnderIO:itemAlloy/3",
  577.             [3] = "EnderIO:itemAlloy/3",
  578.         },
  579.     },
  580.     ["EnderIO:itemRedstoneConduit/2"] = {  -- Insulated Redstone Conduit
  581.         method = "craft", output = 8, input = {
  582.             [1] = "EnderIO:itemMaterial/1",
  583.             [2] = "EnderIO:itemMaterial/1",
  584.             [3] = "EnderIO:itemMaterial/1",
  585.             [5] = "EnderIO:itemAlloy/3",
  586.             [6] = "EnderIO:itemAlloy/3",
  587.             [7] = "EnderIO:itemAlloy/3",
  588.             [9] = "EnderIO:itemMaterial/1",
  589.             [10] = "EnderIO:itemMaterial/1",
  590.             [11] = "EnderIO:itemMaterial/1",
  591.         },
  592.     },
  593.     ["EnderIO:itemPowerConduit"] = {  -- Energy Conduit
  594.         method = "craft", output = 8, input = {
  595.             [1] = "EnderIO:itemMaterial/1",
  596.             [2] = "EnderIO:itemMaterial/1",
  597.             [3] = "EnderIO:itemMaterial/1",
  598.             [5] = "EnderIO:itemAlloy/4",
  599.             [6] = "EnderIO:itemAlloy/4",
  600.             [7] = "EnderIO:itemAlloy/4",
  601.             [9] = "EnderIO:itemMaterial/1",
  602.             [10] = "EnderIO:itemMaterial/1",
  603.             [11] = "EnderIO:itemMaterial/1",
  604.         },
  605.     },
  606.     ["EnderIO:itemPowerConduit/1"] = {  -- Enhanced Energy Conduit
  607.         method = "craft", output = 8, input = {
  608.             [1] = "EnderIO:itemMaterial/1",
  609.             [2] = "EnderIO:itemMaterial/1",
  610.             [3] = "EnderIO:itemMaterial/1",
  611.             [5] = "EnderIO:itemAlloy/1",
  612.             [6] = "EnderIO:itemAlloy/1",
  613.             [7] = "EnderIO:itemAlloy/1",
  614.             [9] = "EnderIO:itemMaterial/1",
  615.             [10] = "EnderIO:itemMaterial/1",
  616.             [11] = "EnderIO:itemMaterial/1",
  617.         },
  618.     },
  619.     ["EnderIO:itemPowerConduit/2"] = {  -- Ender Energy Conduit
  620.         method = "craft", output = 8, input = {
  621.             [1] = "EnderIO:itemMaterial/1",
  622.             [2] = "EnderIO:itemMaterial/1",
  623.             [3] = "EnderIO:itemMaterial/1",
  624.             [5] = "EnderIO:itemAlloy/2",
  625.             [6] = "EnderIO:itemAlloy/2",
  626.             [7] = "EnderIO:itemAlloy/2",
  627.             [9] = "EnderIO:itemMaterial/1",
  628.             [10] = "EnderIO:itemMaterial/1",
  629.             [11] = "EnderIO:itemMaterial/1",
  630.         },
  631.     },
  632.     ["EnderIO:itemLiquidConduit"] = {  -- Fluid Conduit
  633.         method = "craft", output = 8, input = {
  634.             [1] = "EnderIO:itemMaterial/1",
  635.             [2] = "EnderIO:itemMaterial/1",
  636.             [3] = "EnderIO:itemMaterial/1",
  637.             [5] = "EnderIO:blockFusedQuartz/1",
  638.             [6] = "EnderIO:blockFusedQuartz/1",
  639.             [7] = "EnderIO:blockFusedQuartz/1",
  640.             [9] = "EnderIO:itemMaterial/1",
  641.             [10] = "EnderIO:itemMaterial/1",
  642.             [11] = "EnderIO:itemMaterial/1",
  643.         },
  644.     },
  645.     ["EnderIO:itemLiquidConduit/1"] = {  -- Pressurized Fluid Conduit
  646.         method = "craft", output = 8, input = {
  647.             [1] = "EnderIO:itemMaterial/1",
  648.             [2] = "EnderIO:itemMaterial/1",
  649.             [3] = "EnderIO:itemMaterial/1",
  650.             [5] = "EnderIO:blockFusedQuartz",
  651.             [6] = "EnderIO:blockFusedQuartz",
  652.             [7] = "EnderIO:blockFusedQuartz",
  653.             [9] = "EnderIO:itemMaterial/1",
  654.             [10] = "EnderIO:itemMaterial/1",
  655.             [11] = "EnderIO:itemMaterial/1",
  656.         },
  657.     },
  658.     ["EnderIO:itemLiquidConduit/2"] = {  -- Ender Fluid Conduit
  659.         method = "craft", output = 8, input = {
  660.             [1] = "EnderIO:itemMaterial/1",
  661.             [2] = "EnderIO:itemMaterial/1",
  662.             [3] = "EnderIO:itemMaterial/1",
  663.             [5] = "EnderIO:blockFusedQuartz",
  664.             [6] = "EnderIO:itemAlloy/2",
  665.             [7] = "EnderIO:blockFusedQuartz",
  666.             [9] = "EnderIO:itemMaterial/1",
  667.             [10] = "EnderIO:itemMaterial/1",
  668.             [11] = "EnderIO:itemMaterial/1",
  669.         },
  670.     },
  671.     ["EnderIO:itemItemConduit"] = {  -- Item Conduit
  672.         method = "craft", output = 8, input = {
  673.             [1] = "EnderIO:itemMaterial/1",
  674.             [2] = "EnderIO:itemMaterial/1",
  675.             [3] = "EnderIO:itemMaterial/1",
  676.             [5] = "EnderIO:itemMaterial/3",
  677.             [6] = "EnderIO:itemMaterial/3",
  678.             [7] = "EnderIO:itemMaterial/3",
  679.             [9] = "EnderIO:itemMaterial/1",
  680.             [10] = "EnderIO:itemMaterial/1",
  681.             [11] = "EnderIO:itemMaterial/1",
  682.         },
  683.     },
  684.     ["EnderIO:itemMEConduit"] = {  -- ME Conduit
  685.         method = "craft", output = 4, input = {
  686.             [1] = "EnderIO:itemMaterial/1",
  687.             [2] = "EnderIO:itemMaterial/1",
  688.             [3] = "EnderIO:itemMaterial/1",
  689.             [5] = "appliedenergistics2:item.ItemMultiMaterial/12",
  690.             [6] = "appliedenergistics2:item.ItemMultiPart/140",
  691.             [7] = "appliedenergistics2:item.ItemMultiMaterial/12",
  692.             [9] = "EnderIO:itemMaterial/1",
  693.             [10] = "EnderIO:itemMaterial/1",
  694.             [11] = "EnderIO:itemMaterial/1",
  695.         },
  696.     },
  697.     ["EnderIO:itemMEConduit/1"] = {  -- Dense ME Conduit
  698.         method = "craft", input = {
  699.             [1] = "EnderIO:itemMaterial/1",
  700.             [2] = "EnderIO:itemMEConduit",
  701.             [3] = "EnderIO:itemMaterial/1",
  702.             [5] = "EnderIO:itemMEConduit",
  703.             [6] = "EnderIO:itemMaterial/1",
  704.             [7] = "EnderIO:itemMEConduit",
  705.             [9] = "EnderIO:itemMaterial/1",
  706.             [10] = "EnderIO:itemMEConduit",
  707.             [11] = "EnderIO:itemMaterial/1",
  708.         },
  709.     },
  710.     ["EnderIO:itemBasicFilterUpgrade"] = {  -- Basic Item Filter
  711.         method = "craft", input = {
  712.             [2] = "minecraft:paper",
  713.             [5] = "minecraft:paper",
  714.             [6] = "minecraft:hopper",
  715.             [7] = "minecraft:paper",
  716.             [10] = "minecraft:paper",
  717.         },
  718.     },
  719.     ["EnderIO:itemBasicCapacitor"] = {  -- Basic Capacitor
  720.         method = "craft", input = {
  721.             [2] = "minecraft:gold_nugget",
  722.             [3] = "minecraft:redstone",
  723.             [5] = "minecraft:gold_nugget",
  724.             [6] = "Railcraft:ingot/1",
  725.             [7] = "minecraft:gold_nugget",
  726.             [9] = "minecraft:redstone",
  727.             [10] = "minecraft:gold_nugget",
  728.         },
  729.     },
  730.     ["EnderIO:itemBasicCapacitor/1"] = {  -- Double-Layer Capacitor
  731.         method = "craft", input = {
  732.             [2] = "EnderIO:itemAlloy/1",
  733.             [5] = "EnderIO:itemBasicCapacitor",
  734.             [6] = "ThermalFoundation:material/2",
  735.             [7] = "EnderIO:itemBasicCapacitor",
  736.             [10] = "EnderIO:itemAlloy/1",
  737.         },
  738.     },
  739.     ["EnderIO:itemBasicCapacitor/2"] = {  -- Octadic Capacitor
  740.         method = "craft", input = {
  741.             [2] = "EnderIO:itemAlloy/2",
  742.             [5] = "EnderIO:itemBasicCapacitor/1",
  743.             [6] = "minecraft:glowstone",
  744.             [7] = "EnderIO:itemBasicCapacitor/1",
  745.             [10] = "EnderIO:itemAlloy/2",
  746.         },
  747.     },
  748.     ["EnderIO:blockCapBank/1?a25b058e84c7358311c62e4ac2eaf7eb"] = {  -- Basic Capacitor Bank
  749.         method = "craft", input = {
  750.             [1] = "minecraft:iron_ingot",
  751.             [2] = "EnderIO:itemBasicCapacitor",
  752.             [3] = "minecraft:iron_ingot",
  753.             [5] = "EnderIO:itemBasicCapacitor",
  754.             [6] = "minecraft:redstone_block",
  755.             [7] = "EnderIO:itemBasicCapacitor",
  756.             [9] = "minecraft:iron_ingot",
  757.             [10] = "EnderIO:itemBasicCapacitor",
  758.             [11] = "minecraft:iron_ingot",
  759.         },
  760.     },
  761.     ["EnderIO:blockCapBank/2?60b91e7944c313e4cd8892ff9588d98b"] = {  -- Capacitor Bank
  762.         method = "craft", input = {
  763.             [1] = "EnderIO:itemAlloy/1",
  764.             [2] = "EnderIO:itemAlloy/1",
  765.             [3] = "EnderIO:itemAlloy/1",
  766.             [5] = "EnderIO:blockCapBank/1?a25b058e84c7358311c62e4ac2eaf7eb",
  767.             [6] = "EnderIO:itemBasicCapacitor/1",
  768.             [7] = "EnderIO:blockCapBank/1?a25b058e84c7358311c62e4ac2eaf7eb",
  769.             [9] = "EnderIO:itemAlloy/1",
  770.             [10] = "EnderIO:itemAlloy/1",
  771.             [11] = "EnderIO:itemAlloy/1",
  772.         },
  773.     },
  774.     ["EnderIO:blockCapBank/3?59b8a9d9c7ab159344e472e362b34ac2"] = {  -- Vibrant Capacitor Bank
  775.         method = "craft", input = {
  776.             [1] = "EnderIO:itemAlloy/2",
  777.             [2] = "EnderIO:itemBasicCapacitor/2",
  778.             [3] = "EnderIO:itemAlloy/2",
  779.             [5] = "EnderIO:blockCapBank/2?60b91e7944c313e4cd8892ff9588d98b",
  780.             [6] = "EnderIO:itemMaterial/6",
  781.             [7] = "EnderIO:blockCapBank/2?60b91e7944c313e4cd8892ff9588d98b",
  782.             [9] = "EnderIO:itemAlloy/2",
  783.             [10] = "EnderIO:itemBasicCapacitor/2",
  784.             [11] = "EnderIO:itemAlloy/2",
  785.         },
  786.     },
  787.     ["ThermalExpansion:Machine?47c6c93d8696d4d341dbf43e040509d7"] = {  -- Redstone Furnace (Basic)
  788.         method = "craft", input = {
  789.             [2] = "minecraft:redstone",
  790.             [5] = "minecraft:brick_block",
  791.             [6] = "ThermalExpansion:Frame",
  792.             [7] = "minecraft:brick_block",
  793.             [9] = "ThermalFoundation:material/128",
  794.             [10] = "ThermalExpansion:material/1",
  795.             [11] = "ThermalFoundation:material/128",
  796.         },
  797.     },
  798.     ["ThermalExpansion:Machine/1?6fff1ea7c34e731b1397d8dd17b328e4"] = {  -- Pulverizer (Basic)
  799.         method = "craft", input = {
  800.             [2] = "minecraft:piston",
  801.             [5] = "minecraft:flint",
  802.             [6] = "ThermalExpansion:Frame",
  803.             [7] = "minecraft:flint",
  804.             [9] = "ThermalFoundation:material/128",
  805.             [10] = "ThermalExpansion:material/1",
  806.             [11] = "ThermalFoundation:material/128",
  807.         },
  808.     },
  809.     ["ThermalExpansion:Machine/3?6fff1ea7c34e731b1397d8dd17b328e4"] = {  -- Induction Smelter (Basic)
  810.         method = "craft", input = {
  811.             [2] = "minecraft:bucket",
  812.             [5] = "ThermalFoundation:material/72",
  813.             [6] = "ThermalExpansion:Frame",
  814.             [7] = "ThermalFoundation:material/72",
  815.             [9] = "ThermalFoundation:material/136",
  816.             [10] = "ThermalExpansion:material/1",
  817.             [11] = "ThermalFoundation:material/136",
  818.         },
  819.     },
  820.     ["appliedenergistics2:tile.BlockQuartzGlass"] = {  -- Quartz Glass
  821.         method = "craft", output = 4, input = {
  822.             [1] = "appliedenergistics2:item.ItemMultiMaterial/3",
  823.             [2] = "EnderIO:blockFusedQuartz/1",
  824.             [3] = "appliedenergistics2:item.ItemMultiMaterial/3",
  825.             [5] = "EnderIO:blockFusedQuartz/1",
  826.             [6] = "appliedenergistics2:item.ItemMultiMaterial/3",
  827.             [7] = "EnderIO:blockFusedQuartz/1",
  828.             [9] = "appliedenergistics2:item.ItemMultiMaterial/3",
  829.             [10] = "EnderIO:blockFusedQuartz/1",
  830.             [11] = "appliedenergistics2:item.ItemMultiMaterial/3",
  831.         },
  832.     },
  833.     ["appliedenergistics2:item.ItemMultiPart/140"] = {  -- Quartz Fiber
  834.         method = "craft", output = 4, input = {
  835.             [1] = "EnderIO:blockFusedQuartz/1",
  836.             [2] = "EnderIO:blockFusedQuartz/1",
  837.             [3] = "EnderIO:blockFusedQuartz/1",
  838.             [5] = "appliedenergistics2:item.ItemMultiMaterial/3",
  839.             [6] = "appliedenergistics2:item.ItemMultiMaterial/3",
  840.             [7] = "appliedenergistics2:item.ItemMultiMaterial/3",
  841.             [9] = "EnderIO:blockFusedQuartz/1",
  842.             [10] = "EnderIO:blockFusedQuartz/1",
  843.             [11] = "EnderIO:blockFusedQuartz/1",
  844.         },
  845.     },
  846.     ["appliedenergistics2:tile.BlockFluix"] = {  -- Fluix Block
  847.         method = "craft", input = {
  848.             [1] = "appliedenergistics2:item.ItemMultiMaterial/7",
  849.             [2] = "appliedenergistics2:item.ItemMultiMaterial/7",
  850.             [5] = "appliedenergistics2:item.ItemMultiMaterial/7",
  851.             [6] = "appliedenergistics2:item.ItemMultiMaterial/7",
  852.         },
  853.     },
  854.     ["appliedenergistics2:item.ItemMultiPart/16"] = {  -- ME Glass Cable - Fluix
  855.         method = "craft", output = 4, input = {
  856.             [1] = "appliedenergistics2:item.ItemMultiPart/140",
  857.             [2] = "appliedenergistics2:item.ItemMultiMaterial/12",
  858.             [3] = "appliedenergistics2:item.ItemMultiMaterial/12",
  859.         },
  860.     },
  861.     ["appliedenergistics2:item.ItemMultiMaterial/43"] = {  -- Formation Core
  862.         method = "craft", output = 2, input = {
  863.             [1] = "appliedenergistics2:item.ItemMultiMaterial/10",
  864.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  865.             [3] = "appliedenergistics2:item.ItemMultiMaterial/22",
  866.         },
  867.     },
  868.     ["appliedenergistics2:item.ItemMultiMaterial/44"] = {  -- Annihilation Core
  869.         method = "craft", output = 2, input = {
  870.             [1] = "appliedenergistics2:item.ItemMultiMaterial/11",
  871.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  872.             [3] = "appliedenergistics2:item.ItemMultiMaterial/22",
  873.         },
  874.     },
  875.     ["appliedenergistics2:tile.BlockQuartzGrowthAccelerator"] = {  -- Crystal Growth Accelerator
  876.         method = "craft", input = {
  877.             [1] = "minecraft:iron_ingot",
  878.             [2] = "appliedenergistics2:item.ItemMultiPart/16",
  879.             [3] = "minecraft:iron_ingot",
  880.             [5] = "appliedenergistics2:tile.BlockQuartzGlass",
  881.             [6] = "appliedenergistics2:tile.BlockFluix",
  882.             [7] = "appliedenergistics2:tile.BlockQuartzGlass",
  883.             [9] = "minecraft:iron_ingot",
  884.             [10] = "appliedenergistics2:item.ItemMultiPart/16",
  885.             [11] = "minecraft:iron_ingot",
  886.         },
  887.     },
  888.     ["appliedenergistics2:tile.BlockInterface"] = {  -- ME Interface
  889.         method = "craft", input = {
  890.             [1] = "minecraft:iron_ingot",
  891.             [2] = "EnderIO:blockFusedQuartz/1",
  892.             [3] = "minecraft:iron_ingot",
  893.             [5] = "appliedenergistics2:item.ItemMultiMaterial/44",
  894.             [7] = "appliedenergistics2:item.ItemMultiMaterial/43",
  895.             [9] = "minecraft:iron_ingot",
  896.             [10] = "EnderIO:blockFusedQuartz/1",
  897.             [11] = "minecraft:iron_ingot",
  898.         },
  899.     },
  900.     ["appliedenergistics2:tile.BlockDrive"] = {  -- ME Drive
  901.         method = "craft", input = {
  902.             [1] = "minecraft:iron_ingot",
  903.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  904.             [3] = "minecraft:iron_ingot",
  905.             [5] = "appliedenergistics2:item.ItemMultiPart/16",
  906.             [7] = "appliedenergistics2:item.ItemMultiPart/16",
  907.             [9] = "minecraft:iron_ingot",
  908.             [10] = "appliedenergistics2:item.ItemMultiMaterial/24",
  909.             [11] = "minecraft:iron_ingot",
  910.         },
  911.     },
  912.     ["appliedenergistics2:item.ItemMultiMaterial/35"] = {  -- 1k ME Storage Component
  913.         method = "craft", input = {
  914.             [1] = "minecraft:redstone",
  915.             [2] = "appliedenergistics2:item.ItemMultiMaterial/10",
  916.             [3] = "minecraft:redstone",
  917.             [5] = "appliedenergistics2:item.ItemMultiMaterial/10",
  918.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  919.             [7] = "appliedenergistics2:item.ItemMultiMaterial/10",
  920.             [9] = "minecraft:redstone",
  921.             [10] = "appliedenergistics2:item.ItemMultiMaterial/10",
  922.             [11] = "minecraft:redstone",
  923.         },
  924.     },
  925.     ["appliedenergistics2:item.ItemMultiMaterial/36"] = {  -- 4k ME Storage Component
  926.         method = "craft", input = {
  927.             [1] = "minecraft:redstone",
  928.             [2] = "appliedenergistics2:item.ItemMultiMaterial/23",
  929.             [3] = "minecraft:redstone",
  930.             [5] = "appliedenergistics2:item.ItemMultiMaterial/35",
  931.             [6] = "appliedenergistics2:tile.BlockQuartzGlass",
  932.             [7] = "appliedenergistics2:item.ItemMultiMaterial/35",
  933.             [9] = "minecraft:redstone",
  934.             [10] = "appliedenergistics2:item.ItemMultiMaterial/35",
  935.             [11] = "minecraft:redstone",
  936.         },
  937.     },
  938.     ["appliedenergistics2:item.ItemMultiMaterial/37"] = {  -- 16k ME Storage Component
  939.         method = "craft", input = {
  940.             [1] = "minecraft:glowstone_dust",
  941.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  942.             [3] = "minecraft:glowstone_dust",
  943.             [5] = "appliedenergistics2:item.ItemMultiMaterial/36",
  944.             [6] = "appliedenergistics2:tile.BlockQuartzGlass",
  945.             [7] = "appliedenergistics2:item.ItemMultiMaterial/36",
  946.             [9] = "minecraft:glowstone_dust",
  947.             [10] = "appliedenergistics2:item.ItemMultiMaterial/36",
  948.             [11] = "minecraft:glowstone_dust",
  949.         },
  950.     },
  951.     ["appliedenergistics2:item.ItemMultiMaterial/38"] = {  -- 64k ME Storage Component
  952.         method = "craft", input = {
  953.             [1] = "minecraft:glowstone_dust",
  954.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  955.             [3] = "minecraft:glowstone_dust",
  956.             [5] = "appliedenergistics2:item.ItemMultiMaterial/37",
  957.             [6] = "appliedenergistics2:tile.BlockQuartzGlass",
  958.             [7] = "appliedenergistics2:item.ItemMultiMaterial/37",
  959.             [9] = "minecraft:glowstone_dust",
  960.             [10] = "appliedenergistics2:item.ItemMultiMaterial/37",
  961.             [11] = "minecraft:glowstone_dust",
  962.         },
  963.     },
  964.     ["extracells:storage.component"] = {  -- 256k ME Storage Component
  965.         method = "craft", input = {
  966.             [1] = "minecraft:glowstone_dust",
  967.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  968.             [3] = "minecraft:glowstone_dust",
  969.             [5] = "appliedenergistics2:item.ItemMultiMaterial/38",
  970.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  971.             [7] = "appliedenergistics2:item.ItemMultiMaterial/38",
  972.             [9] = "minecraft:glowstone_dust",
  973.             [10] = "appliedenergistics2:item.ItemMultiMaterial/38",
  974.             [11] = "minecraft:glowstone_dust",
  975.         },
  976.     },
  977.     ["extracells:storage.component/1"] = {  -- 1024k ME Storage Component
  978.         method = "craft", input = {
  979.             [1] = "minecraft:glowstone_dust",
  980.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  981.             [3] = "minecraft:glowstone_dust",
  982.             [5] = "extracells:storage.component",
  983.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  984.             [7] = "extracells:storage.component",
  985.             [9] = "minecraft:glowstone_dust",
  986.             [10] = "extracells:storage.component",
  987.             [11] = "minecraft:glowstone_dust",
  988.         },
  989.     },
  990.     ["extracells:storage.component/2"] = {  -- 4096k ME Storage Component
  991.         method = "craft", input = {
  992.             [1] = "minecraft:glowstone_dust",
  993.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  994.             [3] = "minecraft:glowstone_dust",
  995.             [5] = "extracells:storage.component/1",
  996.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  997.             [7] = "extracells:storage.component/1",
  998.             [9] = "minecraft:glowstone_dust",
  999.             [10] = "extracells:storage.component/1",
  1000.             [11] = "minecraft:glowstone_dust",
  1001.         },
  1002.     },
  1003.     ["extracells:storage.component/3"] = {  -- 16384k ME Storage Component
  1004.         method = "craft", input = {
  1005.             [1] = "minecraft:glowstone_dust",
  1006.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  1007.             [3] = "minecraft:glowstone_dust",
  1008.             [5] = "extracells:storage.component/2",
  1009.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  1010.             [7] = "extracells:storage.component/2",
  1011.             [9] = "minecraft:glowstone_dust",
  1012.             [10] = "extracells:storage.component/2",
  1013.             [11] = "minecraft:glowstone_dust",
  1014.         },
  1015.     },
  1016.     ["appliedenergistics2:item.ItemBasicStorageCell.1k"] = {  -- 1k ME Storage Cell
  1017.         method = "craft", input = {
  1018.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1019.             [2] = "minecraft:redstone",
  1020.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1021.             [5] = "minecraft:redstone",
  1022.             [6] = "appliedenergistics2:item.ItemMultiMaterial/35",
  1023.             [7] = "minecraft:redstone",
  1024.             [9] = "minecraft:iron_ingot",
  1025.             [10] = "minecraft:iron_ingot",
  1026.             [11] = "minecraft:iron_ingot",
  1027.         },
  1028.     },
  1029.     ["appliedenergistics2:item.ItemBasicStorageCell.4k"] = {  -- 4k ME Storage Cell
  1030.         method = "craft", input = {
  1031.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1032.             [2] = "minecraft:redstone",
  1033.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1034.             [5] = "minecraft:redstone",
  1035.             [6] = "appliedenergistics2:item.ItemMultiMaterial/36",
  1036.             [7] = "minecraft:redstone",
  1037.             [9] = "minecraft:iron_ingot",
  1038.             [10] = "minecraft:iron_ingot",
  1039.             [11] = "minecraft:iron_ingot",
  1040.         },
  1041.     },
  1042.     ["appliedenergistics2:item.ItemBasicStorageCell.16k"] = {  -- 16k ME Storage Cell
  1043.         method = "craft", input = {
  1044.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1045.             [2] = "minecraft:redstone",
  1046.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1047.             [5] = "minecraft:redstone",
  1048.             [6] = "appliedenergistics2:item.ItemMultiMaterial/37",
  1049.             [7] = "minecraft:redstone",
  1050.             [9] = "minecraft:iron_ingot",
  1051.             [10] = "minecraft:iron_ingot",
  1052.             [11] = "minecraft:iron_ingot",
  1053.         },
  1054.     },
  1055.     ["appliedenergistics2:item.ItemBasicStorageCell.64k"] = {  -- 64k ME Storage Cell
  1056.         method = "craft", input = {
  1057.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1058.             [2] = "minecraft:redstone",
  1059.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1060.             [5] = "minecraft:redstone",
  1061.             [6] = "appliedenergistics2:item.ItemMultiMaterial/38",
  1062.             [7] = "minecraft:redstone",
  1063.             [9] = "minecraft:iron_ingot",
  1064.             [10] = "minecraft:iron_ingot",
  1065.             [11] = "minecraft:iron_ingot",
  1066.         },
  1067.     },
  1068.     ["extracells:storage.physical"] = {  -- 256k ME Storage Cell
  1069.         method = "craft", input = {
  1070.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1071.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1072.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1073.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1074.             [6] = "extracells:storage.component",
  1075.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1076.             [9] = "minecraft:diamond",
  1077.             [10] = "minecraft:diamond",
  1078.             [11] = "minecraft:diamond",
  1079.         },
  1080.     },
  1081.     ["extracells:storage.physical/1"] = {  -- 1024k ME Storage Cell
  1082.         method = "craft", input = {
  1083.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1084.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1085.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1086.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1087.             [6] = "extracells:storage.component/1",
  1088.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1089.             [9] = "minecraft:diamond",
  1090.             [10] = "minecraft:diamond",
  1091.             [11] = "minecraft:diamond",
  1092.         },
  1093.     },
  1094.     ["extracells:storage.physical/2"] = {  -- 4096k ME Storage Cell
  1095.         method = "craft", input = {
  1096.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1097.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1098.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1099.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1100.             [6] = "extracells:storage.component/2",
  1101.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1102.             [9] = "minecraft:diamond",
  1103.             [10] = "minecraft:diamond",
  1104.             [11] = "minecraft:diamond",
  1105.         },
  1106.     },
  1107.     ["extracells:storage.physical/3"] = {  -- 16384k ME Storage Cell
  1108.         method = "craft", input = {
  1109.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1110.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1111.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1112.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1113.             [6] = "extracells:storage.component/3",
  1114.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1115.             [9] = "minecraft:diamond",
  1116.             [10] = "minecraft:diamond",
  1117.             [11] = "minecraft:diamond",
  1118.         },
  1119.     },
  1120.     ["extracells:storage.component/4"] = {  -- 1k ME Fluid Storage Component
  1121.         method = "craft", input = {
  1122.             [1] = "minecraft:dye/4",
  1123.             [2] = "appliedenergistics2:item.ItemMultiMaterial/10",
  1124.             [3] = "minecraft:dye/4",
  1125.             [5] = "appliedenergistics2:item.ItemMultiMaterial/10",
  1126.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  1127.             [7] = "appliedenergistics2:item.ItemMultiMaterial/10",
  1128.             [9] = "minecraft:dye/4",
  1129.             [10] = "appliedenergistics2:item.ItemMultiMaterial/10",
  1130.             [11] = "minecraft:dye/4",
  1131.         },
  1132.     },
  1133.     ["extracells:storage.component/5"] = {  -- 4k ME Fluid Storage Component
  1134.         method = "craft", input = {
  1135.             [1] = "minecraft:dye/4",
  1136.             [2] = "appliedenergistics2:item.ItemMultiMaterial/23",
  1137.             [3] = "minecraft:dye/4",
  1138.             [5] = "extracells:storage.component/4",
  1139.             [6] = "appliedenergistics2:tile.BlockQuartzGlass",
  1140.             [7] = "extracells:storage.component/4",
  1141.             [9] = "minecraft:dye/4",
  1142.             [10] = "extracells:storage.component/4",
  1143.             [11] = "minecraft:dye/4",
  1144.         },
  1145.     },
  1146.     ["extracells:storage.component/6"] = {  -- 16k ME Fluid Storage Component
  1147.         method = "craft", input = {
  1148.             [1] = "minecraft:dye/4",
  1149.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  1150.             [3] = "minecraft:dye/4",
  1151.             [5] = "extracells:storage.component/5",
  1152.             [6] = "appliedenergistics2:tile.BlockQuartzGlass",
  1153.             [7] = "extracells:storage.component/5",
  1154.             [9] = "minecraft:dye/4",
  1155.             [10] = "extracells:storage.component/5",
  1156.             [11] = "minecraft:dye/4",
  1157.         },
  1158.     },
  1159.     ["extracells:storage.component/7"] = {  -- 64k ME Fluid Storage Component
  1160.         method = "craft", input = {
  1161.             [1] = "minecraft:dye/4",
  1162.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  1163.             [3] = "minecraft:dye/4",
  1164.             [5] = "extracells:storage.component/6",
  1165.             [6] = "appliedenergistics2:tile.BlockQuartzGlass",
  1166.             [7] = "extracells:storage.component/6",
  1167.             [9] = "minecraft:dye/4",
  1168.             [10] = "extracells:storage.component/6",
  1169.             [11] = "minecraft:dye/4",
  1170.         },
  1171.     },
  1172.     ["extracells:storage.component/8"] = {  -- 256k ME Fluid Storage Component
  1173.         method = "craft", input = {
  1174.             [1] = "minecraft:dye/4",
  1175.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  1176.             [3] = "minecraft:dye/4",
  1177.             [5] = "extracells:storage.component/7",
  1178.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  1179.             [7] = "extracells:storage.component/7",
  1180.             [9] = "minecraft:dye/4",
  1181.             [10] = "extracells:storage.component/7",
  1182.             [11] = "minecraft:dye/4",
  1183.         },
  1184.     },
  1185.     ["extracells:storage.component/9"] = {  -- 1024k ME Fluid Storage Component
  1186.         method = "craft", input = {
  1187.             [1] = "minecraft:dye/4",
  1188.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  1189.             [3] = "minecraft:dye/4",
  1190.             [5] = "extracells:storage.component/8",
  1191.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  1192.             [7] = "extracells:storage.component/8",
  1193.             [9] = "minecraft:dye/4",
  1194.             [10] = "extracells:storage.component/8",
  1195.             [11] = "minecraft:dye/4",
  1196.         },
  1197.     },
  1198.     ["extracells:storage.component/10"] = {  -- 4096k ME Fluid Storage Component
  1199.         method = "craft", input = {
  1200.             [1] = "minecraft:dye/4",
  1201.             [2] = "appliedenergistics2:item.ItemMultiMaterial/24",
  1202.             [3] = "minecraft:dye/4",
  1203.             [5] = "extracells:storage.component/9",
  1204.             [6] = "appliedenergistics2:item.ItemMultiMaterial/22",
  1205.             [7] = "extracells:storage.component/9",
  1206.             [9] = "minecraft:dye/4",
  1207.             [10] = "extracells:storage.component/9",
  1208.             [11] = "minecraft:dye/4",
  1209.         },
  1210.     },
  1211.     ["extracells:certustank"] = {  -- Certus Quartz Tank
  1212.         method = "craft", input = {
  1213.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1214.             [2] = "appliedenergistics2:tile.BlockQuartzGlass",
  1215.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1216.             [5] = "appliedenergistics2:tile.BlockQuartzGlass",
  1217.             [7] = "appliedenergistics2:tile.BlockQuartzGlass",
  1218.             [9] = "appliedenergistics2:tile.BlockQuartzGlass",
  1219.             [10] = "appliedenergistics2:tile.BlockQuartzGlass",
  1220.             [11] = "appliedenergistics2:tile.BlockQuartzGlass",
  1221.         },
  1222.     },
  1223.     ["extracells:storage.fluid"] = {  -- ME 1k Fluid Storage
  1224.         method = "craft", input = {
  1225.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1226.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1227.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1228.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1229.             [6] = "extracells:storage.component/4",
  1230.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1231.             [9] = "extracells:certustank",
  1232.             [10] = "extracells:certustank",
  1233.             [11] = "extracells:certustank",
  1234.         },
  1235.     },
  1236.     ["extracells:storage.fluid/1"] = {  -- ME 4k Fluid Storage
  1237.         method = "craft", input = {
  1238.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1239.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1240.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1241.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1242.             [6] = "extracells:storage.component/5",
  1243.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1244.             [9] = "extracells:certustank",
  1245.             [10] = "extracells:certustank",
  1246.             [11] = "extracells:certustank",
  1247.         },
  1248.     },
  1249.     ["extracells:storage.fluid/2"] = {  -- ME 16k Fluid Storage
  1250.         method = "craft", input = {
  1251.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1252.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1253.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1254.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1255.             [6] = "extracells:storage.component/6",
  1256.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1257.             [9] = "extracells:certustank",
  1258.             [10] = "extracells:certustank",
  1259.             [11] = "extracells:certustank",
  1260.         },
  1261.     },
  1262.     ["extracells:storage.fluid/3"] = {  -- ME 64k Fluid Storage
  1263.         method = "craft", input = {
  1264.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1265.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1266.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1267.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1268.             [6] = "extracells:storage.component/7",
  1269.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1270.             [9] = "extracells:certustank",
  1271.             [10] = "extracells:certustank",
  1272.             [11] = "extracells:certustank",
  1273.         },
  1274.     },
  1275.     ["extracells:storage.fluid/4"] = {  -- ME 256k Fluid Storage
  1276.         method = "craft", input = {
  1277.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1278.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1279.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1280.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1281.             [6] = "extracells:storage.component/8",
  1282.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1283.             [9] = "extracells:certustank",
  1284.             [10] = "extracells:certustank",
  1285.             [11] = "extracells:certustank",
  1286.         },
  1287.     },
  1288.     ["extracells:storage.fluid/5"] = {  -- ME 1024k Fluid Storage
  1289.         method = "craft", input = {
  1290.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1291.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1292.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1293.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1294.             [6] = "extracells:storage.component/9",
  1295.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1296.             [9] = "extracells:certustank",
  1297.             [10] = "extracells:certustank",
  1298.             [11] = "extracells:certustank",
  1299.         },
  1300.     },
  1301.     ["extracells:storage.fluid/6"] = {  -- ME 4096k Fluid Storage
  1302.         method = "craft", input = {
  1303.             [1] = "appliedenergistics2:tile.BlockQuartzGlass",
  1304.             [2] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1305.             [3] = "appliedenergistics2:tile.BlockQuartzGlass",
  1306.             [5] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1307.             [6] = "extracells:storage.component/10",
  1308.             [7] = "appliedenergistics2:item.ItemMultiMaterial/8",
  1309.             [9] = "extracells:certustank",
  1310.             [10] = "extracells:certustank",
  1311.             [11] = "extracells:certustank",
  1312.         },
  1313.     },
  1314.     ["ThermalExpansion:Tank/1"] = {  -- Portable Tank
  1315.         method = "craft", input = {
  1316.             [2] = "EnderIO:blockFusedQuartz/1",
  1317.             [5] = "EnderIO:blockFusedQuartz/1",
  1318.             [6] = "Railcraft:ingot/1",
  1319.             [7] = "EnderIO:blockFusedQuartz/1",
  1320.             [10] = "EnderIO:blockFusedQuartz/1",
  1321.         },
  1322.     },
  1323.     ["ThermalExpansion:Tank/2"] = {  -- Hardened Portable Tank
  1324.         method = "craft", input = {
  1325.             [2] = "ThermalFoundation:material/72",
  1326.             [5] = "ThermalFoundation:material/72",
  1327.             [6] = "ThermalExpansion:Tank/1",
  1328.             [7] = "ThermalFoundation:material/72",
  1329.             [10] = "ThermalFoundation:material/72",
  1330.         },
  1331.     },
  1332.     ["ThermalExpansion:Tank/3"] = {  -- Reinforced Portable Tank
  1333.         method = "craft", input = {
  1334.             [2] = "ThermalExpansion:Glass",
  1335.             [5] = "ThermalExpansion:Glass",
  1336.             [6] = "ThermalExpansion:Tank/2",
  1337.             [7] = "ThermalExpansion:Glass",
  1338.             [10] = "ThermalExpansion:Glass",
  1339.         },
  1340.     },
  1341.     ["ThermalExpansion:Tank/4"] = {  -- Resonant Portable Tank
  1342.         method = "craft", input = {
  1343.             [2] = "ThermalFoundation:material/76",
  1344.             [5] = "ThermalFoundation:material/76",
  1345.             [6] = "ThermalExpansion:Tank/3",
  1346.             [7] = "ThermalFoundation:material/76",
  1347.             [10] = "ThermalFoundation:material/76",
  1348.         },
  1349.     },
  1350.     ["MineFactoryReloaded:plastic.sheet"] = {  -- Plastic Sheets
  1351.         method = "craft", output = 4, input = {
  1352.             [1] = "MineFactoryReloaded:plastic.raw",
  1353.             [2] = "MineFactoryReloaded:plastic.raw",
  1354.             [5] = "MineFactoryReloaded:plastic.raw",
  1355.             [6] = "MineFactoryReloaded:plastic.raw",
  1356.         },
  1357.     },
  1358.     ["ThermalExpansion:Strongbox/1"] = {  -- Strongbox
  1359.         method = "craft", input = {
  1360.             [2] = "Railcraft:ingot/2",
  1361.             [5] = "Railcraft:ingot/2",
  1362.             [6] = "minecraft:chest",
  1363.             [7] = "Railcraft:ingot/2",
  1364.             [10] = "Railcraft:ingot/2",
  1365.         },
  1366.     },
  1367.     ["ThermalExpansion:Strongbox/2"] = {  -- Hardened Strongbox
  1368.         method = "craft", input = {
  1369.             [2] = "ThermalFoundation:material/72",
  1370.             [5] = "ThermalFoundation:material/72",
  1371.             [6] = "ThermalExpansion:Strongbox/1",
  1372.             [7] = "ThermalFoundation:material/72",
  1373.             [10] = "ThermalFoundation:material/72",
  1374.         },
  1375.     },
  1376.     ["ThermalExpansion:Strongbox/3"] = {  -- Reinforced Strongbox
  1377.         method = "craft", input = {
  1378.             [2] = "ThermalExpansion:Glass",
  1379.             [5] = "ThermalExpansion:Glass",
  1380.             [6] = "ThermalExpansion:Strongbox/2",
  1381.             [7] = "ThermalExpansion:Glass",
  1382.             [10] = "ThermalExpansion:Glass",
  1383.         },
  1384.     },
  1385.     ["ThermalExpansion:Frame/6"] = {  -- Redstone Energy Cell Frame (Empty)
  1386.         method = "craft", output = 4, input = {
  1387.             [1] = "ThermalFoundation:material/71",
  1388.             [2] = "EnderIO:blockFusedQuartz",
  1389.             [3] = "ThermalFoundation:material/71",
  1390.             [5] = "EnderIO:blockFusedQuartz",
  1391.             [6] = "minecraft:diamond",
  1392.             [7] = "EnderIO:blockFusedQuartz",
  1393.             [9] = "ThermalFoundation:material/71",
  1394.             [10] = "EnderIO:blockFusedQuartz",
  1395.             [11] = "ThermalFoundation:material/71",
  1396.         },
  1397.     },
  1398.     ["ThermalExpansion:Frame/8"] = {  -- Resonant Energy Cell Frame (Empty)
  1399.         method = "craft", output = 4, input = {
  1400.             [2] = "ThermalFoundation:material/76",
  1401.             [5] = "ThermalFoundation:material/76",
  1402.             [6] = "ThermalExpansion:Frame/6",
  1403.             [7] = "ThermalFoundation:material/76",
  1404.             [10] = "ThermalFoundation:material/76",
  1405.         },
  1406.     },
  1407.     ["MineFactoryReloaded:machine.1/3"] = {  -- Deep Storage Unit
  1408.         method = "craft", output = 4, input = {
  1409.             [1] = "MineFactoryReloaded:plastic.sheet",
  1410.             [2] = "ThermalExpansion:Strongbox/3",
  1411.             [3] = "MineFactoryReloaded:plastic.sheet",
  1412.             [5] = "ThermalExpansion:Strongbox/3",
  1413.             [6] = "ThermalExpansion:Frame/8",
  1414.             [7] = "ThermalExpansion:Strongbox/3",
  1415.             [9] = "MineFactoryReloaded:plastic.sheet",
  1416.             [10] = "ThermalExpansion:Strongbox/3",
  1417.             [11] = "MineFactoryReloaded:plastic.sheet",
  1418.         },
  1419.     },
  1420.     ["ThermalFoundation:material"] = {  -- Pulverized Iron
  1421.         method = "pulverize", input = {
  1422.             [1] = "minecraft:iron_ingot",
  1423.         },
  1424.     },
  1425.     ["ThermalFoundation:material/2"] = {  -- Pulverized Coal
  1426.         method = "pulverize", input = {
  1427.             [1] = "minecraft:coal",
  1428.         },
  1429.     },
  1430.     ["ThermalFoundation:material/4"] = {  -- Pulverized Obsidian
  1431.         method = "pulverize", output = 4, input = {
  1432.             [1] = "minecraft:obsidian",
  1433.         },
  1434.     },
  1435.     ["ThermalFoundation:material/35"] = {  -- Pulverized Lead
  1436.         method = "pulverize", input = {
  1437.             [1] = "Railcraft:ingot/3",
  1438.         },
  1439.     },
  1440.     ["minecraft:quartz"] = {  -- Nether Quartz
  1441.         method = "pulverize", output = 4, input = {
  1442.             [1] = "minecraft:quartz_block",
  1443.         },
  1444.     },
  1445.     ["minecraft:glowstone_dust"] = {  -- Glowstone Dust
  1446.         method = "pulverize", output = 4, input = {
  1447.             [1] = "minecraft:glowstone",
  1448.         },
  1449.     },
  1450.     ["minecraft:sand"] = {  -- Sand
  1451.         method = "pulverize", input = {
  1452.             [1] = "minecraft:cobblestone",
  1453.         },
  1454.     },
  1455.     ["EnderIO:itemMaterial"] = {  -- Silicon
  1456.         method = "pulverize", input = {
  1457.             [1] = "minecraft:sand",
  1458.         },
  1459.     },
  1460.     ["appliedenergistics2:item.ItemMultiMaterial/3"] = {  -- Quartz Dust
  1461.         method = "pulverize", input = {
  1462.             [1] = "minecraft:quartz",
  1463.         },
  1464.     },
  1465.     ["appliedenergistics2:item.ItemMultiMaterial/8"] = {  -- Fluix Dust
  1466.         method = "pulverize", input = {
  1467.             [1] = "appliedenergistics2:item.ItemMultiMaterial/7",
  1468.         },
  1469.     },
  1470.     --["Railcraft:ingot"] = {  -- Refined Iron Ingot (Steel)
  1471.     --    method = "inductionsmelt", input = {
  1472.     --        [1] = "ThermalFoundation:material",
  1473.     --        [2] = "ThermalFoundation:material/2",
  1474.     --        [3] = "ThermalFoundation:material/2",
  1475.     --    },
  1476.     --},
  1477.     ["ThermalFoundation:material/71"] = {  -- Electrum Ingot
  1478.         method = "inductionsmelt", output = 2, input = {
  1479.             [1] = "minecraft:gold_ingot",
  1480.             [2] = "ThermalFoundation:material/66",
  1481.         },
  1482.     },
  1483.     ["ThermalFoundation:material/72"] = {  -- Invar Ingot
  1484.         method = "inductionsmelt", output = 3,  input = {
  1485.             [1] = "ThermalFoundation:material/68",
  1486.             [2] = "minecraft:iron_ingot",
  1487.             [3] = "minecraft:iron_ingot",
  1488.         },
  1489.     },
  1490.     ["ThermalFoundation:material/73"] = {  -- Bronze Ingot
  1491.         method = "inductionsmelt", output = 4,  input = {
  1492.             [1] = "Railcraft:ingot/2",
  1493.             [2] = "Railcraft:ingot/1",
  1494.             [3] = "Railcraft:ingot/1",
  1495.             [4] = "Railcraft:ingot/1",
  1496.         },
  1497.     },
  1498.     ["ThermalExpansion:Glass"] = {  -- Hardened Glass
  1499.         method = "inductionsmelt", output = 2, input = {
  1500.             [1] = "ThermalFoundation:material/35",
  1501.             [2] = "ThermalFoundation:material/4",
  1502.             [3] = "ThermalFoundation:material/4",
  1503.             [4] = "ThermalFoundation:material/4",
  1504.             [5] = "ThermalFoundation:material/4",
  1505.         },
  1506.     },
  1507.     ["EnderIO:itemAlloy"] = {  -- Electrical Steel
  1508.         method = "inductionsmelt", input = {
  1509.             [1] = "EnderIO:itemMaterial",
  1510.             [2] = "Railcraft:ingot",
  1511.         },
  1512.     },
  1513.     ["EnderIO:itemAlloy/1"] = {  -- Energetic Alloy
  1514.         method = "alloysmelt", input = {
  1515.             [1] = "minecraft:redstone",
  1516.             [2] = "minecraft:gold_ingot",
  1517.             [3] = "minecraft:glowstone_dust",
  1518.         },
  1519.     },
  1520.     ["EnderIO:itemAlloy/2"] = {  -- Vibrant Alloy
  1521.         method = "inductionsmelt", input = {
  1522.             [1] = "minecraft:ender_pearl",
  1523.             [2] = "EnderIO:itemAlloy/1",
  1524.         },
  1525.     },
  1526.     ["EnderIO:itemAlloy/3"] = {  -- Redstone Alloy
  1527.         method = "inductionsmelt", input = {
  1528.             [1] = "EnderIO:itemMaterial",
  1529.             [2] = "minecraft:redstone",
  1530.         },
  1531.     },
  1532.     ["EnderIO:itemAlloy/4"] = {  -- Conductive Iron
  1533.         method = "inductionsmelt", input = {
  1534.             [1] = "minecraft:redstone",
  1535.             [2] = "minecraft:iron_ingot",
  1536.         },
  1537.     },
  1538.     ["EnderIO:itemAlloy/5"] = {  -- Pulsating Iron
  1539.         method = "inductionsmelt", input = {
  1540.             [1] = "minecraft:ender_pearl",
  1541.             [2] = "minecraft:iron_ingot",
  1542.         },
  1543.     },
  1544.     ["EnderIO:blockFusedQuartz"] = {  -- Fused Quartz
  1545.         method = "alloysmelt", input = {
  1546.             [1] = "minecraft:quartz",
  1547.             [2] = "minecraft:quartz",
  1548.             [3] = "minecraft:quartz",
  1549.             [4] = "minecraft:quartz",
  1550.         },
  1551.     },
  1552.     ["EnderIO:blockFusedQuartz/1"] = {  -- Quite Clear Glass
  1553.         method = "alloysmelt", input = {
  1554.             [1] = "minecraft:sand",
  1555.         },
  1556.     },
  1557.     ["minecraft:brick"] = {  -- Brick
  1558.         method = "alloysmelt", input = {
  1559.             [1] = "minecraft:clay_ball",
  1560.         },
  1561.     },
  1562.     ["minecraft:baked_potato"] = {  -- Baked Potato
  1563.         method = "alloysmelt", input = {
  1564.             [1] = "minecraft:potato",
  1565.         },
  1566.     },
  1567.     ["EnderIO:itemMaterial/1"] = {  -- Conduit Binder
  1568.         method = "alloysmelt", output = 4, input = {
  1569.             [1] = "EnderIO:itemMaterial/2",
  1570.         },
  1571.     },
  1572.     ["ThermalFoundation:material/74"] = {  -- Signalum Ingot
  1573.         method = "alloysmelt", output = 4, input = {
  1574.             [4] = "ThermalFoundation:material/66",
  1575.             [1] = "Railcraft:ingot/1",
  1576.             [2] = "Railcraft:ingot/1",
  1577.             [3] = "Railcraft:ingot/1",
  1578.             [5] = "minecraft:redstone",
  1579.             [6] = "minecraft:redstone",
  1580.             [7] = "minecraft:redstone",
  1581.             [8] = "minecraft:redstone",
  1582.             [9] = "minecraft:redstone",
  1583.             [10] = "minecraft:redstone",
  1584.             [11] = "minecraft:redstone",
  1585.             [12] = "minecraft:redstone",
  1586.             [13] = "minecraft:redstone",
  1587.             [14] = "minecraft:redstone",
  1588.         },
  1589.     },
  1590.     ["EnderIO:itemPowderIngot/6"] = {  -- Enderium Base
  1591.         method = "alloysmelt", output = 4, input = {
  1592.             [1] = "Railcraft:ingot/2",
  1593.             [2] = "Railcraft:ingot/2",
  1594.             [3] = "ThermalFoundation:material/66",
  1595.             [4] = "ThermalFoundation:material/69",
  1596.         },
  1597.     },
  1598.     ["ThermalFoundation:material/76"] = {  -- Enderium Ingot
  1599.         method = "alloysmelt", output = 2, max = 32, input = {
  1600.             [1] = "EnderIO:itemPowderIngot/6",
  1601.             [2] = "EnderIO:itemPowderIngot/6",
  1602.             [3] = "ThermalFoundation:material/512",
  1603.             [4] = "minecraft:ender_pearl",
  1604.             [5] = "minecraft:ender_pearl",
  1605.         },
  1606.     },
  1607.     ["MineFactoryReloaded:rubber.bar"] = {  -- Rubber Bar
  1608.         method = "alloysmelt", input = {
  1609.             [1] = "MineFactoryReloaded:rubber.raw",
  1610.         },
  1611.     },
  1612.     ["MineFactoryReloaded:plastic.raw"] = {  -- Raw Plastic
  1613.         method = "alloysmelt", input = {
  1614.             [1] = "MineFactoryReloaded:rubber.bar",
  1615.         },
  1616.     },
  1617.     ["appliedenergistics2:item.ItemMultiMaterial/22"] = {  -- Logic Processor
  1618.         method = "inscribe", plate = 2, input = {
  1619.             [1] = "EnderIO:itemMaterial",
  1620.             [2] = "minecraft:gold_ingot",
  1621.             [3] = "minecraft:redstone",
  1622.         },
  1623.     },
  1624.     ["appliedenergistics2:item.ItemMultiMaterial/23"] = {  -- Calculation Processor
  1625.         method = "inscribe", plate = 3, input = {
  1626.             [1] = "EnderIO:itemMaterial",
  1627.             [2] = "appliedenergistics2:item.ItemMultiMaterial/10",
  1628.             [3] = "minecraft:redstone",
  1629.         },
  1630.     },
  1631.     ["appliedenergistics2:item.ItemMultiMaterial/24"] = {  -- Engineering Processor
  1632.         method = "inscribe", plate = 4, input = {
  1633.             [1] = "EnderIO:itemMaterial",
  1634.             [2] = "minecraft:diamond",
  1635.             [3] = "minecraft:redstone",
  1636.         },
  1637.     },
  1638. }
  1639.  
  1640. local aliases = {
  1641.     paper = "minecraft:paper",
  1642.     vibrantcrystal = "EnderIO:itemMaterial/6",
  1643.     pyrotheum = "ThermalFoundation:material/512",
  1644.     solarpanel0 = "SolarExpansion:solarPanelLeadstone",
  1645.     solarpanel1 = "SolarExpansion:solarPanelHardened",
  1646.     solarpanel2 = "SolarExpansion:solarPanelRedstone",
  1647.     solarpanel3 = "SolarExpansion:solarPanelResonant",
  1648.     solarpanel4 = "SolarExpansion:solarPanelAdvanced",
  1649.     solarpanel5 = "SolarExpansion:solarPanelUltimate",
  1650.     tingear = "ThermalFoundation:material/129",
  1651.     ferrousgear = "ThermalFoundation:material/132",
  1652.     coppergear = "ThermalFoundation:material/128",
  1653.     irongear = "ThermalFoundation:material/12",
  1654.     goldgear = "ThermalFoundation:material/13",
  1655.     electrumgear = "ThermalFoundation:material/135",
  1656.     invargear = "ThermalFoundation:material/136",
  1657.     bronzegear = "ThermalFoundation:material/137",
  1658.     signalumgear = "ThermalFoundation:material/138",
  1659.     eneriumgear = "ThermalFoundation:material/140",
  1660.     frame0 = "ThermalExpansion:Frame",
  1661.     frame1 = "ThermalExpansion:Frame/1",
  1662.     frame2 = "ThermalExpansion:Frame/2",
  1663.     frame3 = "ThermalExpansion:Frame/3",
  1664.     rxcoil = "ThermalExpansion:material/1",
  1665.     txcoil = "ThermalExpansion:material/2",
  1666.     bricks = "minecraft:brick_block",
  1667.     bucket = "minecraft:bucket",
  1668.     piston = "minecraft:piston",
  1669.     chest = "minecraft:chest",
  1670.     hopper = "minecraft:hopper",
  1671.     redstoneconduit = "EnderIO:itemRedstoneConduit",
  1672.     insulatedredstoneconduit = "EnderIO:itemRedstoneConduit/2",
  1673.     powerconduit0 = "EnderIO:itemPowerConduit",
  1674.     powerconduit1 = "EnderIO:itemPowerConduit/1",
  1675.     powerconduit2 = "EnderIO:itemPowerConduit/2",
  1676.     liquidconduit0 = "EnderIO:itemLiquidConduit",
  1677.     liquidconduit1 = "EnderIO:itemLiquidConduit/1",
  1678.     liquidconduit2 = "EnderIO:itemLiquidConduit/2",
  1679.     itemconduit = "EnderIO:itemItemConduit",
  1680.     meconduit = "EnderIO:itemMEConduit",
  1681.     densemeconduit = "EnderIO:itemMEConduit/1",
  1682.     filter = "EnderIO:itemBasicFilterUpgrade",
  1683.     capacitor0 = "EnderIO:itemBasicCapacitor",
  1684.     capacitor1 = "EnderIO:itemBasicCapacitor/1",
  1685.     capacitor2 = "EnderIO:itemBasicCapacitor/2",
  1686.     capacitorbank0 = "EnderIO:blockCapBank/1?a25b058e84c7358311c62e4ac2eaf7eb",
  1687.     capacitorbank1 = "EnderIO:blockCapBank/2?60b91e7944c313e4cd8892ff9588d98b",
  1688.     capacitorbank2 = "EnderIO:blockCapBank/3?59b8a9d9c7ab159344e472e362b34ac2",
  1689.     redstonefurnace = "ThermalExpansion:Machine?47c6c93d8696d4d341dbf43e040509d7",
  1690.     pulverizer = "ThermalExpansion:Machine/1?6fff1ea7c34e731b1397d8dd17b328e4",
  1691.     inductionsmelter = "ThermalExpansion:Machine/3?6fff1ea7c34e731b1397d8dd17b328e4",
  1692.     quartzglass = "appliedenergistics2:tile.BlockQuartzGlass",
  1693.     quartzfiber = "appliedenergistics2:item.ItemMultiPart/140",
  1694.     fluixblock = "appliedenergistics2:tile.BlockFluix",
  1695.     glasscable = "appliedenergistics2:item.ItemMultiPart/16",
  1696.     formationcore = "appliedenergistics2:item.ItemMultiMaterial/43",
  1697.     annihilationcore = "appliedenergistics2:item.ItemMultiMaterial/44",
  1698.     growthaccel = "appliedenergistics2:tile.BlockQuartzGrowthAccelerator",
  1699.     meinterface = "appliedenergistics2:tile.BlockInterface",
  1700.     medrive = "appliedenergistics2:tile.BlockDrive",
  1701.     comp1k = "appliedenergistics2:item.ItemMultiMaterial/35",
  1702.     comp4k = "appliedenergistics2:item.ItemMultiMaterial/36",
  1703.     comp16k = "appliedenergistics2:item.ItemMultiMaterial/37",
  1704.     comp64k = "appliedenergistics2:item.ItemMultiMaterial/38",
  1705.     comp256k = "extracells:storage.component",
  1706.     comp1024k = "extracells:storage.component/1",
  1707.     comp4096k = "extracells:storage.component/2",
  1708.     comp16384k = "extracells:storage.component/3",
  1709.     cell1k = "appliedenergistics2:item.ItemBasicStorageCell.1k",
  1710.     cell4k = "appliedenergistics2:item.ItemBasicStorageCell.4k",
  1711.     cell16k = "appliedenergistics2:item.ItemBasicStorageCell.16k",
  1712.     cell64k = "appliedenergistics2:item.ItemBasicStorageCell.64k",
  1713.     cell256k = "extracells:storage.physical",
  1714.     cell1024k = "extracells:storage.physical/1",
  1715.     cell4096k = "extracells:storage.physical/2",
  1716.     cell16384k = "extracells:storage.physical/3",
  1717.     fcomp1k = "extracells:storage.component/4",
  1718.     fcomp4k = "extracells:storage.component/5",
  1719.     fcomp16k = "extracells:storage.component/6",
  1720.     fcomp64k = "extracells:storage.component/7",
  1721.     fcomp256k = "extracells:storage.component/8",
  1722.     fcomp1024k = "extracells:storage.component/9",
  1723.     fcomp4096k = "extracells:storage.component/10",
  1724.     ctank = "extracells:certustank",
  1725.     fcell1k = "extracells:storage.fluid",
  1726.     fcell4k = "extracells:storage.fluid/1",
  1727.     fcell16k = "extracells:storage.fluid/2",
  1728.     fcell64k = "extracells:storage.fluid/3",
  1729.     fcell256k = "extracells:storage.fluid/4",
  1730.     fcell1024k = "extracells:storage.fluid/5",
  1731.     fcell4096k = "extracells:storage.fluid/6",
  1732.     ptank0 = "ThermalExpansion:Tank/1",
  1733.     ptank1 = "ThermalExpansion:Tank/2",
  1734.     ptank2 = "ThermalExpansion:Tank/3",
  1735.     ptank3 = "ThermalExpansion:Tank/4",
  1736.     plastic = "MineFactoryReloaded:plastic.sheet",
  1737.     strongbox0 = "ThermalExpansion:Strongbox/1",
  1738.     strongbox1 = "ThermalExpansion:Strongbox/2",
  1739.     strongbox2 = "ThermalExpansion:Strongbox/3",
  1740.     teframe2 = "ThermalExpansion:Frame/6",
  1741.     teframe3 = "ThermalExpansion:Frame/8",
  1742.     dsu = "MineFactoryReloaded:machine.1/3",
  1743.     sand = "minecraft:sand",
  1744.     silicon = "EnderIO:itemMaterial",
  1745.     quartzdust = "appliedenergistics2:item.ItemMultiMaterial/3",
  1746.     fluixdust = "appliedenergistics2:item.ItemMultiMaterial/8",
  1747.     --steel = "Railcraft:ingot",
  1748.     electrum = "ThermalFoundation:material/71",
  1749.     invar = "ThermalFoundation:material/72",
  1750.     bronze = "ThermalFoundation:material/73",
  1751.     hardenedglass = "ThermalExpansion:Glass",
  1752.     electricalsteel = "EnderIO:itemAlloy",
  1753.     energeticalloy = "EnderIO:itemAlloy/1",
  1754.     vibrantalloy = "EnderIO:itemAlloy/2",
  1755.     conductiveiron = "EnderIO:itemAlloy/4",
  1756.     pulsatingiron = "EnderIO:itemAlloy/5",
  1757.     fusedquartz = "EnderIO:blockFusedQuartz",
  1758.     glass = "EnderIO:blockFusedQuartz/1",
  1759.     brick = "minecraft:brick",
  1760.     bakedpotato = "minecraft:baked_potato",
  1761.     conduitbinder = "EnderIO:itemMaterial/1",
  1762.     signalum = "ThermalFoundation:material/74",
  1763.     enderium = "ThermalFoundation:material/76",
  1764.     rubber = "MineFactoryReloaded:rubber.bar",
  1765.     rawplastic = "MineFactoryReloaded:plastic.raw",
  1766.     logicprocessor = "appliedenergistics2:item.ItemMultiMaterial/22",
  1767.     calcprocessor = "appliedenergistics2:item.ItemMultiMaterial/23",
  1768.     engprocessor = "appliedenergistics2:item.ItemMultiMaterial/24",
  1769. }
  1770.  
  1771.  
  1772. local me = peripheral.find("tileinterface") or error("ME interface not found")
  1773. local mestock = {}
  1774. local location = 0
  1775.  
  1776.  
  1777. local function me2i(item)
  1778.     item = item.fingerprint or item
  1779.     return item.id .. (item.dmg ~= 0 and "/" .. item.dmg or "") .. (item.nbt_hash and "?" .. item.nbt_hash or "")
  1780. end
  1781.  
  1782. local function i2me(item)
  1783.     slash = item:find("/", 1, true)
  1784.     qm = item:find("?", 1, true)
  1785.     return {
  1786.         id = slash and item:sub(1, slash - 1) or qm and item:sub(1, qm - 1) or item,
  1787.         dmg = slash and tonumber((qm and item:sub(1, qm - 1) or item):sub(slash + 1)) or 0,
  1788.         nbt_hash = qm and item:sub(qm + 1) or nil,
  1789.     }
  1790. end
  1791.  
  1792. local function updateMEStock()
  1793.     mestock = {}
  1794.     for _, stack in pairs(me.getAvailableItems()) do
  1795.         mestock[me2i(stack.fingerprint)] = stack.size
  1796.     end
  1797. end
  1798.  
  1799. local function goTo(target)
  1800.     if location < target then
  1801.         for i = 1, target - location do
  1802.             turtle.forward()
  1803.         end
  1804.     elseif location > target then
  1805.         for i = 1, location - target do
  1806.             turtle.back()
  1807.         end
  1808.     end
  1809.     location = target
  1810. end
  1811.  
  1812. local function empty()
  1813.     for slot = 1, 16 do
  1814.         if turtle.getItemCount(slot) > 0 then
  1815.             me.pullItem("up", slot)
  1816.         end
  1817.     end
  1818. end
  1819.  
  1820. local function getRecipe(item)
  1821.     recipe = recipes[item] or error("No recipe for " .. item)
  1822.     recipe.output = recipe.output or 1
  1823.     recipe.max = recipe.max or 64
  1824.     return recipe
  1825. end
  1826.  
  1827. local function checkRequirements(item, count)
  1828.     local amount = math.min(count, mestock[item] or 0)
  1829.     if amount > 0 then
  1830.         mestock[item] = mestock[item] - amount
  1831.     end
  1832.     local need = count - amount
  1833.     if need > 0 then
  1834.         recipe = getRecipe(item)
  1835.         amount = math.floor((need + recipe.output - 1) / recipe.output)
  1836.         for _, ingredient in pairs(recipe.input) do
  1837.             checkRequirements(ingredient, amount)
  1838.         end
  1839.         mestock[item] = amount * recipe.output - need
  1840.     end
  1841. end
  1842.  
  1843. local produce
  1844.  
  1845. local function ensurePresence(item, count)
  1846.     local stock = me.getItemDetail(i2me(item))
  1847.     local qty = stock and stock.basic().qty or 0
  1848.     while qty < count do
  1849.         produce(item, count - qty)
  1850.         stock = me.getItemDetail(i2me(item))
  1851.         qty = stock and stock.basic().qty or 0
  1852.     end
  1853. end
  1854.  
  1855. local function allEmpty(inv, maxSlot)
  1856.     for k, v in pairs(inv) do
  1857.         if k <= maxSlot then
  1858.             return false
  1859.         end
  1860.     end
  1861.     return true
  1862. end
  1863.  
  1864. local function fillMachine(firstSlot)
  1865.     for slot = firstSlot, 16 do
  1866.         if turtle.getItemCount(slot) ~= 0 then
  1867.             turtle.select(slot)
  1868.             turtle.drop()
  1869.         end
  1870.     end
  1871.     turtle.select(1)
  1872. end
  1873.  
  1874. local function operateGenericMachine(machine, maxSlot, wait, count)
  1875.     goTo(machine)
  1876.     turtle.turnRight()
  1877.     fillMachine(1)
  1878.     p = peripheral.wrap("front")
  1879.     local i = 0
  1880.     while not allEmpty(p.getAllStacks(), maxSlot) do
  1881.         sleep(0.5)
  1882.         turtle.suck()
  1883.         i = i + 1
  1884.         if i >= 10 then
  1885.             i = 0
  1886.             fillMachine(2)
  1887.         end
  1888.     end
  1889.     for i = 1, wait * 10 do
  1890.         if turtle.getItemCount(1) == count then
  1891.             break
  1892.         end
  1893.         sleep(0.1)
  1894.         turtle.suck()
  1895.     end
  1896.     turtle.turnLeft()
  1897.     goTo(machines.meinterface)
  1898. end
  1899.  
  1900. local function operateTEMachine(machine)
  1901.     goTo(machine)
  1902.     turtle.turnRight()
  1903.     turtle.up()
  1904.     for slot = 1, 5 do
  1905.         turtle.select(slot)
  1906.         turtle.drop()
  1907.     end
  1908.     turtle.select(1)
  1909.     turtle.down()
  1910.     p = peripheral.wrap("front")
  1911.     while p.hasWork() or #p.getAllStacks() ~= 0 do
  1912.         sleep(0.5)
  1913.     end
  1914.     turtle.turnLeft()
  1915.     goTo(machines.meinterface)
  1916. end
  1917.  
  1918. local function operateInscriber(p, inSlot, outDir)
  1919.     turtle.select(inSlot)
  1920.     while turtle.getItemCount(inSlot) ~= 0 do
  1921.         turtle.drop(1)
  1922.         while p.pushItem(outDir, 4, 1, 27) ~= 1 do
  1923.             sleep(0.1)
  1924.         end
  1925.     end
  1926. end
  1927.  
  1928. local methods = {
  1929.     craft = function(recipe, count)
  1930.         sleep(0.2)
  1931.         turtle.craft()
  1932.         sleep(0.2)
  1933.     end,
  1934.     inductionsmelt = function(recipe, count)
  1935.         operateTEMachine(machines.inductionsmelter)
  1936.     end,
  1937.     pulverize = function(recipe, count)
  1938.         operateTEMachine(machines.pulverizer)
  1939.     end,
  1940.     alloysmelt = function(recipe, count)
  1941.         operateGenericMachine(machines.alloysmelter, 4, 20, count)
  1942.     end,
  1943.     inscribe = function(recipe, count)
  1944.         goTo(machines.inscriber)
  1945.         turtle.turnRight()
  1946.         local p = peripheral.wrap("front")
  1947.         p.pullItem("up", 1, 1, 1)
  1948.         operateInscriber(p, 1, "down")
  1949.         p.pushItem("up", 1, 1, 1)
  1950.         p.pullItem("up", recipe.plate, 1, 1)
  1951.         operateInscriber(p, 2, "up")
  1952.         p.pushItem("up", 1, 1, recipe.plate)
  1953.         while turtle.getItemCount(3) ~= 0 do
  1954.             p.pullItem("up", 27, 1, 1)
  1955.             p.pullItem("down", 27, 1, 2)
  1956.             turtle.select(3)
  1957.             turtle.drop(1)
  1958.             turtle.select(4)
  1959.             while not turtle.suck(1) do
  1960.                 sleep(0.1)
  1961.             end
  1962.         end
  1963.         turtle.select(1)
  1964.         turtle.turnLeft()
  1965.         goTo(machines.meinterface)
  1966.     end,
  1967. }
  1968.  
  1969. function produce(item, count)
  1970.     local recipe = getRecipe(item)
  1971.     local need = math.floor((count + recipe.output - 1) / recipe.output)
  1972.     print("need ", need * recipe.output, "x ", item)
  1973.     local ingredients = {}
  1974.     for _, ingredient in pairs(recipe.input) do
  1975.         ingredients[ingredient] = (ingredients[ingredient] or 0) + need
  1976.     end
  1977.     for ingredient, totalqty in pairs(ingredients) do
  1978.         ensurePresence(ingredient, totalqty)
  1979.     end
  1980.     while need > 0 do
  1981.         local amount = math.floor(math.min(recipe.max, need * recipe.output) / recipe.output)
  1982.         need = need - amount
  1983.         for slot, ingredient in pairs(recipe.input) do
  1984.             me.exportItem(i2me(ingredient), "up", amount, slot)
  1985.         end
  1986.         methods[recipe.method](recipe, amount)
  1987.         empty()
  1988.     end
  1989. end
  1990.  
  1991.  
  1992. local tArgs = { ... }
  1993. if #tArgs ~= 2 then
  1994.     error("Usage: craft <count> <item>")
  1995. end
  1996. local count = tonumber(tArgs[1])
  1997. if count < 1 then
  1998.     error("count must be >0")
  1999. end
  2000. local item = aliases[tArgs[2]] or error("unknown item")
  2001.  
  2002. turtle.select(1)
  2003. empty()
  2004. updateMEStock()
  2005. checkRequirements(item, count)
  2006. ensurePresence(item, count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement