Advertisement
EverybodyLies

Recipes - GregTech - Materials.zs

Jun 16th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 49.24 KB | None | 0 0
  1. #================================#
  2. # GregTech 5 Recipes - Materials #
  3. #================================#
  4.  
  5. import minetweaker.item.IItemStack;
  6. import minetweaker.item.IIngredient;
  7. import minetweaker.liquid.ILiquidStack;
  8. import minetweaker.oredict.IOreDictEntry;
  9. import minetweaker.formatting.IFormattedText;
  10.  
  11. import mods.MTUtils.Utils; // Credits to LionZXY
  12.  
  13. import mods.thermalexpansion.Furnace;
  14. import mods.thermalexpansion.Smelter;
  15. import mods.thermalexpansion.Pulverizer;
  16. import mods.forestry.Centrifuge;
  17.  
  18. #====================================================#
  19. # SETTINGS
  20.  
  21. val Settings = {
  22.  
  23.     "Smeltery.mbPerOre": "288",
  24.     "Smeltery.mbPerCrushedOre": "160",
  25.     "Smeltery.mbPerCentrifugedOre": "144",
  26.     "Smeltery.mbPerPurifiedOre": "144",
  27.     "Smeltery.mbPerImpureDust": "144",
  28.     "Smeltery.mbPerPureDust": "144",
  29.     "Smeltery.mbPerDust": "144",
  30.  
  31.     "Furnace.RFPerOre": "2000",
  32.     "Furnace.RFPerCrushedOre": "2000",
  33.     "Furnace.RFPerCentrifugedOre": "2000",
  34.     "Furnace.RFPerPurifiedOre": "2000",
  35.     "Furnace.RFPerImpureDust": "2000",
  36.     "Furnace.RFPerPureDust": "2000",
  37.     "Furnace.RFPerDust": "2000",
  38.  
  39.     "Smelter.RFPerOre": "12000",
  40.     "Smelter.RFPerCrushedOre": "12000",
  41.     "Smelter.RFPerCentrifugedOre": "12000",
  42.     "Smelter.RFPerPurifiedOre": "12000",
  43.     "Smelter.RFPerImpureDust": "12000",
  44.     "Smelter.RFPerPureDust": "12000",
  45.     "Smelter.RFPerDust": "12000",
  46.  
  47.     "Pulverizer.RFPerOre": "4000",
  48.     "Pulverizer.RFPerCrushedOre": "4000",
  49.     "Pulverizer.RFPerCentrifugedOre": "4000",
  50.     "Pulverizer.RFPerPurifiedOre": "4000",
  51.     "Pulverizer.RFPerImpureDust": "4000",
  52.     "Pulverizer.RFPerPureDust": "4000",
  53.  
  54. } as string[string];
  55.  
  56. #====================================================#
  57. # VARIABLES
  58.  
  59. val Type = {
  60. // KEY : PURE OUTPUT
  61.     "DIAMOND"       :["gem"],
  62.     "DULL"          :["ingot"],
  63.     "EMERALD"       :["gem"],
  64.     "FIERY"         :["ingot"],
  65.     "FINE"          :["dust"],
  66.     "FLINT"         :["gem"],
  67.     "FLUID"         :["cell"],
  68.     "GEM_HORIZONTAL":["gem"],
  69.     "GEM_VERTICAL"  :["gem"],
  70.     "GLASS"         :["dust"],
  71.     "LAPIS"         :["gem"],
  72.     "LEAF"          :["ingot"],
  73.     "LIGNITE"       :["gem"],
  74.     "MAGNETIC"      :["ingot"],
  75.     "METALLIC"      :["ingot"],
  76.     "NETHERSTAR"    :["dust"],
  77.     "NONE"          :["dust"],
  78.     "OPAL"          :["gem"],
  79.     "PAPER"         :["dust"],
  80.     "POWDER"        :["dust"],
  81.     "QUARTZ"        :["gem"],
  82.     "ROUGH"         :["dust"],
  83.     "RUBY"          :["gem"],
  84.     "SAND"          :["dust"],
  85.     "SHARDS"        :["gem"],
  86.     "SHINY"         :["ingot"],
  87.     "WOOD"          :["pulp"],
  88. /**
  89.  * @param aMetaItemSubID        the Sub-ID used in my own MetaItems. Range 0-1000. -1 for no Material
  90.  * @param aTypes                which kind of Items should be generated. Bitmask as follows:
  91.  *                              1 = Dusts of all kinds.
  92.  *                              2 = Dusts, Ingots, Plates, Rods\Sticks, Machine Components and other Metal specific things.
  93.  *                              4 = Dusts, Gems, Plates, Lenses (if transparent).
  94.  *                              8 = Dusts, Impure Dusts, crushed Ores, purified Ores, centrifuged Ores etc.
  95.  *                              16 = Cells
  96.  *                              32 = Plasma Cells
  97.  *                              64 = Tool Heads
  98.  *                              128 = Gears
  99.  *                              256 = Designates something as empty (only used for the Empty material)
  100.  *                              if ((aTypes & 2) != 0) add(SubTag.SMELTING_TO_FLUID);
  101.  *
  102.  * @param aR,                   aG, aB Color of the Material 0-255 each.
  103.  * @param aA                    transparency of the Material Texture. 0 = fully visible, 255 = Invisible.
  104.  * @param aName                 The Name used as Default for localization.
  105.  * @param aFuelType             Type of Generator to get Energy from this Material.
  106.  * @param aFuelPower            EU generated. Will be multiplied by 1000, also additionally multiplied by 2 for Gems.
  107.  * @param aMeltingPoint         Used to determine the smelting Costs in Furnii.
  108.  * @param aBlastFurnaceTemp     Used to determine the needed Heat capactiy Costs in Blast Furnii.
  109.  * @param aBlastFurnaceRequired If this requires a Blast Furnace.
  110.  * @param aColor                Vanilla MC Wool Color which comes the closest to this.
  111.  */
  112. } as string[][string];
  113.  
  114. val Material = {
  115. // KEY : ID, SUBTAGS, OREDICT, TYPE, CHEMICAL FORMULA
  116.     "001" : ["001", "00", "Hydrogen", "FLUID", "H"],
  117.     "002" : ["002", "00", "Deuterium", "FLUID", "D"],
  118.     "003" : ["003", "00", "Tritium", "FLUID", "T"],
  119.     "004" : ["004", "00", "Helium", "FLUID", "He"],
  120.     "005" : ["005", "00", "Helium_3", "FLUID", "He-3"],
  121.     "006" : ["006", "07", "Lithium", "DULL", "Li"],
  122.     "008" : ["008", "00", "Beryllium", "NONE", "Be"],
  123.     "009" : ["009", "00", "Boron", "NONE", "B"],
  124.     "010" : ["010", "00", "Carbon", "NONE", "C"],
  125.     "012" : ["012", "00", "Nitrogen", "NONE", "N"],
  126.     "013" : ["013", "00", "Oxygen", "NONE", "O"],
  127.     "014" : ["014", "00", "Fluorine", "NONE", "F"],
  128.     "017" : ["017", "00", "Sodium", "NONE", "Na"],
  129.     "018" : ["018", "00", "Magnesium", "NONE", "Mg"],
  130.     "019" : ["019", "00", "Aluminium", "NONE", "Al"],
  131.     "020" : ["020", "00", "Silicon", "NONE", "Si"],
  132.     "021" : ["021", "00", "Phosphor", "NONE", "P"],
  133.     "022" : ["022", "00", "Sulfur", "NONE", "S"],
  134.     "023" : ["023", "00", "Chlorine", "NONE", "Cl"],
  135.     "024" : ["024", "00", "Argon", "NONE", "Ar"],
  136.     "025" : ["025", "00", "Potassium", "NONE", "K"],
  137.     "026" : ["026", "00", "Calcium", "NONE", "Ca"],
  138.     "027" : ["027", "00", "Scandium", "NONE", "Sc"],
  139.     "028" : ["028", "00", "Titanium", "NONE", "Ti"],
  140.     "029" : ["029", "00", "Vanadium", "NONE", "V"],
  141.     "030" : ["030", "00", "Chrome", "NONE", "Cr"],
  142.     "031" : ["031", "00", "Manganese", "NONE", "Mn"],
  143.     "032" : ["032", "00", "Iron", "NONE", "Fe"],
  144.     "033" : ["033", "00", "Cobalt", "NONE", "Co"],
  145.     "034" : ["034", "00", "Nickel", "NONE", "Ni"],
  146.     "035" : ["035", "00", "Copper", "NONE", "Cu"],
  147.     "036" : ["036", "00", "Zinc", "NONE", "Zn"],
  148.     "037" : ["037", "00", "Gallium", "NONE", "Ga"],
  149.     "039" : ["039", "00", "Arsenic", "NONE", "As"],
  150.     "043" : ["043", "00", "Rubidium", "NONE", "Rb"],
  151.     "044" : ["044", "00", "Strontium", "NONE", "Sr"],
  152.     "045" : ["045", "00", "Yttrium", "NONE", "Y"],
  153.     "047" : ["047", "00", "Niobium", "NONE", "Nb"],
  154.     "048" : ["048", "00", "Molybdenum", "NONE", "Mo"],
  155.     "052" : ["052", "00", "Palladium", "NONE", "Pd"],
  156.     "054" : ["054", "00", "Silver", "NONE", "Ag"],
  157.     "055" : ["055", "00", "Cadmium", "NONE", "Cd"],
  158.     "056" : ["056", "00", "Indium", "NONE", "In"],
  159.     "057" : ["057", "00", "Tin", "NONE", "Sn"],
  160.     "058" : ["058", "00", "Antimony", "NONE", "Sb"],
  161.     "059" : ["059", "00", "Tellurium", "NONE", "Te"],
  162.     "062" : ["062", "00", "Caesium", "NONE", "Cs"],
  163.     "063" : ["063", "00", "Barium", "NONE", "Ba"],
  164.     "064" : ["064", "00", "Lanthanum", "NONE", "La"],
  165.     "065" : ["065", "00", "Cerium", "NONE", "Ce"],
  166.     "066" : ["066", "00", "Praseodymium", "NONE", "Pr"],
  167.     "067" : ["067", "00", "Neodymium", "NONE", "Nd"],
  168.     "068" : ["068", "00", "Promethium", "NONE", "Pm"],
  169.     "069" : ["069", "00", "Samarium", "NONE", "Sm"],
  170.     "070" : ["070", "00", "Europium", "NONE", "Eu"],
  171.     "071" : ["071", "00", "Gadolinium", "NONE", "Gd"],
  172.     "072" : ["072", "00", "Terbium", "NONE", "Tb"],
  173.     "073" : ["073", "00", "Dysprosium", "NONE", "Dy"],
  174.     "074" : ["074", "00", "Holmium", "NONE", "Ho"],
  175.     "075" : ["075", "00", "Erbium", "NONE", "Er"],
  176.     "076" : ["076", "00", "Thulium", "NONE", "Tm"],
  177.     "077" : ["077", "00", "Ytterbium", "NONE", "Yb"],
  178.     "078" : ["078", "00", "Lutetium", "NONE", "Lu"],
  179.     "080" : ["080", "00", "Tantalum", "NONE", "Ta"],
  180.     "081" : ["081", "00", "Tungsten", "NONE", "W"],
  181.     "083" : ["083", "00", "Osmium", "NONE", "Os"],
  182.     "084" : ["084", "00", "Iridium", "NONE", "Ir"],
  183.     "085" : ["085", "00", "Platinum", "NONE", "Pt"],
  184.     "086" : ["086", "00", "Gold", "NONE", "Au"],
  185.     "087" : ["087", "00", "Mercury", "NONE", "Hg"],
  186.     "089" : ["089", "00", "Lead", "NONE", "Pb"],
  187.     "090" : ["090", "00", "Bismuth", "NONE", "Bi"],
  188.     "093" : ["093", "00", "Radon", "NONE", "Rn"],
  189.     "096" : ["096", "00", "Thorium", "NONE", "Th"],
  190.     "097" : ["097", "00", "Uranium235", "NONE", "U-235"],
  191.     "098" : ["098", "00", "Uranium", "NONE", "U"],
  192.     "100" : ["100", "00", "Plutonium", "NONE", "Pu"],
  193.     "101" : ["101", "00", "Plutonium241", "NONE", "Pu-241"],
  194.     "103" : ["103", "00", "Americium", "NONE", "Am"],
  195.     "129" : ["129", "00", "Neutronium", "NONE", "Nt"],
  196.     "241" : ["241", "00", "PlatinumGroupSludge", "NONE", "?"],
  197.     "299" : ["299", "00", "Stone", "NONE", "?"],
  198.     "300" : ["300", "00", "Bronze", "NONE", "SnCu3"],
  199.     "301" : ["301", "00", "Brass", "NONE", "ZnCu3"],
  200.     "302" : ["302", "00", "Invar", "NONE", "Fe2Ni"],
  201.     "303" : ["303", "00", "Electrum", "NONE", "AgAu"],
  202.     "304" : ["304", "00", "WroughtIron", "NONE", "Fe"],
  203.     "305" : ["305", "00", "Steel", "NONE", "Fe50C"],
  204.     "306" : ["306", "00", "StainlessSteel", "NONE", "Fe6CrMnNi"],
  205.     "307" : ["307", "00", "PigIron", "NONE", "Fe"],
  206.     "308" : ["308", "00", "RedAlloy", "NONE", "Cu(Si(FeS2)5CrAl2O3Hg3)4"],
  207.     "309" : ["309", "00", "BlueAlloy", "NONE", "Ag?4"],
  208.     "310" : ["310", "00", "Cupronickel", "NONE", "CuNi"],
  209.     "311" : ["311", "00", "Nichrome", "NONE", "Ni4Cr"],
  210.     "312" : ["312", "00", "Kanthal", "NONE", "FeAlCr"],
  211.     "313" : ["313", "00", "Magnalium", "NONE", "MgAl2"],
  212.     "314" : ["314", "00", "SolderingAlloy", "NONE", "Sn9Sb"],
  213.     "315" : ["315", "00", "BatteryAlloy", "NONE", "Pb4Sb"],
  214.     "316" : ["316", "00", "TungstenSteel", "NONE", "Fe50CW"],
  215.     "317" : ["317", "00", "Osmiridium", "NONE", "Ir3Os"],
  216.     "318" : ["318", "00", "Sunnarium", "NONE", "?"],
  217.     "319" : ["319", "00", "Adamantium", "NONE", "?"],
  218.     "320" : ["320", "00", "ElectrumFlux", "NONE", "?"],
  219.     "321" : ["321", "00", "Enderium", "NONE", "?"],
  220.     "322" : ["322", "00", "HSLA", "NONE", "?"],
  221.     "323" : ["323", "00", "InfusedGold", "NONE", "?"],
  222.     "324" : ["324", "00", "Naquadah", "NONE", "Nq"],
  223.     "325" : ["325", "00", "NaquadahAlloy", "NONE", "?"],
  224.     "326" : ["326", "00", "NaquadahEnriched", "NONE", "Nq+"],
  225.     "327" : ["327", "00", "Naquadria", "NONE", "NqX"],
  226.     "328" : ["328", "00", "Duranium", "NONE", "?"],
  227.     "329" : ["329", "00", "Tritanium", "NONE", "?"],
  228.     "330" : ["330", "00", "Thaumium", "NONE", "FeMa"],
  229.     "331" : ["331", "00", "Nithril", "NONE", "Pt2Ma"],
  230.     "332" : ["332", "00", "Midasium", "NONE", "Au2Ma"],
  231.     "333" : ["333", "00", "AstralSilver", "NONE", "Ag2Ma"],
  232.     "334" : ["334", "00", "blackSteel", "NONE", "NiAuAgCu3(Fe50C)3"],
  233.     "335" : ["335", "00", "DamascusSteel", "NONE", "Fe50C"],
  234.     "336" : ["336", "00", "ShadowIron", "NONE", "Fe3Ma"],
  235.     "337" : ["337", "00", "ShadowSteel", "NONE", "(Fe50C)3Ma"],
  236.     "338" : ["338", "00", "IronWood", "NONE", "Fe9((COH)3Ma)9Au"],
  237.     "339" : ["339", "00", "Steeleaf", "NONE", "Fe50CMa"],
  238.     "340" : ["340", "00", "MeteoricIron", "NONE", "?"],
  239.     "341" : ["341", "00", "MeteoricSteel", "NONE", "?"],
  240.     "342" : ["342", "00", "DarkIron", "NONE", "?"],
  241.     "343" : ["343", "00", "CobaltBrass", "NONE", "(ZnCu3)7AlCo"],
  242.     "344" : ["344", "00", "Ultimet", "NONE", "Co5Cr2NiMo"],
  243.     "345" : ["345", "00", "AnnealedCopper", "NONE", "Cu"],
  244.     "346" : ["346", "00", "FierySteel", "NONE", "?"],
  245.     "347" : ["347", "00", "FireStone", "NONE", "?"],
  246.     "348" : ["348", "00", "RedSteel", "NONE", "CuAg4BiZnCu3(Fe50C)2(NiAuAgCu3(Fe50C)3)4"],
  247.     "349" : ["349", "00", "BlueSteel", "NONE", "CuAu4ZnCu3(Fe50C)2(NiAuAgCu3(Fe50C)3)4"],
  248.     "350" : ["350", "00", "SterlingSilver", "NONE", "CuAg4"],
  249.     "351" : ["351", "00", "RoseGold", "NONE", "CuAu4"],
  250.     "352" : ["352", "00", "BlackBronze", "NONE", "AuAgCu3"],
  251.     "353" : ["353", "00", "BismuthBronze", "NONE", "BiZnCu3"],
  252.     "354" : ["354", "00", "IronMagnetic", "NONE", "Fe"],
  253.     "355" : ["355", "00", "SteelMagnetic", "NONE", "Fe50C"],
  254.     "356" : ["356", "00", "NeodymiumMagnetic", "NONE", "Nd"],
  255.     "357" : ["357", "00", "VanadiumGallium", "NONE", "V3Ga"],
  256.     "358" : ["358", "00", "YttriumBariumCuprate", "NONE", "YBa2Cu3O7"],
  257.     "359" : ["359", "00", "NiobiumBitride", "NONE", "NbN"],
  258.     "360" : ["360", "00", "NiobiumTitanium", "NONE", "NbTi"],
  259.     "361" : ["361", "00", "ChromiumDioxide", "NONE", "CrO2"],
  260.     "362" : ["362", "00", "Knightmetal", "NONE", "(Fe50C)2Ma"],
  261.     "363" : ["363", "00", "TinAlloy", "NONE", "SnFe"],
  262.     "364" : ["364", "00", "DarkSteel", "NONE", "?"],
  263.     "370" : ["370", "00", "TungstenCarbide", "NONE", "WC"],
  264.     "371" : ["371", "00", "VanadiumSteel", "NONE", "VCr(Fe50C)7"],
  265.     "372" : ["372", "00", "HSSG", "NONE", "(Fe50CW)5CrMo2V"],
  266.     "373" : ["373", "00", "HSSE", "NONE", "((Fe50CW)5CrMo2V)6CoMnSi"],
  267.     "374" : ["374", "00", "HSSS", "NONE", "((Fe50CW)5CrMo2V)6Ir2Os"],
  268.     "375" : ["375", "00", "Rutile", "NONE", "TiO2"],
  269.     "376" : ["376", "00", "Titaniumtetrachloride", "NONE", "TiCl4"],
  270.     "377" : ["377", "00", "Magnesiumchloride", "NONE", "MgCl2"],
  271.     "460" : ["460", "00", "HydricSulfide", "NONE", "H2S"],
  272.     "470" : ["470", "00", "Epoxid", "NONE", "C2H4O"],
  273.     "471" : ["471", "00", "Silicone", "NONE", "C2H6OSi"],
  274.     "472" : ["472", "00", "Polycaprolactam", "NONE", "C6H11NO"],
  275.     "473" : ["473", "00", "Polytetrafluoroethylene", "NONE", "C2F4"],
  276.     "485" : ["485", "00", "Alduorite", "NONE", "?"],
  277.     "486" : ["486", "00", "Lemurite", "NONE", "?"],
  278.     "487" : ["487", "00", "Meutoite", "NONE", "?"],
  279.     "488" : ["488", "00", "Rubracium", "NONE", "?"],
  280.     "489" : ["489", "00", "Vulcanite", "NONE", "?"],
  281.     "490" : ["490", "00", "Infuscolium", "NONE", "?"],
  282.     "495" : ["495", "00", "LiquidAir", "NONE", "N40O11Ar(CO2)21He9(CH4)3D"],
  283.     "496" : ["496", "00", "NobleGases", "NONE", "(CO2)21He9(CH4)3D"],
  284.     "497" : ["497", "00", "CarbonDioxide", "NONE", "CO2"],
  285.     "500" : ["500", "11", "Diamond", "DIAMOND", "C64"],
  286.     "501" : ["501", "00", "Emerald", "EMERALD", "Be3Al2Si6O18"],
  287.     "502" : ["502", "00", "Ruby", "NONE", "CrAl2O3"],
  288.     "503" : ["503", "00", "Sapphire", "NONE", "Al2O3"],
  289.     "504" : ["504", "00", "GreenSapphire", "NONE", "Al2O3"],
  290.     "505" : ["505", "00", "Olivine", "NONE", "Mg2Fe(SiO2)2"],
  291.     "506" : ["506", "00", "NetherStar", "NONE", "?"],
  292.     "507" : ["507", "00", "Topaz", "NONE", "Al2SiF2H2O6"],
  293.     "508" : ["508", "00", "Tanzanite", "NONE", "Ca2Al3Si3HO13"],
  294.     "509" : ["509", "00", "Amethyst", "NONE", "(SiO2)4Fe"],
  295.     "510" : ["510", "00", "Opal", "NONE", "SiO2"],
  296.     "511" : ["511", "00", "Jasper", "NONE", "Jasper"],
  297.     "512" : ["512", "00", "FoolsRuby", "NONE", "CrAl2O3"],
  298.     "513" : ["513", "00", "BlueTopaz", "NONE", "Al2SiF2H2O6"],
  299.     "514" : ["514", "00", "Amber", "NONE", "?"],
  300.     "515" : ["515", "00", "Dilithium", "NONE", "?"],
  301.     "516" : ["516", "00", "CertusQuartz", "NONE", "Certus Quartz"],
  302.     "518" : ["518", "00", "Forcicium", "NONE", "?"],
  303.     "519" : ["519", "00", "Forcillium", "NONE", "?"],
  304.     "520" : ["520", "00", "Monazite", "NONE", "?PO4"],
  305.     "521" : ["521", "00", "Force", "NONE", "?"],
  306.     "522" : ["522", "00", "NetherQuartz", "NONE", "Nether Quartz"],
  307.     "523" : ["523", "00", "Quartzite", "NONE", "SiO2"],
  308.     "524" : ["524", "00", "Lazurite", "NONE", "Al6Si6Ca8Na8"],
  309.     "525" : ["525", "00", "Sodalite", "NONE", "Al3Si3Na4Cl"],
  310.     "526" : ["526", "00", "Lapis", "NONE", "(Al6Si6Ca8Na8)12(Al3Si3Na4Cl)2FeS2CaCO3"],
  311.     "526*" : ["526*", "00", "Lapis", "NONE", "Lapis"],
  312.     "527" : ["527", "00", "GarnetRed", "NONE", "(Al2Mg3Si3O12)3(Al2Fe3Si3O12)5(Al2Mn3Si3O12)8"],
  313.     "527*" : ["527*", "00", "GarnetRed", "NONE", "Red Garnet"],
  314.     "528" : ["528", "00", "GarnetYellow", "NONE", "(Ca3Fe2Si3O12)5(Ca3Al2Si3O12)8(Ca3Cr2Si3O12)3"],
  315.     "528*" : ["528*", "00", "GarnetYellow", "NONE", "Yellow Garnet"],
  316.     "529" : ["529", "00", "Vinteum", "NONE", "Ma"],
  317.     "530" : ["530", "33", "Apatite", "NONE", "Ca5(PO4)3Cl"],
  318.     "531" : ["531", "00", "Niter", "NONE", "KNO3"],
  319.     "532" : ["532", "00", "EnderPearl", "NONE", "BeK4N5Ma6"],
  320.     "533" : ["533", "00", "EnderEye", "NONE", "BeK4N5Ma6?SMa"],
  321.     "534" : ["534", "33", "Phosphorus", "NONE", "Ca3(PO4)2"],
  322.     "535" : ["535", "33", "Coal", "NONE", "C2"],
  323.     "536" : ["536", "00", "Charcoal", "NONE", "C"],
  324.     "537" : ["537", "00", "Jade", "NONE", "?"],
  325.     "538" : ["538", "33", "Lignite", "LIGNITE", "C3H2O"],
  326.     "540" : ["540", "00", "InfusedAir", "NONE", "?"],
  327.     "541" : ["541", "00", "InfusedFire", "NONE", "?"],
  328.     "542" : ["542", "00", "InfusedEarth", "NONE", "?"],
  329.     "543" : ["543", "00", "InfusedWater", "NONE", "?"],
  330.     "544" : ["544", "00", "InfusedEntropy", "NONE", "?"],
  331.     "545" : ["545", "00", "InfusedOrder", "NONE", "?"],
  332.     "606" : ["606", "00", "DilutedHydrochloricAcid_GT5U", "NONE", "HCl"],
  333.     "607" : ["607", "00", "Pyrochlore", "NONE", "Ca2Nb2O7"],
  334.     "608" : ["608", "00", "GrowthMediumRaw", "NONE", "?"],
  335.     "609" : ["609", "00", "GrowthMediumSterilized", "NONE", "?"],
  336.     "610" : ["610", "00", "EpoxidFiberReinforced", "NONE", "C2H4O"],
  337.     "611" : ["611", "00", "BorosilicateGlass", "NONE", "B(SiO2)7"],
  338.     "612" : ["612", "00", "FerriteMixture", "NONE", "NiZnFe4"],
  339.     "613" : ["613", "00", "NickelZincFerrite", "NONE", "NiZnFe4O8"],
  340.     "614" : ["614", "00", "Massicot", "NONE", "PbO"],
  341.     "615" : ["615", "00", "ArsenicTrioxide", "NONE", "As2O3"],
  342.     "616" : ["616", "00", "CobaltOxide", "NONE", "CoO"],
  343.     "617" : ["617", "00", "Zincite", "NONE", "ZnO"],
  344.     "618" : ["618", "00", "AntimonyTrioxide", "NONE", "Sb2O3"],
  345.     "619" : ["619", "00", "CupricOxide", "NONE", "CuO"],
  346.     "620" : ["620", "00", "Ferrosilite", "NONE", "FeSiO3"],
  347.     "621" : ["621", "00", "Magnesia", "NONE", "MgO"],
  348.     "622" : ["622", "00", "Quicklime", "NONE", "CaO"],
  349.     "623" : ["623", "00", "Potash", "NONE", "K2O"],
  350.     "624" : ["624", "00", "SodaAsh", "NONE", "Na2CO3"],
  351.     "625" : ["625", "00", "Brick", "NONE", "Al4Si3O12"],
  352.     "626" : ["626", "00", "Fireclay", "NONE", "Al4Si3O12"],
  353.     "627" : ["627", "00", "BioDiesel", "NONE", "?"],
  354.     "628" : ["628", "00", "NitrationMixture", "NONE", "?"],
  355.     "629" : ["629", "00", "Glycerol", "NONE", "C3H8O3"],
  356.     "630" : ["630", "00", "SodiumBisulfate", "NONE", "NaHSO4"],
  357.     "631" : ["631", "00", "PolyphenyleneSulfide", "NONE", "C6H4S"],
  358.     "632" : ["632", "00", "Dichlorobenzene", "NONE", "C6H4Cl2"],
  359.     "633" : ["633", "00", "Polydimethylsiloxane", "NONE", "C2H6OSi"],
  360.     "634" : ["634", "00", "RawStyreneButadieneRubber", "NONE", "C8H8(C4H6)3"],
  361.     "635" : ["635", "00", "StyreneButadieneRubber", "NONE", "C8H8(C4H6)3"],
  362.     "636" : ["636", "00", "Polystyrene", "NONE", "C8H8"],
  363.     "637" : ["637", "00", "Styrene", "NONE", "C8H8"],
  364.     "638" : ["638", "00", "Isoprene", "NONE", "C5H8"],
  365.     "639" : ["639", "00", "Tetranitromethane", "NONE", "CN4O8"],
  366.     "640" : ["640", "00", "DilutedSulfuricAcid", "NONE", "H2SO4"],
  367.     "641" : ["641", "00", "Ethenone", "NONE", "C2H2O"],
  368.     "642" : ["642", "00", "Ethane", "NONE", "C2H6"],
  369.     "643" : ["643", "00", "Propane", "NONE", "C3H8"],
  370.     "644" : ["644", "00", "Butane", "NONE", "C4H10"],
  371.     "645" : ["645", "00", "Butene", "NONE", "C4H8"],
  372.     "646" : ["646", "00", "Butadiene", "NONE", "C4H6"],
  373.     "647" : ["647", "00", "Toluene", "NONE", "C7H8"],
  374.     "648" : ["648", "00", "Epichlorohydrin", "NONE", "C3H5ClO"],
  375.     "649" : ["649", "00", "PolyvinylChloride", "NONE", "C2H3Cl"],
  376.     "650" : ["650", "00", "VinylChloride", "NONE", "C2H3Cl"],
  377.     "651" : ["651", "00", "SulfurDioxide", "NONE", "SO2"],
  378.     "652" : ["652", "00", "SulfurTrioxide", "NONE", "SO3"],
  379.     "653" : ["653", "00", "NitricAcid", "NONE", "HNO3"],
  380.     "654" : ["654", "00", "1,1Dimethylhydrazine", "NONE", "C2H8N2"],
  381.     "655" : ["655", "00", "Chloramine", "NONE", "NH2Cl"],
  382.     "656" : ["656", "00", "Dimethylamine", "NONE", "C2H7N"],
  383.     "657" : ["657", "00", "DinitrogenTetroxide", "NONE", "N2O4"],
  384.     "658" : ["658", "00", "NitricOxide", "NONE", "NO"],
  385.     "659" : ["659", "00", "Ammonia", "NONE", "NH3"],
  386.     "660" : ["660", "00", "WoodGas", "NONE", "?"],
  387.     "661" : ["661", "00", "WoodVinegar", "NONE", "?"],
  388.     "662" : ["662", "00", "WoodTar", "NONE", "?"],
  389.     "663" : ["663", "00", "Dimethyldichlorosilane", "NONE", "C2H6Cl2Si"],
  390.     "664" : ["664", "00", "Chloromethane", "NONE", "CH3Cl"],
  391.     "665" : ["665", "00", "PhosphorousPentoxide", "NONE", "P4O10"],
  392.     "666" : ["666", "00", "Tetrafluoroethylene", "NONE", "C2F4"],
  393.     "667" : ["667", "00", "HydrofluoricAcid_GT5U", "NONE", "HF"],
  394.     "668" : ["668", "00", "Chloroform", "NONE", "CHCl3"],
  395.     "669" : ["669", "00", "BisphenolA", "NONE", "C15H16O2"],
  396.     "670" : ["670", "00", "AceticAcid", "NONE", "C2H4O2"],
  397.     "671" : ["671", "00", "CalciumAcetateSolution", "NONE", "CaC2O4H6"],
  398.     "672" : ["672", "00", "Acetone", "NONE", "C3H6O"],
  399.     "673" : ["673", "00", "Methanol", "NONE", "CH4O"],
  400.     "674" : ["674", "00", "CarbonMonoxide", "NONE", "CO"],
  401.     "675" : ["675", "00", "CharcoalByproducts", "NONE", "?"],
  402.     "676" : ["676", "00", "MetalMixture", "NONE", "?"],
  403.     "677" : ["677", "00", "Ethylene", "NONE", "C2H4"],
  404.     "678" : ["678", "00", "Propene", "NONE", "C3H6"],
  405.     "679" : ["679", "00", "VinylAcetate", "NONE", "C4H6O2"],
  406.     "680" : ["680", "00", "PolyvinylAcetate", "NONE", "C4H6O2"],
  407.     "681" : ["681", "00", "MethylAcetate", "NONE", "C3H6O2"],
  408.     "682" : ["682", "00", "AllylChloride", "NONE", "C3H5Cl"],
  409.     "683" : ["683", "00", "HydrochloricAcid_GT5U", "NONE", "HCl"],
  410.     "684" : ["684", "00", "HypochlorousAcid", "NONE", "HClO"],
  411.     "685" : ["685", "00", "SodiumHydroxide_GT5U", "NONE", "NaOH"],
  412.     "686" : ["686", "00", "Benzene", "NONE", "C6H6"],
  413.     "687" : ["687", "00", "Phenol", "NONE", "C6H6O"],
  414.     "688" : ["688", "00", "Cumene", "NONE", "C9H12"],
  415.     "689" : ["689", "00", "PhosphoricAcid_GT5U", "NONE", "H3PO4"],
  416.     "690" : ["690", "00", "Vinegar", "NONE", "?"],
  417.     "691" : ["691", "00", "FermentedBiomass", "NONE", "?"],
  418.     "692" : ["692", "00", "SaltWater", "NONE", "?"],
  419.     "700" : ["700", "00", "Lava", "NONE", "?"],
  420.     "701" : ["701", "00", "Water", "NONE", "H2O"],
  421.     "702" : ["702", "00", "Ice", "NONE", "H2O"],
  422.     "703" : ["703", "00", "UUMatter", "NONE", "?"],
  423.     "704" : ["704", "00", "Biomass", "NONE", "?"],
  424.     "705" : ["705", "00", "BioFuel", "NONE", "?"],
  425.     "706" : ["706", "00", "Ethanol", "NONE", "C2H6O"],
  426.     "707" : ["707", "00", "Oil", "NONE", "?"],
  427.     "708" : ["708", "00", "Fuel", "NONE", "?"],
  428.     "709" : ["709", "00", "NitroFuel", "NONE", "?"],
  429.     "710" : ["710", "00", "CoalFuel", "NONE", "?"],
  430.     "711" : ["711", "00", "FishOil", "NONE", "?"],
  431.     "712" : ["712", "00", "Creosote", "NONE", "?"],
  432.     "713" : ["713", "00", "SeedOil", "NONE", "?"],
  433.     "714" : ["714", "00", "Glyceryl", "NONE", "C3H5N3O9"],
  434.     "715" : ["715", "00", "Methane", "NONE", "CH4"],
  435.     "716" : ["716", "00", "NitroCarbon", "NONE", "NC"],
  436.     "717" : ["717", "00", "NitrogenDioxide", "NONE", "NO2"],
  437.     "718" : ["718", "00", "SodiumPersulfate", "NONE", "Na2S2O8"],
  438.     "719" : ["719", "00", "SodiumSulfide", "NONE", "Na2S"],
  439.     "720" : ["720", "00", "SulfuricAcid", "NONE", "H2SO4"],
  440.     "721" : ["721", "00", "UUAmplifier", "NONE", "?"],
  441.     "722" : ["722", "00", "SeedOilHemp", "NONE", "?"],
  442.     "723" : ["723", "00", "SeedOilLin", "NONE", "?"],
  443.     "724" : ["724", "00", "Lubricant", "NONE", "?"],
  444.     "725" : ["725", "00", "Honey", "NONE", "?"],
  445.     "726" : ["726", "00", "Glue", "NONE", "?"],
  446.     "727" : ["727", "00", "FryingOilHot", "NONE", "?"],
  447.     "728" : ["728", "00", "Snow", "NONE", "H2O"],
  448.     "729" : ["729", "00", "HolyWater", "NONE", "H2O"],
  449.     "730" : ["730", "00", "OilHeavy", "NONE", "?"],
  450.     "731" : ["731", "00", "OilMedium", "NONE", "?"],
  451.     "732" : ["732", "00", "OilLight", "NONE", "?"],
  452.     "733" : ["733", "00", "NatruralGas", "NONE", "?"],
  453.     "734" : ["734", "00", "SulfuricGas", "NONE", "?"],
  454.     "735" : ["735", "00", "Gas", "NONE", "?"],
  455.     "736" : ["736", "00", "SulfuricNaphtha", "NONE", "?"],
  456.     "737" : ["737", "00", "SulfuricLightFuel", "NONE", "?"],
  457.     "738" : ["738", "00", "SulfuricHeavyFuel", "NONE", "?"],
  458.     "739" : ["739", "00", "Naphtha", "NONE", "?"],
  459.     "740" : ["740", "00", "LightFuel", "NONE", "?"],
  460.     "741" : ["741", "00", "HeavyFuel", "NONE", "?"],
  461.     "742" : ["742", "00", "Lpg", "NONE", "?"],
  462.     "770" : ["770", "00", "Endium", "NONE", "?"],
  463.     "800" : ["800", "00", "Gunpowder", "NONE", "?"],
  464.     "801" : ["801", "00", "Blaze", "NONE", "?SMa"],
  465.     "802" : ["802", "00", "Flint", "NONE", "SiO2"],
  466.     "803" : ["803", "00", "Sugar", "NONE", "C12(H2O)11"],
  467.     "804" : ["804", "00", "Obsidian", "NONE", "MgFeSi2O8"],
  468.     "805" : ["805", "00", "Clay", "NONE", "Na2LiAl2Si2(H2O)6"],
  469.     "806" : ["806", "00", "Bone", "NONE", "Ca"],
  470.     "807" : ["807", "00", "Netherrack", "NONE", "Netherrack"],
  471.     "808" : ["808", "00", "Endstone", "NONE", "Endstone"],
  472.     "809" : ["809", "00", "Wood", "NONE", "?"],
  473.     "810" : ["810", "33", "Redstone", "ROUGH", "Si(FeS2)5CrAl2O3Hg3"],
  474.     "811" : ["811", "00", "Glowstone", "NONE", "Glowstone"],
  475.     "812" : ["812", "00", "Nikolite", "NONE", "Nikolite"],
  476.     "813" : ["813", "00", "Bluestone", "NONE", "?"],
  477.     "814" : ["814", "00", "NetherBrick", "NONE", "?"],
  478.     "815" : ["815", "00", "Ash", "NONE", "?"],
  479.     "816" : ["816", "00", "DarkAsh", "NONE", "?"],
  480.     "817" : ["817", "00", "Salt", "NONE", "NaCl"],
  481.     "818" : ["818", "00", "HydratedCoal", "NONE", "C8H2O"],
  482.     "819" : ["819", "00", "Graphene", "NONE", "?"],
  483.     "820" : ["820", "00", "Almandine", "NONE", "Al2Fe3Si3O12"],
  484.     "821" : ["821", "00", "Andradite", "NONE", "Ca3Fe2Si3O12"],
  485.     "822" : ["822", "00", "Bauxite", "NONE", "(TiO2)2Al16H10O11"],
  486.     "823" : ["823", "00", "Calcite", "NONE", "CaCO3"],
  487.     "824" : ["824", "00", "Cassiterite", "NONE", "SnO2"],
  488.     "825" : ["825", "00", "Chromite", "NONE", "FeCr2O4"],
  489.     "826" : ["826", "00", "Cinnabar", "ROUGH", "HgS"],
  490.     "827" : ["827", "00", "Cobaltite", "NONE", "CoAsS"],
  491.     "828" : ["828", "00", "Cooperite", "NONE", "Pt3NiSPd"],
  492.     "829" : ["829", "00", "DeepIron", "NONE", "Fe"],
  493.     "830" : ["830", "00", "Galena", "NONE", "Pb3Ag3S2"],
  494.     "831" : ["831", "00", "Grossular", "NONE", "Ca3Al2Si3O12"],
  495.     "832" : ["832", "00", "LiveRoot", "NONE", "?"],
  496.     "833" : ["833", "00", "Phosphate", "NONE", "PO4"],
  497.     "834" : ["834", "00", "Pyrite", "NONE", "FeS2"],
  498.     "835" : ["835", "00", "Pyrope", "NONE", "Al2Mg3Si3O12"],
  499.     "836" : ["836", "00", "Saltpeter", "NONE", "KNO3"],
  500.     "837" : ["837", "00", "SiliconDioxide", "NONE", "SiO2"],
  501.     "838" : ["838", "00", "Spessartine", "NONE", "Al2Mn3Si3O12"],
  502.     "839" : ["839", "00", "Sphalerite", "NONE", "ZnS"],
  503.     "840" : ["840", "00", "Tetrahedrite", "NONE", "Cu3SbS3Fe"],
  504.     "841" : ["841", "00", "Tungstate", "NONE", "WLi2O4"],
  505.     "842" : ["842", "00", "Uvarovite", "NONE", "Ca3Cr2Si3O12"],
  506.     "843" : ["843", "00", "Pyrotheum", "NONE", "CSi(FeS2)5CrAl2O3Hg3?SMa"],
  507.     "844" : ["844", "00", "Basalt", "NONE", "Mg2Fe(SiO2)2(CaCO3)3(SiO2)8?4"],
  508.     "845" : ["845", "00", "Marble", "NONE", "Mg(CaCO3)7"],
  509.     "846" : ["846", "00", "Redrock", "NONE", "(CaCO3)2SiO2Na2LiAl2Si2(H2O)6"],
  510.     "847" : ["847", "00", "RotassiumFeldspar", "NONE", "KAlSi3O8"],
  511.     "848" : ["848", "00", "Biotite", "NONE", "KMg3Al3F2Si3O10"],
  512.     "849" : ["849", "00", "GraniteBlack", "NONE", "(SiO2)4KMg3Al3F2Si3O10"],
  513.     "850" : ["850", "00", "GraniteRed", "NONE", "Al2KAlSi3O8O3"],
  514.     "851" : ["851", "00", "Blizz", "NONE", "?"],
  515.     "852" : ["852", "00", "Blueschist", "NONE", "?"],
  516.     "853" : ["853", "00", "CobaltHexahydrate", "NONE", "?"],
  517.     "854" : ["854", "00", "ConstructionFoam", "NONE", "?"],
  518.     "855" : ["855", "00", "Chalcopyrite", "NONE", "CuFeS2"],
  519.     "857" : ["857", "00", "Chert", "NONE", "?"],
  520.     "858" : ["858", "00", "CrudeOil", "NONE", "?"],
  521.     "859" : ["859", "00", "Dacite", "NONE", "?"],
  522.     "860" : ["860", "00", "Eclogite", "NONE", "?"],
  523.     "861" : ["861", "00", "Emery", "NONE", "?"],
  524.     "862" : ["862", "00", "Epidote", "NONE", "?"],
  525.     "863" : ["863", "00", "Gabbro", "NONE", "?"],
  526.     "864" : ["864", "00", "Gneiss", "NONE", "?"],
  527.     "865" : ["865", "00", "Graphite", "NONE", "C4"],
  528.     "866" : ["866", "00", "Greenschist", "NONE", "?"],
  529.     "867" : ["867", "00", "Greenstone", "NONE", "?"],
  530.     "868" : ["868", "00", "Greywacke", "NONE", "?"],
  531.     "869" : ["869", "00", "Komatiite", "NONE", "?"],
  532.     "870" : ["870", "00", "Magnetite", "NONE", "Fe3O4"],
  533.     "871" : ["871", "00", "Malachite", "NONE", "Cu2CH2O5"],
  534.     "873" : ["873", "00", "Pitchblende", "NONE", "(UO2)3ThPb"],
  535.     "872" : ["872", "00", "Migmatite", "NONE", "?"],
  536.     "874" : ["874", "00", "Plastic", "NONE", "CH2"],
  537.     "875" : ["875", "00", "Rhyolite", "NONE", "?"],
  538.     "876" : ["876", "00", "Siltstone", "NONE", "?"],
  539.     "877" : ["877", "00", "Soapstone", "NONE", "Mg3Si4H2O12"],
  540.     "878" : ["878", "00", "Oilsands", "NONE", "?"],
  541.     "879" : ["879", "00", "Paper", "NONE", "?"],
  542.     "880" : ["880", "00", "Rubber", "NONE", "C5H8"],
  543.     "881" : ["881", "00", "Wheat", "NONE", "?"],
  544.     "882" : ["882", "00", "Wulfenite", "NONE", "PbMoO4"],
  545.     "883" : ["883", "00", "Powellite", "NONE", "CaMoO4"],
  546.     "884" : ["884", "00", "Desh", "NONE", "?"],
  547.     "885" : ["885", "00", "Milk", "NONE", "?"],
  548.     "886" : ["886", "00", "Chocolate", "NONE", "?"],
  549.     "887" : ["887", "00", "Cocoa", "NONE", "?"],
  550.     "888" : ["888", "00", "Coffee", "NONE", "?"],
  551.     "889" : ["889", "00", "WoodSealed", "NONE", "?"],
  552.     "890" : ["890", "00", "Glass", "NONE", "SiO2"],
  553.     "891" : ["891", "00", "RareEarth", "NONE", "Rare Earth"],
  554.     "892" : ["892", "00", "MeatRaw", "NONE", "?"],
  555.     "893" : ["893", "00", "MeatCooked", "NONE", "?"],
  556.     "894" : ["894", "00", "Cheese", "NONE", "?"],
  557.     "895" : ["895", "00", "Chili", "NONE", "?"],
  558.     "896" : ["896", "00", "RawRubber", "NONE", "C5H8"],
  559.     "900" : ["900", "00", "Mirabilite", "NONE", "Na2S(H2O)10O4"],
  560.     "901" : ["901", "00", "Mica", "NONE", "KAl3Si3F2O10"],
  561.     "902" : ["902", "00", "Talc", "NONE", "Mg3Si4H2O12"],
  562.     "903" : ["903", "00", "Trona", "NONE", "Na3C2H(H2O)2O6"],
  563.     "904" : ["904", "00", "Barite", "NONE", "BaSO4"],
  564.     "905" : ["905", "00", "Bastnasite", "NONE", "CeCFO3"],
  565.     "906" : ["906", "00", "Garnierite", "NONE", "NiO"],
  566.     "907" : ["907", "00", "Lepidolite", "NONE", "KLi3Al4F2O10"],
  567.     "908" : ["908", "00", "Magnesite", "NONE", "MgCO3"],
  568.     "909" : ["909", "00", "Pentlandite", "NONE", "Ni9S8"],
  569.     "910" : ["910", "00", "Scheelite", "NONE", "WCa2O4"],
  570.     "911" : ["911", "00", "Alunite", "NONE", "KAl3Si2H6O14"],
  571.     "912" : ["912", "00", "Chrysotile", "NONE", "Mg3Si2H4O9"],
  572.     "913" : ["913", "00", "Realgar", "NONE", "As4S4"],
  573.     "914" : ["914", "00", "Dolomite", "NONE", "CaMgC2O6"],
  574.     "915" : ["915", "00", "Wollastonite", "NONE", "CaSiO3"],
  575.     "916" : ["916", "00", "Zeolite", "NONE", "NaCa4Si27Al9(H2O)28O72"],
  576.     "917" : ["917", "00", "BandedRron", "NONE", "Fe2O3"],
  577.     "918" : ["918", "00", "Ilmenite", "NONE", "FeTiO3"],
  578.     "919" : ["919", "00", "Pollucite", "NONE", "Cs2Al2Si4(H2O)2O12"],
  579.     "920" : ["920", "00", "Spodumene", "NONE", "LiAlSi2O6"],
  580.     "921" : ["921", "00", "Tantalite", "NONE", "MnTa2O6"],
  581.     "922" : ["922", "00", "Uraninite", "NONE", "UO2"],
  582.     "923" : ["923", "00", "VanadiumMagnetite", "NONE", "Fe3O4V"],
  583.     "924" : ["924", "00", "Kyanite", "NONE", "Al2SiO5"],
  584.     "925" : ["925", "00", "Perlite", "NONE", "(MgFeSi2O8)2H2O"],
  585.     "926" : ["926", "00", "Pumice", "NONE", "?"],
  586.     "927" : ["927", "00", "Bentonite", "NONE", "NaMg6Si12H6(H2O)5O36"],
  587.     "928" : ["928", "00", "FullersEarth", "NONE", "MgSi4H(H2O)4O11"],
  588.     "929" : ["929", "00", "Kaolinite", "NONE", "Al2Si2H4O9"],
  589.     "930" : ["930", "00", "BrownLimonite", "NONE", "FeHO2"],
  590.     "931" : ["931", "00", "YellowLimonite", "NONE", "FeHO2"],
  591.     "932" : ["932", "00", "Vermiculite", "NONE", "Fe3Al4Si4H2(H2O)4O12"],
  592.     "933" : ["933", "00", "Glauconite", "NONE", "KMg2Al4H2O12"],
  593.     "934" : ["934", "00", "Gypsum", "NONE", "CaS(H2O)2O4"],
  594.     "935" : ["935", "00", "BasalticMineralSand", "NONE", "Fe3O4Mg2Fe(SiO2)2(CaCO3)3(SiO2)8?4"],
  595.     "936" : ["936", "00", "GraniticMineralSand", "NONE", "Fe3O4(SiO2)4KMg3Al3F2Si3O10"],
  596.     "937" : ["937", "00", "CassiteriteSand", "NONE", "SnO2"],
  597.     "938" : ["938", "00", "GarnetSand", "NONE", "(Al2Mg3Si3O12)3(Al2Fe3Si3O12)5(Al2Mn3Si3O12)8(Ca3Fe2Si3O12)5(Ca3Al2Si3O12)8(Ca3Cr2Si3O12)3"],
  598.     "939" : ["939", "00", "QuartzSand", "NONE", "?SiO2"],
  599.     "940" : ["940", "00", "VolcanicAsh", "NONE", "(SiO2)6FeMg"],
  600.     "941" : ["941", "00", "Borax", "NONE", "Na2B4O7(H2O)10"],
  601.     "942" : ["942", "00", "Molybdenite", "NONE", "MoS2"],
  602.     "943" : ["943", "00", "Pyrolusite", "NONE", "MnO2"],
  603.     "944" : ["944", "00", "RockSalt", "NONE", "KCl"],
  604.     "945" : ["945", "00", "Stibnite", "NONE", "Sb2S3"],
  605.     "946" : ["946", "00", "Asbestos", "NONE", "Mg3Si2H4O9"],
  606.     "947" : ["947", "00", "Concrete", "NONE", "?"],
  607.     "948" : ["948", "00", "Diatomite", "NONE", "(SiO2)8Fe2O3Al2O3"],
  608.     "949" : ["949", "00", "GlauconiteSand", "NONE", "KMg2Al4H2O12"],
  609.     "950" : ["950", "00", "Ignatius", "NONE", "?"],
  610.     "951" : ["951", "00", "Vyroxeres", "NONE", "?"],
  611.     "952" : ["952", "00", "Ceruclase", "NONE", "?"],
  612.     "953" : ["953", "00", "Kalendrite", "NONE", "?"],
  613.     "954" : ["954", "00", "Inolashite", "NONE", "?"],
  614.     "955" : ["955", "00", "Sanguinite", "NONE", "?"],
  615.     "956" : ["956", "00", "Tartarite", "NONE", "?"],
  616.     "957" : ["957", "00", "Hepatizon", "NONE", "?"],
  617.     "958" : ["958", "00", "Angmallen", "NONE", "?"],
  618.     "959" : ["959", "00", "Eximite", "NONE", "?"],
  619.     "960" : ["960", "00", "Prometheum", "NONE", "?"],
  620.     "961" : ["961", "00", "Oureclase", "NONE", "?"],
  621.     "962" : ["962", "00", "Carmot", "NONE", "?"],
  622.     "963" : ["963", "00", "Haderoth", "NONE", "?"],
  623.     "964" : ["964", "00", "Celenegil", "NONE", "?"],
  624.     "965" : ["965", "00", "Atlarus", "NONE", "?"],
  625.     "966" : ["966", "00", "Orichalcum", "NONE", "?"],
  626.     "980" : ["980", "00", "GalliumArsenide", "NONE", "AsGa"],
  627.     "981" : ["981", "00", "IndiumGalliumPhosphide", "NONE", "InGaP"],
  628.     "999" : ["999", "00", "McGuffium239", "NONE", "?"],
  629. } as string[][string];
  630.  
  631. val Fluid = {
  632. // ID : FLUID/GAS/PLASMA
  633.     "001" : <liquid:hydrogen>,
  634.     "006" : <liquid:molten.lithium>,
  635.  
  636. } as ILiquidStack[string];
  637.  
  638. val Ores = [
  639. // ID, [BYPRODUCTS:Ore/Crushed/Purified/Centrifuged/Impure/Pure], [PROCESSING:Output/Chance], PULVERIZED, BYPRODUCT
  640.     ["006", "006/006/006/006/006", "2/10", "dustLithium", "dust"], // Lithium
  641.     ["008", "501/501/501/501/501", "2/10", "dustBeryllium", "dust"], // Beryllium
  642.     ["019", "822/822/822/822/822", "2/10", "dustAluminium", "dust"], // Aluminium
  643.     ["022", "022/022/022/022/022", "2/10", "dustSulfur", "dust"], // Sulfur
  644.         ["028", "820/820/820/820/820", "2/10", "dustTitanium", "dust"], // Titanium
  645.         ["031", "030-032/032/032/030/032", "2/10", "dustManganese", "dust"], // Manganese
  646.     ["032", "034-057/057/057/034/057", "2/10", "dustIron", "dust"], // Iron
  647.     ["034", "033-085-032-034/085/032/033/085-032", "2/10", "dustNickel", "dust"], // Nickel
  648.     ["035", "033-086-034-035/086/034/033/086", "2/10", "dustCopper", "dust"], // Copper
  649.         ["036", "057-037-036/037/037/057/037", "2/10", "dustZinc", "dust"], // Zinc
  650.     ["048", "048/048/048/048/048", "2/10", "dustMolybdenum", "dust"], // Molybdenum
  651.     ["052", "052/052/052/052/052", "2/10", "dustPalladium", "dust"], // Palladium
  652.     ["054", "089-022-054/022/022/089/022", "2/10", "dustSilver", "dust"], // Silver
  653.     ["057", "032-036/036/036/032/036-032", "2/10", "dustTin", "dust"], // Tin
  654.     ["067", "520-891/891/891/520/891", "2/10", "dustNeodymium", "dust"], // Neodymium
  655.         ["083", "084-083/084/084/084/084", "2/10", "dustOsmium", "dust"], // Osmium
  656.     ["084", "085-083/083/083/085/083", "2/10", "dustIridium", "dust"], // Iridium
  657.     ["085", "034-084-085/084/084/034/084", "2/10", "dustPlatinum", "dust"], // Platinum
  658.     ["086", "035-034/034/034/035/034", "2/10", "dustGold", "dust"], // Gold
  659.     ["089", "054-022/022/022/054/022", "2/10", "dustLead", "dust"], // Lead
  660.         ["090", "090/090/090/090/090", "2/10", "dustBismuth", "dust"], // Bismuth
  661.     ["096", "098-089/089/089/098/089", "2/10", "dustThorium", "dust"], // Thorium
  662.         ["097", "097-100/097/097/097/097", "2/10", "dustUranium235", "dust"], // Uranium 235
  663.     ["098", "089-097/097/096/089/097", "2/10", "dustUranium", "dust"], // Uranium 238
  664.         ["100", "098-089/089/089/098/089", "2/10", "dust", "dust"], // Plutonium
  665.     // ["323", "000/000/000/000/000", "2/10", "dust", "dust"], // Infused Gold
  666.     ["324", "326/326/326/326/326", "2/10", "dustNaquadah", "dust"], // Naquadah
  667.     ["326", "324-327/327/327/324/327", "2/10", "dustNaquadahEnriched", "dust"], // Enriched Naquadah
  668.     // ["332", "000/000/000/000/000", "2/10", "dustMidasium", "dust"], // Midasium
  669.     // ["333", "000/000/000/000/000", "2/10", "dustAstralSilver", "dust"], // Astral Silver
  670.     // ["336", "000/000/000/000/000", "2/10", "dustShadowiron", "dust"], // Shadowiron
  671.     // ["340", "000/000/000/000/000", "2/10", "dust", "dust"], //
  672.     // ["347", "000/000/000/000/000", "2/10", "dust", "dust"], //
  673.     // ["364", "000/000/000/000/000", "2/10", "dust", "dust"], //
  674.     // ["487", "000/000/000/000/000", "2/10", "dust", "dust"], //
  675.     // ["488", "000/000/000/000/000", "2/10", "dust", "dust"], //
  676.     // ["489", "000/000/000/000/000", "2/10", "dust", "dust"], //
  677.     // ["490", "000/000/000/000/000", "2/10", "dust", "dust"], //
  678.     ["500", "865/865/865/865/865", "2/10", "gemDiamond", "dust"], // Diamond
  679.     ["501", "008-019/019/019/008/019", "2/10", "gemEmerald", "dust"], // Emerald
  680.     ["502", "030-527*/527*/527*/030/527*", "2/10", "gemRuby", "dust"], // Ruby
  681.     ["503", "019-504/504/504/019/504", "2/10", "gemSapphire", "dust"], // Sapphire
  682.     ["504", "019-503/503/503/019/503", "2/10", "gemGreenSapphire", "dust"], // Green Sapphire
  683.     ["505", "835-018/018/018/835/018", "2/10", "gemOlivine", "dust"], // Olivine
  684.     // ["507", "000/000/000/000/000", "2/10", "gemTopaz", "dust"], // Topaz
  685.     // ["508", "000/000/000/000/000", "2/10", "gemTanzanite", "dust"], // Tanzanite
  686.     // ["509", "000/000/000/000/000", "2/10", "gemAmethyst", "dust"], // Amethyst
  687.     // ["510", "000/000/000/000/000", "2/10", "gemOpal", "dust"], // Opal
  688.     ["512", "511/511/511/511/511", "2/10", "gemFoolsRuby", "dust"], // Fools Ruby
  689.     // ["513", "000/000/000/000/000", "2/10", "gemBlueTopaz", "dust"], // Blue Topaz
  690.     // ["514", "000/000/000/000/000", "4/10", "gemAmber", "dust"], // Amber
  691.     ["516", "523/904/904/523/904", "4/10", "gemCertusQuartz", "dust"], // Certus Quartz
  692.     ["520", "096-067-891/067/891/096/067", "16/20", "gemMonazite", "dust"], // Monazite
  693.     // ["521", "000/000/000/000/000", "2/10", "dust", "dust"], // Force
  694.     ["522", "807/807/807/807/807", "4/10", "gemNetherQuartz", "dust"], // Nether Quartz
  695.     ["523", "516-904/904/904/516/904", "2/10", "gemQuartzite", "dust"], // Quartzite
  696.     ["524", "525-526*/526*/526*/525/526*", "12/40", "gemLazurite", "dust"], // Lazurite
  697.     ["525", "524-526*/526*/526*/524/526*", "12/40", "gemSodalite", "dust"], // Sodalite
  698.     ["526", "524-525-834/525/834/524/525", "12/40", "gemLapis", "dust"], // Lapis
  699.     // ["527", "000/000/000/000/000", "2/10", "dust", "dust"], // Red Garnet
  700.     // ["528", "000/000/000/000/000", "2/10", "dust", "dust"], // Yellow Garnet
  701.     // ["529", "000/000/000/000/000", "2/10", "dust", "dust"], // Vinteum
  702.     ["530", "534-833-607/833/607/534/833", "8/20", "gemApatite", "gem"], // Apatite
  703.     ["534", "530-833-607/833/607/530/833", "6/10", "gemPhosphorus", "gem"], // Phosphorus
  704.     ["535", "538-096/096/096/538/096", "2/10", "gemCoal", "gem"], // Coal
  705.     ["538", "535/535/535/535/535", "2/10", "gemLignite", "gem"], // Lignite
  706.     ["607", "530-823-047/823/047/530/823", "2/10", "dustPyrochlore", "dust"], // Pyrochlore
  707.     ["810", "826-891-811/891/811/826/891", "10/10", "dustRedstone", "gem"], // Redstone
  708. /*
  709.     ["817", "000/000/000/000/000", "2/10", "ingot", "dust"], // Salt
  710.     ["820", "000/000/000/000/000", "2/10", "ingot", "dust"], // Almandine
  711.     ["822", "000/000/000/000/000", "2/10", "ingot", "dust"], // Bauxite
  712.     ["823", "000/000/000/000/000", "2/10", "ingot", "dust"], // Calcite
  713.     ["824", "000/000/000/000/000", "2/10", "ingot", "dust"], // Cassiterite
  714.     ["825", "000/000/000/000/000", "2/10", "ingot", "dust"], // Chromite
  715.     ["826", "000/000/000/000/000", "2/10", "ingot", "dust"], // Cinnabar
  716.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  717.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  718.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  719.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  720.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  721.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  722.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  723.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  724.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  725.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
  726.     ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], // dust*/
  727. ] as string[][];
  728.  
  729.  
  730. #====================================================#
  731. # UTILITIES
  732.  
  733. function getItemStack(id as string, material as string) as IItemStack {
  734.     val arr = [id, material] as string[];
  735.     return Utils.getItemStackFromString(Utils.concat(arr));
  736. }
  737.  
  738. function getOreDictEntry(type as string, material as string) as IOreDictEntry {
  739.     val arr = [type, material] as string[];
  740.     return Utils.getOreDictEntryFromString(Utils.concat(arr));
  741. }
  742.  
  743. function getItem(entry as IOreDictEntry) as IItemStack {
  744.     for item in entry.items {return item;}
  745.     return null;
  746. }
  747.  
  748. function getByproductsTip(Material as string[][string], Byproducts as string) as IFormattedText
  749. {
  750.     val FORMULA = 4 as byte;
  751.     var result = format.darkGray("Byproducts:") + format.gray(" ") as IFormattedText;
  752.     var splitter = "" as string;
  753.  
  754.     val ByproductsArr = Utils.split(Byproducts, "-") as string[];
  755.     for ID in ByproductsArr {
  756.         val strarr = [splitter, Material[ID][FORMULA]] as string[];
  757.         result += Utils.StringToFormattedText(Utils.concat(strarr));
  758.         splitter = ", ";
  759.     }
  760.     return result;
  761. }
  762.  
  763. function hasTag(BITMASK as string, TAG as int) as int
  764. {
  765.     val MASK = Utils.StringToInt(BITMASK) as int;
  766.     return MASK & TAG;
  767. }
  768.  
  769.  
  770. #====================================================#
  771. # FUNCTIONS
  772.  
  773. function AddOre(Material as string[][string], Type as string[][string], Settings as string[string],
  774.     ID as string, byproducts as string, outputs as string, pulverized as string, byproduct_type as string)
  775. {
  776.     val PREFIX = 0 as byte;
  777.     val SUBTAGS = 1 as byte;
  778.     val OREDICT = 2 as byte;
  779.     val TYPE    = 3 as byte;
  780.     val FORMULA = 4 as byte;
  781.  
  782.     val BP_ORE_CRUSHED = 0 as byte;
  783.     val BP_PURIFIED = 1 as byte;
  784.     val BP_CENTRIFUGED = 2 as byte;
  785.     val BP_CRUSHED_IMPURE = 3 as byte;
  786.     val BP_PURE_DUST = 4 as byte;
  787.  
  788.     val UNKNOWN = 0 as int;
  789.     val HAS_ORE = 1 as int;
  790.     val SMELTING = 2 as int;
  791.     val SMELTING_TO_INGOT = 4 as int;
  792.     val SMELTING_TO_GEM = 8 as int;
  793.     val SMELTING_TO_FLUID = 16 as int;
  794.     val PULVERIZED = 32 as int;
  795.  
  796.     val OreCrushed = getItemStack("gregtech:gt.metaitem.01:05", ID) as IItemStack;
  797.     val OrePurified = getItemStack("gregtech:gt.metaitem.01:06", ID) as IItemStack;
  798.     val OreCentrifuged = getItemStack("gregtech:gt.metaitem.01:07", ID) as IItemStack;
  799.     val DustImpure = getItemStack("gregtech:gt.metaitem.01:03", ID) as IItemStack;
  800.     val DustPure = getItemStack("gregtech:gt.metaitem.01:04", ID) as IItemStack;
  801.     val Dust = getOreDictEntry("dust", Material[ID][OREDICT]) as IOreDictEntry;
  802.     val Ingot = getOreDictEntry("ingot", Material[ID][OREDICT]) as IOreDictEntry;
  803.     val Gem = getOreDictEntry("gem", Material[ID][OREDICT]) as IOreDictEntry;
  804.  
  805.     val Byproduct = Utils.split(byproducts, "/") as string[];
  806.     val Output = Utils.split(outputs, "/") as string[];
  807.     val Count = Utils.StringToInt(Output[0]) as int;
  808.     val Chance = Utils.StringToInt(Output[1]) as int;
  809.    
  810.     val OrePrefix = ["ore", "oreNetherrack", "oreEndstone", "oreBlackgranite", "oreRedgranite", "oreBasalt", "oreMarble"] as string[];
  811.     val OreTip1 = format.darkGray("Product: ") + format.gray(Material[ID][FORMULA]) + format.darkGray(" x " + Count) as IFormattedText;
  812.     val OreTip2 = getByproductsTip(Material, Byproduct[BP_ORE_CRUSHED]) as IFormattedText;
  813.  
  814.     for Prefix in OrePrefix {
  815.         val Ore = getOreDictEntry(Prefix, Material[ID][OREDICT]) as IOreDictEntry;
  816.         Ore.addTooltip(OreTip1);
  817.         Ore.addTooltip(OreTip2);
  818.         // Ore.addTooltip(format.blue("Mining Level: ") + format.blue("Redstone"));
  819.         // Ore.addTooltip("");
  820.     }
  821.  
  822.     OreCrushed.addTooltip(getByproductsTip(Material, Byproduct[BP_ORE_CRUSHED]));
  823.     OrePurified.addTooltip(getByproductsTip(Material, Byproduct[BP_PURIFIED]));
  824.     OreCentrifuged.addTooltip(getByproductsTip(Material, Byproduct[BP_CENTRIFUGED]));
  825.     DustImpure.addTooltip(getByproductsTip(Material, Byproduct[BP_CRUSHED_IMPURE]));
  826.     DustPure.addTooltip(getByproductsTip(Material, Byproduct[BP_PURE_DUST]));
  827.  
  828.     // Ore = Crushed = Impure, Purified = Pure
  829.    
  830.     val Ore = getOreDictEntry("ore", Material[ID][OREDICT]) as IOreDictEntry;
  831.     var SmeltedOre = getItem(Ingot) as IItemStack;
  832.     val PulverizedOre = getOreDictEntry(pulverized, "") as IOreDictEntry;
  833.  
  834.     val Secondary = getOreDictEntry(byproduct_type, // Type[Material[Byproduct[BP_CRUSHED_IMPURE]][TYPE]][PREFIX],
  835.         Material[Byproduct[BP_CRUSHED_IMPURE]][OREDICT]) as IOreDictEntry;
  836.     val SecondaryCrushedImpure = getOreDictEntry("dust", Material[Byproduct[BP_CRUSHED_IMPURE]][OREDICT]) as IOreDictEntry;
  837.     val SecondaryPurified = getOreDictEntry("dust", Material[Byproduct[BP_PURIFIED]][OREDICT]) as IOreDictEntry;
  838.     val SecondaryPureTiny = getOreDictEntry("dustTiny", Material[Byproduct[BP_PURIFIED]][OREDICT]) as IOreDictEntry;
  839.     val SecondaryCentrifuged = getOreDictEntry("dust", Material[Byproduct[BP_CENTRIFUGED]][OREDICT]) as IOreDictEntry;
  840.     val SecondaryImpureTiny = getOreDictEntry("dustTiny", Material[Byproduct[BP_CRUSHED_IMPURE]][OREDICT]) as IOreDictEntry;
  841.  
  842.     // Furnace
  843.     // Redstone Furnace
  844.     // Blast Furnace
  845.     // Tinker's Constructs
  846.  
  847.     // Induction Smelter
  848.  
  849.     if hasTag(Material[ID][SUBTAGS], SMELTING) == SMELTING
  850.     {
  851.         if hasTag(Material[ID][SUBTAGS], SMELTING_TO_INGOT) == SMELTING_TO_INGOT {
  852.             Smelter.addRecipe(Settings["Smelter.RFPerCrushedOre"], OreCrushed, <minecraft:sand>,
  853.                 SmeltedOre, getItem(<ore:itemSlag>), 10);
  854.             Smelter.addRecipe(Settings["Smelter.RFPerCrushedOre"], OreCrushed, getItem(<ore:itemSlag>),
  855.                 SmeltedOre, getItem(<ore:itemRichSlag>), 10);
  856.         }
  857.  
  858.         if hasTag(Material[ID][SUBTAGS], SMELTING_TO_GEM) == SMELTING_TO_GEM
  859.             SmeltedOre = getItem(Gem);
  860.  
  861.         Smelter.addRecipe(Settings["Smelter.RFPerOre"], getItem(Ore), <minecraft:sand> * 2,
  862.             SmeltedOre * 2, getItem(<ore:itemSlag>), 20);
  863.         Smelter.addRecipe(Settings["Smelter.RFPerOre"], getItem(Ore), getItem(<ore:itemSlag>),
  864.             SmeltedOre * 2, SmeltedOre, 50);
  865.         Smelter.addRecipe(Settings["Smelter.RFPerOre"], getItem(Ore), getItem(<ore:itemRichSlag>),
  866.             SmeltedOre * 3, null, 0);
  867.     }
  868.  
  869.     // Pulverizer
  870.  
  871.     if hasTag(Material[ID][SUBTAGS], PULVERIZED) == PULVERIZED
  872.     {
  873.         Pulverizer.addRecipe(Settings["Pulverizer.RFPerOre"], getItem(Ore),
  874.             getItem(PulverizedOre) * Count, getItem(Secondary), Chance);
  875.         Pulverizer.addRecipe(Settings["Pulverizer.RFPerCrushedOre"], OreCrushed,
  876.             DustImpure, getItem(SecondaryCrushedImpure), 10);
  877.         Pulverizer.addRecipe(Settings["Pulverizer.RFPerPurifiedOre"], OrePurified,
  878.             DustPure, getItem(SecondaryPurified), 10);
  879.         Pulverizer.addRecipe(Settings["Pulverizer.RFPerCentrifugedOre"], OreCentrifuged,
  880.             getItem(Dust), getItem(SecondaryCentrifuged), 10);
  881.  
  882.         Centrifuge.addRecipe([getItem(SecondaryImpureTiny), getItem(Dust)], DustImpure, 600);
  883.         Centrifuge.addRecipe([getItem(SecondaryPureTiny), getItem(Dust)], DustPure, 600);
  884. /*
  885.         Pulverizer.addRecipe(Settings["Pulverizer.RFPerImpureDust"], DustImpure,
  886.             getItem(Dust), getItem(SecondaryCrushedImpure), 10);
  887.         Pulverizer.addRecipe(Settings["Pulverizer.RFPerPureDust"], DustPure,
  888.             getItem(Dust), getItem(SecondaryPurified), 10);
  889. */
  890.     }
  891.  
  892.     // Rock Crusher
  893.     // Crusher
  894. }
  895.  
  896.  
  897. function Initialize(Material as string[][string], Type as string[][string], Settings as string[string], Ores as string[][])
  898. {
  899.     val ID      = 0 as byte;
  900.     val SUBTAGS = 1 as byte;
  901.     val OREDICT = 2 as byte;
  902.     val TYPE    = 3 as byte;
  903.     val FORMULA = 4 as byte;
  904.     val BYPRODUCTS = 1 as byte;
  905.     val OUTPUTS = 2 as byte;
  906.     val PULVERIZED_ORE = 3 as byte;
  907.     val BYPRODUCTS_TYPE = 4 as byte;
  908.  
  909.     val UNKNOWN = 0 as int;
  910.     val HAS_ORE = 1 as int;
  911.     val SMELTING = 2 as int;
  912.     val SMELTING_TO_INGOT = 4 as int;
  913.     val SMELTING_TO_GEM = 8 as int;
  914.     val SMELTING_TO_FLUID = 16 as int;
  915.     val PULVERIZED = 32 as int;
  916.  
  917.     for Ore in Ores {
  918.         AddOre(Material, Type, Settings, Ore[ID], Ore[BYPRODUCTS], Ore[OUTPUTS], Ore[PULVERIZED_ORE], Ore[BYPRODUCTS_TYPE]);
  919.     }
  920. }
  921.  
  922.  
  923. #====================================================#
  924. # GENERAL
  925.  
  926. Initialize(Material, Type, Settings, Ores);
  927.  
  928.  
  929. // by EverybodyLies, June 2019
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement