Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #================================#
- # GregTech 5 Recipes - Materials #
- #================================#
- import minetweaker.item.IItemStack;
- import minetweaker.item.IIngredient;
- import minetweaker.liquid.ILiquidStack;
- import minetweaker.oredict.IOreDictEntry;
- import minetweaker.formatting.IFormattedText;
- import mods.MTUtils.Utils; // Credits to LionZXY
- import mods.thermalexpansion.Furnace;
- import mods.thermalexpansion.Smelter;
- import mods.thermalexpansion.Pulverizer;
- import mods.forestry.Centrifuge;
- #====================================================#
- # SETTINGS
- val Settings = {
- "Smeltery.mbPerOre": "288",
- "Smeltery.mbPerCrushedOre": "160",
- "Smeltery.mbPerCentrifugedOre": "144",
- "Smeltery.mbPerPurifiedOre": "144",
- "Smeltery.mbPerImpureDust": "144",
- "Smeltery.mbPerPureDust": "144",
- "Smeltery.mbPerDust": "144",
- "Furnace.RFPerOre": "2000",
- "Furnace.RFPerCrushedOre": "2000",
- "Furnace.RFPerCentrifugedOre": "2000",
- "Furnace.RFPerPurifiedOre": "2000",
- "Furnace.RFPerImpureDust": "2000",
- "Furnace.RFPerPureDust": "2000",
- "Furnace.RFPerDust": "2000",
- "Smelter.RFPerOre": "12000",
- "Smelter.RFPerCrushedOre": "12000",
- "Smelter.RFPerCentrifugedOre": "12000",
- "Smelter.RFPerPurifiedOre": "12000",
- "Smelter.RFPerImpureDust": "12000",
- "Smelter.RFPerPureDust": "12000",
- "Smelter.RFPerDust": "12000",
- "Pulverizer.RFPerOre": "4000",
- "Pulverizer.RFPerCrushedOre": "4000",
- "Pulverizer.RFPerCentrifugedOre": "4000",
- "Pulverizer.RFPerPurifiedOre": "4000",
- "Pulverizer.RFPerImpureDust": "4000",
- "Pulverizer.RFPerPureDust": "4000",
- } as string[string];
- #====================================================#
- # VARIABLES
- val Type = {
- // KEY : PURE OUTPUT
- "DIAMOND" :["gem"],
- "DULL" :["ingot"],
- "EMERALD" :["gem"],
- "FIERY" :["ingot"],
- "FINE" :["dust"],
- "FLINT" :["gem"],
- "FLUID" :["cell"],
- "GEM_HORIZONTAL":["gem"],
- "GEM_VERTICAL" :["gem"],
- "GLASS" :["dust"],
- "LAPIS" :["gem"],
- "LEAF" :["ingot"],
- "LIGNITE" :["gem"],
- "MAGNETIC" :["ingot"],
- "METALLIC" :["ingot"],
- "NETHERSTAR" :["dust"],
- "NONE" :["dust"],
- "OPAL" :["gem"],
- "PAPER" :["dust"],
- "POWDER" :["dust"],
- "QUARTZ" :["gem"],
- "ROUGH" :["dust"],
- "RUBY" :["gem"],
- "SAND" :["dust"],
- "SHARDS" :["gem"],
- "SHINY" :["ingot"],
- "WOOD" :["pulp"],
- /**
- * @param aMetaItemSubID the Sub-ID used in my own MetaItems. Range 0-1000. -1 for no Material
- * @param aTypes which kind of Items should be generated. Bitmask as follows:
- * 1 = Dusts of all kinds.
- * 2 = Dusts, Ingots, Plates, Rods\Sticks, Machine Components and other Metal specific things.
- * 4 = Dusts, Gems, Plates, Lenses (if transparent).
- * 8 = Dusts, Impure Dusts, crushed Ores, purified Ores, centrifuged Ores etc.
- * 16 = Cells
- * 32 = Plasma Cells
- * 64 = Tool Heads
- * 128 = Gears
- * 256 = Designates something as empty (only used for the Empty material)
- * if ((aTypes & 2) != 0) add(SubTag.SMELTING_TO_FLUID);
- *
- * @param aR, aG, aB Color of the Material 0-255 each.
- * @param aA transparency of the Material Texture. 0 = fully visible, 255 = Invisible.
- * @param aName The Name used as Default for localization.
- * @param aFuelType Type of Generator to get Energy from this Material.
- * @param aFuelPower EU generated. Will be multiplied by 1000, also additionally multiplied by 2 for Gems.
- * @param aMeltingPoint Used to determine the smelting Costs in Furnii.
- * @param aBlastFurnaceTemp Used to determine the needed Heat capactiy Costs in Blast Furnii.
- * @param aBlastFurnaceRequired If this requires a Blast Furnace.
- * @param aColor Vanilla MC Wool Color which comes the closest to this.
- */
- } as string[][string];
- val Material = {
- // KEY : ID, SUBTAGS, OREDICT, TYPE, CHEMICAL FORMULA
- "001" : ["001", "00", "Hydrogen", "FLUID", "H"],
- "002" : ["002", "00", "Deuterium", "FLUID", "D"],
- "003" : ["003", "00", "Tritium", "FLUID", "T"],
- "004" : ["004", "00", "Helium", "FLUID", "He"],
- "005" : ["005", "00", "Helium_3", "FLUID", "He-3"],
- "006" : ["006", "07", "Lithium", "DULL", "Li"],
- "008" : ["008", "00", "Beryllium", "NONE", "Be"],
- "009" : ["009", "00", "Boron", "NONE", "B"],
- "010" : ["010", "00", "Carbon", "NONE", "C"],
- "012" : ["012", "00", "Nitrogen", "NONE", "N"],
- "013" : ["013", "00", "Oxygen", "NONE", "O"],
- "014" : ["014", "00", "Fluorine", "NONE", "F"],
- "017" : ["017", "00", "Sodium", "NONE", "Na"],
- "018" : ["018", "00", "Magnesium", "NONE", "Mg"],
- "019" : ["019", "00", "Aluminium", "NONE", "Al"],
- "020" : ["020", "00", "Silicon", "NONE", "Si"],
- "021" : ["021", "00", "Phosphor", "NONE", "P"],
- "022" : ["022", "00", "Sulfur", "NONE", "S"],
- "023" : ["023", "00", "Chlorine", "NONE", "Cl"],
- "024" : ["024", "00", "Argon", "NONE", "Ar"],
- "025" : ["025", "00", "Potassium", "NONE", "K"],
- "026" : ["026", "00", "Calcium", "NONE", "Ca"],
- "027" : ["027", "00", "Scandium", "NONE", "Sc"],
- "028" : ["028", "00", "Titanium", "NONE", "Ti"],
- "029" : ["029", "00", "Vanadium", "NONE", "V"],
- "030" : ["030", "00", "Chrome", "NONE", "Cr"],
- "031" : ["031", "00", "Manganese", "NONE", "Mn"],
- "032" : ["032", "00", "Iron", "NONE", "Fe"],
- "033" : ["033", "00", "Cobalt", "NONE", "Co"],
- "034" : ["034", "00", "Nickel", "NONE", "Ni"],
- "035" : ["035", "00", "Copper", "NONE", "Cu"],
- "036" : ["036", "00", "Zinc", "NONE", "Zn"],
- "037" : ["037", "00", "Gallium", "NONE", "Ga"],
- "039" : ["039", "00", "Arsenic", "NONE", "As"],
- "043" : ["043", "00", "Rubidium", "NONE", "Rb"],
- "044" : ["044", "00", "Strontium", "NONE", "Sr"],
- "045" : ["045", "00", "Yttrium", "NONE", "Y"],
- "047" : ["047", "00", "Niobium", "NONE", "Nb"],
- "048" : ["048", "00", "Molybdenum", "NONE", "Mo"],
- "052" : ["052", "00", "Palladium", "NONE", "Pd"],
- "054" : ["054", "00", "Silver", "NONE", "Ag"],
- "055" : ["055", "00", "Cadmium", "NONE", "Cd"],
- "056" : ["056", "00", "Indium", "NONE", "In"],
- "057" : ["057", "00", "Tin", "NONE", "Sn"],
- "058" : ["058", "00", "Antimony", "NONE", "Sb"],
- "059" : ["059", "00", "Tellurium", "NONE", "Te"],
- "062" : ["062", "00", "Caesium", "NONE", "Cs"],
- "063" : ["063", "00", "Barium", "NONE", "Ba"],
- "064" : ["064", "00", "Lanthanum", "NONE", "La"],
- "065" : ["065", "00", "Cerium", "NONE", "Ce"],
- "066" : ["066", "00", "Praseodymium", "NONE", "Pr"],
- "067" : ["067", "00", "Neodymium", "NONE", "Nd"],
- "068" : ["068", "00", "Promethium", "NONE", "Pm"],
- "069" : ["069", "00", "Samarium", "NONE", "Sm"],
- "070" : ["070", "00", "Europium", "NONE", "Eu"],
- "071" : ["071", "00", "Gadolinium", "NONE", "Gd"],
- "072" : ["072", "00", "Terbium", "NONE", "Tb"],
- "073" : ["073", "00", "Dysprosium", "NONE", "Dy"],
- "074" : ["074", "00", "Holmium", "NONE", "Ho"],
- "075" : ["075", "00", "Erbium", "NONE", "Er"],
- "076" : ["076", "00", "Thulium", "NONE", "Tm"],
- "077" : ["077", "00", "Ytterbium", "NONE", "Yb"],
- "078" : ["078", "00", "Lutetium", "NONE", "Lu"],
- "080" : ["080", "00", "Tantalum", "NONE", "Ta"],
- "081" : ["081", "00", "Tungsten", "NONE", "W"],
- "083" : ["083", "00", "Osmium", "NONE", "Os"],
- "084" : ["084", "00", "Iridium", "NONE", "Ir"],
- "085" : ["085", "00", "Platinum", "NONE", "Pt"],
- "086" : ["086", "00", "Gold", "NONE", "Au"],
- "087" : ["087", "00", "Mercury", "NONE", "Hg"],
- "089" : ["089", "00", "Lead", "NONE", "Pb"],
- "090" : ["090", "00", "Bismuth", "NONE", "Bi"],
- "093" : ["093", "00", "Radon", "NONE", "Rn"],
- "096" : ["096", "00", "Thorium", "NONE", "Th"],
- "097" : ["097", "00", "Uranium235", "NONE", "U-235"],
- "098" : ["098", "00", "Uranium", "NONE", "U"],
- "100" : ["100", "00", "Plutonium", "NONE", "Pu"],
- "101" : ["101", "00", "Plutonium241", "NONE", "Pu-241"],
- "103" : ["103", "00", "Americium", "NONE", "Am"],
- "129" : ["129", "00", "Neutronium", "NONE", "Nt"],
- "241" : ["241", "00", "PlatinumGroupSludge", "NONE", "?"],
- "299" : ["299", "00", "Stone", "NONE", "?"],
- "300" : ["300", "00", "Bronze", "NONE", "SnCu3"],
- "301" : ["301", "00", "Brass", "NONE", "ZnCu3"],
- "302" : ["302", "00", "Invar", "NONE", "Fe2Ni"],
- "303" : ["303", "00", "Electrum", "NONE", "AgAu"],
- "304" : ["304", "00", "WroughtIron", "NONE", "Fe"],
- "305" : ["305", "00", "Steel", "NONE", "Fe50C"],
- "306" : ["306", "00", "StainlessSteel", "NONE", "Fe6CrMnNi"],
- "307" : ["307", "00", "PigIron", "NONE", "Fe"],
- "308" : ["308", "00", "RedAlloy", "NONE", "Cu(Si(FeS2)5CrAl2O3Hg3)4"],
- "309" : ["309", "00", "BlueAlloy", "NONE", "Ag?4"],
- "310" : ["310", "00", "Cupronickel", "NONE", "CuNi"],
- "311" : ["311", "00", "Nichrome", "NONE", "Ni4Cr"],
- "312" : ["312", "00", "Kanthal", "NONE", "FeAlCr"],
- "313" : ["313", "00", "Magnalium", "NONE", "MgAl2"],
- "314" : ["314", "00", "SolderingAlloy", "NONE", "Sn9Sb"],
- "315" : ["315", "00", "BatteryAlloy", "NONE", "Pb4Sb"],
- "316" : ["316", "00", "TungstenSteel", "NONE", "Fe50CW"],
- "317" : ["317", "00", "Osmiridium", "NONE", "Ir3Os"],
- "318" : ["318", "00", "Sunnarium", "NONE", "?"],
- "319" : ["319", "00", "Adamantium", "NONE", "?"],
- "320" : ["320", "00", "ElectrumFlux", "NONE", "?"],
- "321" : ["321", "00", "Enderium", "NONE", "?"],
- "322" : ["322", "00", "HSLA", "NONE", "?"],
- "323" : ["323", "00", "InfusedGold", "NONE", "?"],
- "324" : ["324", "00", "Naquadah", "NONE", "Nq"],
- "325" : ["325", "00", "NaquadahAlloy", "NONE", "?"],
- "326" : ["326", "00", "NaquadahEnriched", "NONE", "Nq+"],
- "327" : ["327", "00", "Naquadria", "NONE", "NqX"],
- "328" : ["328", "00", "Duranium", "NONE", "?"],
- "329" : ["329", "00", "Tritanium", "NONE", "?"],
- "330" : ["330", "00", "Thaumium", "NONE", "FeMa"],
- "331" : ["331", "00", "Nithril", "NONE", "Pt2Ma"],
- "332" : ["332", "00", "Midasium", "NONE", "Au2Ma"],
- "333" : ["333", "00", "AstralSilver", "NONE", "Ag2Ma"],
- "334" : ["334", "00", "blackSteel", "NONE", "NiAuAgCu3(Fe50C)3"],
- "335" : ["335", "00", "DamascusSteel", "NONE", "Fe50C"],
- "336" : ["336", "00", "ShadowIron", "NONE", "Fe3Ma"],
- "337" : ["337", "00", "ShadowSteel", "NONE", "(Fe50C)3Ma"],
- "338" : ["338", "00", "IronWood", "NONE", "Fe9((COH)3Ma)9Au"],
- "339" : ["339", "00", "Steeleaf", "NONE", "Fe50CMa"],
- "340" : ["340", "00", "MeteoricIron", "NONE", "?"],
- "341" : ["341", "00", "MeteoricSteel", "NONE", "?"],
- "342" : ["342", "00", "DarkIron", "NONE", "?"],
- "343" : ["343", "00", "CobaltBrass", "NONE", "(ZnCu3)7AlCo"],
- "344" : ["344", "00", "Ultimet", "NONE", "Co5Cr2NiMo"],
- "345" : ["345", "00", "AnnealedCopper", "NONE", "Cu"],
- "346" : ["346", "00", "FierySteel", "NONE", "?"],
- "347" : ["347", "00", "FireStone", "NONE", "?"],
- "348" : ["348", "00", "RedSteel", "NONE", "CuAg4BiZnCu3(Fe50C)2(NiAuAgCu3(Fe50C)3)4"],
- "349" : ["349", "00", "BlueSteel", "NONE", "CuAu4ZnCu3(Fe50C)2(NiAuAgCu3(Fe50C)3)4"],
- "350" : ["350", "00", "SterlingSilver", "NONE", "CuAg4"],
- "351" : ["351", "00", "RoseGold", "NONE", "CuAu4"],
- "352" : ["352", "00", "BlackBronze", "NONE", "AuAgCu3"],
- "353" : ["353", "00", "BismuthBronze", "NONE", "BiZnCu3"],
- "354" : ["354", "00", "IronMagnetic", "NONE", "Fe"],
- "355" : ["355", "00", "SteelMagnetic", "NONE", "Fe50C"],
- "356" : ["356", "00", "NeodymiumMagnetic", "NONE", "Nd"],
- "357" : ["357", "00", "VanadiumGallium", "NONE", "V3Ga"],
- "358" : ["358", "00", "YttriumBariumCuprate", "NONE", "YBa2Cu3O7"],
- "359" : ["359", "00", "NiobiumBitride", "NONE", "NbN"],
- "360" : ["360", "00", "NiobiumTitanium", "NONE", "NbTi"],
- "361" : ["361", "00", "ChromiumDioxide", "NONE", "CrO2"],
- "362" : ["362", "00", "Knightmetal", "NONE", "(Fe50C)2Ma"],
- "363" : ["363", "00", "TinAlloy", "NONE", "SnFe"],
- "364" : ["364", "00", "DarkSteel", "NONE", "?"],
- "370" : ["370", "00", "TungstenCarbide", "NONE", "WC"],
- "371" : ["371", "00", "VanadiumSteel", "NONE", "VCr(Fe50C)7"],
- "372" : ["372", "00", "HSSG", "NONE", "(Fe50CW)5CrMo2V"],
- "373" : ["373", "00", "HSSE", "NONE", "((Fe50CW)5CrMo2V)6CoMnSi"],
- "374" : ["374", "00", "HSSS", "NONE", "((Fe50CW)5CrMo2V)6Ir2Os"],
- "375" : ["375", "00", "Rutile", "NONE", "TiO2"],
- "376" : ["376", "00", "Titaniumtetrachloride", "NONE", "TiCl4"],
- "377" : ["377", "00", "Magnesiumchloride", "NONE", "MgCl2"],
- "460" : ["460", "00", "HydricSulfide", "NONE", "H2S"],
- "470" : ["470", "00", "Epoxid", "NONE", "C2H4O"],
- "471" : ["471", "00", "Silicone", "NONE", "C2H6OSi"],
- "472" : ["472", "00", "Polycaprolactam", "NONE", "C6H11NO"],
- "473" : ["473", "00", "Polytetrafluoroethylene", "NONE", "C2F4"],
- "485" : ["485", "00", "Alduorite", "NONE", "?"],
- "486" : ["486", "00", "Lemurite", "NONE", "?"],
- "487" : ["487", "00", "Meutoite", "NONE", "?"],
- "488" : ["488", "00", "Rubracium", "NONE", "?"],
- "489" : ["489", "00", "Vulcanite", "NONE", "?"],
- "490" : ["490", "00", "Infuscolium", "NONE", "?"],
- "495" : ["495", "00", "LiquidAir", "NONE", "N40O11Ar(CO2)21He9(CH4)3D"],
- "496" : ["496", "00", "NobleGases", "NONE", "(CO2)21He9(CH4)3D"],
- "497" : ["497", "00", "CarbonDioxide", "NONE", "CO2"],
- "500" : ["500", "11", "Diamond", "DIAMOND", "C64"],
- "501" : ["501", "00", "Emerald", "EMERALD", "Be3Al2Si6O18"],
- "502" : ["502", "00", "Ruby", "NONE", "CrAl2O3"],
- "503" : ["503", "00", "Sapphire", "NONE", "Al2O3"],
- "504" : ["504", "00", "GreenSapphire", "NONE", "Al2O3"],
- "505" : ["505", "00", "Olivine", "NONE", "Mg2Fe(SiO2)2"],
- "506" : ["506", "00", "NetherStar", "NONE", "?"],
- "507" : ["507", "00", "Topaz", "NONE", "Al2SiF2H2O6"],
- "508" : ["508", "00", "Tanzanite", "NONE", "Ca2Al3Si3HO13"],
- "509" : ["509", "00", "Amethyst", "NONE", "(SiO2)4Fe"],
- "510" : ["510", "00", "Opal", "NONE", "SiO2"],
- "511" : ["511", "00", "Jasper", "NONE", "Jasper"],
- "512" : ["512", "00", "FoolsRuby", "NONE", "CrAl2O3"],
- "513" : ["513", "00", "BlueTopaz", "NONE", "Al2SiF2H2O6"],
- "514" : ["514", "00", "Amber", "NONE", "?"],
- "515" : ["515", "00", "Dilithium", "NONE", "?"],
- "516" : ["516", "00", "CertusQuartz", "NONE", "Certus Quartz"],
- "518" : ["518", "00", "Forcicium", "NONE", "?"],
- "519" : ["519", "00", "Forcillium", "NONE", "?"],
- "520" : ["520", "00", "Monazite", "NONE", "?PO4"],
- "521" : ["521", "00", "Force", "NONE", "?"],
- "522" : ["522", "00", "NetherQuartz", "NONE", "Nether Quartz"],
- "523" : ["523", "00", "Quartzite", "NONE", "SiO2"],
- "524" : ["524", "00", "Lazurite", "NONE", "Al6Si6Ca8Na8"],
- "525" : ["525", "00", "Sodalite", "NONE", "Al3Si3Na4Cl"],
- "526" : ["526", "00", "Lapis", "NONE", "(Al6Si6Ca8Na8)12(Al3Si3Na4Cl)2FeS2CaCO3"],
- "526*" : ["526*", "00", "Lapis", "NONE", "Lapis"],
- "527" : ["527", "00", "GarnetRed", "NONE", "(Al2Mg3Si3O12)3(Al2Fe3Si3O12)5(Al2Mn3Si3O12)8"],
- "527*" : ["527*", "00", "GarnetRed", "NONE", "Red Garnet"],
- "528" : ["528", "00", "GarnetYellow", "NONE", "(Ca3Fe2Si3O12)5(Ca3Al2Si3O12)8(Ca3Cr2Si3O12)3"],
- "528*" : ["528*", "00", "GarnetYellow", "NONE", "Yellow Garnet"],
- "529" : ["529", "00", "Vinteum", "NONE", "Ma"],
- "530" : ["530", "33", "Apatite", "NONE", "Ca5(PO4)3Cl"],
- "531" : ["531", "00", "Niter", "NONE", "KNO3"],
- "532" : ["532", "00", "EnderPearl", "NONE", "BeK4N5Ma6"],
- "533" : ["533", "00", "EnderEye", "NONE", "BeK4N5Ma6?SMa"],
- "534" : ["534", "33", "Phosphorus", "NONE", "Ca3(PO4)2"],
- "535" : ["535", "33", "Coal", "NONE", "C2"],
- "536" : ["536", "00", "Charcoal", "NONE", "C"],
- "537" : ["537", "00", "Jade", "NONE", "?"],
- "538" : ["538", "33", "Lignite", "LIGNITE", "C3H2O"],
- "540" : ["540", "00", "InfusedAir", "NONE", "?"],
- "541" : ["541", "00", "InfusedFire", "NONE", "?"],
- "542" : ["542", "00", "InfusedEarth", "NONE", "?"],
- "543" : ["543", "00", "InfusedWater", "NONE", "?"],
- "544" : ["544", "00", "InfusedEntropy", "NONE", "?"],
- "545" : ["545", "00", "InfusedOrder", "NONE", "?"],
- "606" : ["606", "00", "DilutedHydrochloricAcid_GT5U", "NONE", "HCl"],
- "607" : ["607", "00", "Pyrochlore", "NONE", "Ca2Nb2O7"],
- "608" : ["608", "00", "GrowthMediumRaw", "NONE", "?"],
- "609" : ["609", "00", "GrowthMediumSterilized", "NONE", "?"],
- "610" : ["610", "00", "EpoxidFiberReinforced", "NONE", "C2H4O"],
- "611" : ["611", "00", "BorosilicateGlass", "NONE", "B(SiO2)7"],
- "612" : ["612", "00", "FerriteMixture", "NONE", "NiZnFe4"],
- "613" : ["613", "00", "NickelZincFerrite", "NONE", "NiZnFe4O8"],
- "614" : ["614", "00", "Massicot", "NONE", "PbO"],
- "615" : ["615", "00", "ArsenicTrioxide", "NONE", "As2O3"],
- "616" : ["616", "00", "CobaltOxide", "NONE", "CoO"],
- "617" : ["617", "00", "Zincite", "NONE", "ZnO"],
- "618" : ["618", "00", "AntimonyTrioxide", "NONE", "Sb2O3"],
- "619" : ["619", "00", "CupricOxide", "NONE", "CuO"],
- "620" : ["620", "00", "Ferrosilite", "NONE", "FeSiO3"],
- "621" : ["621", "00", "Magnesia", "NONE", "MgO"],
- "622" : ["622", "00", "Quicklime", "NONE", "CaO"],
- "623" : ["623", "00", "Potash", "NONE", "K2O"],
- "624" : ["624", "00", "SodaAsh", "NONE", "Na2CO3"],
- "625" : ["625", "00", "Brick", "NONE", "Al4Si3O12"],
- "626" : ["626", "00", "Fireclay", "NONE", "Al4Si3O12"],
- "627" : ["627", "00", "BioDiesel", "NONE", "?"],
- "628" : ["628", "00", "NitrationMixture", "NONE", "?"],
- "629" : ["629", "00", "Glycerol", "NONE", "C3H8O3"],
- "630" : ["630", "00", "SodiumBisulfate", "NONE", "NaHSO4"],
- "631" : ["631", "00", "PolyphenyleneSulfide", "NONE", "C6H4S"],
- "632" : ["632", "00", "Dichlorobenzene", "NONE", "C6H4Cl2"],
- "633" : ["633", "00", "Polydimethylsiloxane", "NONE", "C2H6OSi"],
- "634" : ["634", "00", "RawStyreneButadieneRubber", "NONE", "C8H8(C4H6)3"],
- "635" : ["635", "00", "StyreneButadieneRubber", "NONE", "C8H8(C4H6)3"],
- "636" : ["636", "00", "Polystyrene", "NONE", "C8H8"],
- "637" : ["637", "00", "Styrene", "NONE", "C8H8"],
- "638" : ["638", "00", "Isoprene", "NONE", "C5H8"],
- "639" : ["639", "00", "Tetranitromethane", "NONE", "CN4O8"],
- "640" : ["640", "00", "DilutedSulfuricAcid", "NONE", "H2SO4"],
- "641" : ["641", "00", "Ethenone", "NONE", "C2H2O"],
- "642" : ["642", "00", "Ethane", "NONE", "C2H6"],
- "643" : ["643", "00", "Propane", "NONE", "C3H8"],
- "644" : ["644", "00", "Butane", "NONE", "C4H10"],
- "645" : ["645", "00", "Butene", "NONE", "C4H8"],
- "646" : ["646", "00", "Butadiene", "NONE", "C4H6"],
- "647" : ["647", "00", "Toluene", "NONE", "C7H8"],
- "648" : ["648", "00", "Epichlorohydrin", "NONE", "C3H5ClO"],
- "649" : ["649", "00", "PolyvinylChloride", "NONE", "C2H3Cl"],
- "650" : ["650", "00", "VinylChloride", "NONE", "C2H3Cl"],
- "651" : ["651", "00", "SulfurDioxide", "NONE", "SO2"],
- "652" : ["652", "00", "SulfurTrioxide", "NONE", "SO3"],
- "653" : ["653", "00", "NitricAcid", "NONE", "HNO3"],
- "654" : ["654", "00", "1,1Dimethylhydrazine", "NONE", "C2H8N2"],
- "655" : ["655", "00", "Chloramine", "NONE", "NH2Cl"],
- "656" : ["656", "00", "Dimethylamine", "NONE", "C2H7N"],
- "657" : ["657", "00", "DinitrogenTetroxide", "NONE", "N2O4"],
- "658" : ["658", "00", "NitricOxide", "NONE", "NO"],
- "659" : ["659", "00", "Ammonia", "NONE", "NH3"],
- "660" : ["660", "00", "WoodGas", "NONE", "?"],
- "661" : ["661", "00", "WoodVinegar", "NONE", "?"],
- "662" : ["662", "00", "WoodTar", "NONE", "?"],
- "663" : ["663", "00", "Dimethyldichlorosilane", "NONE", "C2H6Cl2Si"],
- "664" : ["664", "00", "Chloromethane", "NONE", "CH3Cl"],
- "665" : ["665", "00", "PhosphorousPentoxide", "NONE", "P4O10"],
- "666" : ["666", "00", "Tetrafluoroethylene", "NONE", "C2F4"],
- "667" : ["667", "00", "HydrofluoricAcid_GT5U", "NONE", "HF"],
- "668" : ["668", "00", "Chloroform", "NONE", "CHCl3"],
- "669" : ["669", "00", "BisphenolA", "NONE", "C15H16O2"],
- "670" : ["670", "00", "AceticAcid", "NONE", "C2H4O2"],
- "671" : ["671", "00", "CalciumAcetateSolution", "NONE", "CaC2O4H6"],
- "672" : ["672", "00", "Acetone", "NONE", "C3H6O"],
- "673" : ["673", "00", "Methanol", "NONE", "CH4O"],
- "674" : ["674", "00", "CarbonMonoxide", "NONE", "CO"],
- "675" : ["675", "00", "CharcoalByproducts", "NONE", "?"],
- "676" : ["676", "00", "MetalMixture", "NONE", "?"],
- "677" : ["677", "00", "Ethylene", "NONE", "C2H4"],
- "678" : ["678", "00", "Propene", "NONE", "C3H6"],
- "679" : ["679", "00", "VinylAcetate", "NONE", "C4H6O2"],
- "680" : ["680", "00", "PolyvinylAcetate", "NONE", "C4H6O2"],
- "681" : ["681", "00", "MethylAcetate", "NONE", "C3H6O2"],
- "682" : ["682", "00", "AllylChloride", "NONE", "C3H5Cl"],
- "683" : ["683", "00", "HydrochloricAcid_GT5U", "NONE", "HCl"],
- "684" : ["684", "00", "HypochlorousAcid", "NONE", "HClO"],
- "685" : ["685", "00", "SodiumHydroxide_GT5U", "NONE", "NaOH"],
- "686" : ["686", "00", "Benzene", "NONE", "C6H6"],
- "687" : ["687", "00", "Phenol", "NONE", "C6H6O"],
- "688" : ["688", "00", "Cumene", "NONE", "C9H12"],
- "689" : ["689", "00", "PhosphoricAcid_GT5U", "NONE", "H3PO4"],
- "690" : ["690", "00", "Vinegar", "NONE", "?"],
- "691" : ["691", "00", "FermentedBiomass", "NONE", "?"],
- "692" : ["692", "00", "SaltWater", "NONE", "?"],
- "700" : ["700", "00", "Lava", "NONE", "?"],
- "701" : ["701", "00", "Water", "NONE", "H2O"],
- "702" : ["702", "00", "Ice", "NONE", "H2O"],
- "703" : ["703", "00", "UUMatter", "NONE", "?"],
- "704" : ["704", "00", "Biomass", "NONE", "?"],
- "705" : ["705", "00", "BioFuel", "NONE", "?"],
- "706" : ["706", "00", "Ethanol", "NONE", "C2H6O"],
- "707" : ["707", "00", "Oil", "NONE", "?"],
- "708" : ["708", "00", "Fuel", "NONE", "?"],
- "709" : ["709", "00", "NitroFuel", "NONE", "?"],
- "710" : ["710", "00", "CoalFuel", "NONE", "?"],
- "711" : ["711", "00", "FishOil", "NONE", "?"],
- "712" : ["712", "00", "Creosote", "NONE", "?"],
- "713" : ["713", "00", "SeedOil", "NONE", "?"],
- "714" : ["714", "00", "Glyceryl", "NONE", "C3H5N3O9"],
- "715" : ["715", "00", "Methane", "NONE", "CH4"],
- "716" : ["716", "00", "NitroCarbon", "NONE", "NC"],
- "717" : ["717", "00", "NitrogenDioxide", "NONE", "NO2"],
- "718" : ["718", "00", "SodiumPersulfate", "NONE", "Na2S2O8"],
- "719" : ["719", "00", "SodiumSulfide", "NONE", "Na2S"],
- "720" : ["720", "00", "SulfuricAcid", "NONE", "H2SO4"],
- "721" : ["721", "00", "UUAmplifier", "NONE", "?"],
- "722" : ["722", "00", "SeedOilHemp", "NONE", "?"],
- "723" : ["723", "00", "SeedOilLin", "NONE", "?"],
- "724" : ["724", "00", "Lubricant", "NONE", "?"],
- "725" : ["725", "00", "Honey", "NONE", "?"],
- "726" : ["726", "00", "Glue", "NONE", "?"],
- "727" : ["727", "00", "FryingOilHot", "NONE", "?"],
- "728" : ["728", "00", "Snow", "NONE", "H2O"],
- "729" : ["729", "00", "HolyWater", "NONE", "H2O"],
- "730" : ["730", "00", "OilHeavy", "NONE", "?"],
- "731" : ["731", "00", "OilMedium", "NONE", "?"],
- "732" : ["732", "00", "OilLight", "NONE", "?"],
- "733" : ["733", "00", "NatruralGas", "NONE", "?"],
- "734" : ["734", "00", "SulfuricGas", "NONE", "?"],
- "735" : ["735", "00", "Gas", "NONE", "?"],
- "736" : ["736", "00", "SulfuricNaphtha", "NONE", "?"],
- "737" : ["737", "00", "SulfuricLightFuel", "NONE", "?"],
- "738" : ["738", "00", "SulfuricHeavyFuel", "NONE", "?"],
- "739" : ["739", "00", "Naphtha", "NONE", "?"],
- "740" : ["740", "00", "LightFuel", "NONE", "?"],
- "741" : ["741", "00", "HeavyFuel", "NONE", "?"],
- "742" : ["742", "00", "Lpg", "NONE", "?"],
- "770" : ["770", "00", "Endium", "NONE", "?"],
- "800" : ["800", "00", "Gunpowder", "NONE", "?"],
- "801" : ["801", "00", "Blaze", "NONE", "?SMa"],
- "802" : ["802", "00", "Flint", "NONE", "SiO2"],
- "803" : ["803", "00", "Sugar", "NONE", "C12(H2O)11"],
- "804" : ["804", "00", "Obsidian", "NONE", "MgFeSi2O8"],
- "805" : ["805", "00", "Clay", "NONE", "Na2LiAl2Si2(H2O)6"],
- "806" : ["806", "00", "Bone", "NONE", "Ca"],
- "807" : ["807", "00", "Netherrack", "NONE", "Netherrack"],
- "808" : ["808", "00", "Endstone", "NONE", "Endstone"],
- "809" : ["809", "00", "Wood", "NONE", "?"],
- "810" : ["810", "33", "Redstone", "ROUGH", "Si(FeS2)5CrAl2O3Hg3"],
- "811" : ["811", "00", "Glowstone", "NONE", "Glowstone"],
- "812" : ["812", "00", "Nikolite", "NONE", "Nikolite"],
- "813" : ["813", "00", "Bluestone", "NONE", "?"],
- "814" : ["814", "00", "NetherBrick", "NONE", "?"],
- "815" : ["815", "00", "Ash", "NONE", "?"],
- "816" : ["816", "00", "DarkAsh", "NONE", "?"],
- "817" : ["817", "00", "Salt", "NONE", "NaCl"],
- "818" : ["818", "00", "HydratedCoal", "NONE", "C8H2O"],
- "819" : ["819", "00", "Graphene", "NONE", "?"],
- "820" : ["820", "00", "Almandine", "NONE", "Al2Fe3Si3O12"],
- "821" : ["821", "00", "Andradite", "NONE", "Ca3Fe2Si3O12"],
- "822" : ["822", "00", "Bauxite", "NONE", "(TiO2)2Al16H10O11"],
- "823" : ["823", "00", "Calcite", "NONE", "CaCO3"],
- "824" : ["824", "00", "Cassiterite", "NONE", "SnO2"],
- "825" : ["825", "00", "Chromite", "NONE", "FeCr2O4"],
- "826" : ["826", "00", "Cinnabar", "ROUGH", "HgS"],
- "827" : ["827", "00", "Cobaltite", "NONE", "CoAsS"],
- "828" : ["828", "00", "Cooperite", "NONE", "Pt3NiSPd"],
- "829" : ["829", "00", "DeepIron", "NONE", "Fe"],
- "830" : ["830", "00", "Galena", "NONE", "Pb3Ag3S2"],
- "831" : ["831", "00", "Grossular", "NONE", "Ca3Al2Si3O12"],
- "832" : ["832", "00", "LiveRoot", "NONE", "?"],
- "833" : ["833", "00", "Phosphate", "NONE", "PO4"],
- "834" : ["834", "00", "Pyrite", "NONE", "FeS2"],
- "835" : ["835", "00", "Pyrope", "NONE", "Al2Mg3Si3O12"],
- "836" : ["836", "00", "Saltpeter", "NONE", "KNO3"],
- "837" : ["837", "00", "SiliconDioxide", "NONE", "SiO2"],
- "838" : ["838", "00", "Spessartine", "NONE", "Al2Mn3Si3O12"],
- "839" : ["839", "00", "Sphalerite", "NONE", "ZnS"],
- "840" : ["840", "00", "Tetrahedrite", "NONE", "Cu3SbS3Fe"],
- "841" : ["841", "00", "Tungstate", "NONE", "WLi2O4"],
- "842" : ["842", "00", "Uvarovite", "NONE", "Ca3Cr2Si3O12"],
- "843" : ["843", "00", "Pyrotheum", "NONE", "CSi(FeS2)5CrAl2O3Hg3?SMa"],
- "844" : ["844", "00", "Basalt", "NONE", "Mg2Fe(SiO2)2(CaCO3)3(SiO2)8?4"],
- "845" : ["845", "00", "Marble", "NONE", "Mg(CaCO3)7"],
- "846" : ["846", "00", "Redrock", "NONE", "(CaCO3)2SiO2Na2LiAl2Si2(H2O)6"],
- "847" : ["847", "00", "RotassiumFeldspar", "NONE", "KAlSi3O8"],
- "848" : ["848", "00", "Biotite", "NONE", "KMg3Al3F2Si3O10"],
- "849" : ["849", "00", "GraniteBlack", "NONE", "(SiO2)4KMg3Al3F2Si3O10"],
- "850" : ["850", "00", "GraniteRed", "NONE", "Al2KAlSi3O8O3"],
- "851" : ["851", "00", "Blizz", "NONE", "?"],
- "852" : ["852", "00", "Blueschist", "NONE", "?"],
- "853" : ["853", "00", "CobaltHexahydrate", "NONE", "?"],
- "854" : ["854", "00", "ConstructionFoam", "NONE", "?"],
- "855" : ["855", "00", "Chalcopyrite", "NONE", "CuFeS2"],
- "857" : ["857", "00", "Chert", "NONE", "?"],
- "858" : ["858", "00", "CrudeOil", "NONE", "?"],
- "859" : ["859", "00", "Dacite", "NONE", "?"],
- "860" : ["860", "00", "Eclogite", "NONE", "?"],
- "861" : ["861", "00", "Emery", "NONE", "?"],
- "862" : ["862", "00", "Epidote", "NONE", "?"],
- "863" : ["863", "00", "Gabbro", "NONE", "?"],
- "864" : ["864", "00", "Gneiss", "NONE", "?"],
- "865" : ["865", "00", "Graphite", "NONE", "C4"],
- "866" : ["866", "00", "Greenschist", "NONE", "?"],
- "867" : ["867", "00", "Greenstone", "NONE", "?"],
- "868" : ["868", "00", "Greywacke", "NONE", "?"],
- "869" : ["869", "00", "Komatiite", "NONE", "?"],
- "870" : ["870", "00", "Magnetite", "NONE", "Fe3O4"],
- "871" : ["871", "00", "Malachite", "NONE", "Cu2CH2O5"],
- "873" : ["873", "00", "Pitchblende", "NONE", "(UO2)3ThPb"],
- "872" : ["872", "00", "Migmatite", "NONE", "?"],
- "874" : ["874", "00", "Plastic", "NONE", "CH2"],
- "875" : ["875", "00", "Rhyolite", "NONE", "?"],
- "876" : ["876", "00", "Siltstone", "NONE", "?"],
- "877" : ["877", "00", "Soapstone", "NONE", "Mg3Si4H2O12"],
- "878" : ["878", "00", "Oilsands", "NONE", "?"],
- "879" : ["879", "00", "Paper", "NONE", "?"],
- "880" : ["880", "00", "Rubber", "NONE", "C5H8"],
- "881" : ["881", "00", "Wheat", "NONE", "?"],
- "882" : ["882", "00", "Wulfenite", "NONE", "PbMoO4"],
- "883" : ["883", "00", "Powellite", "NONE", "CaMoO4"],
- "884" : ["884", "00", "Desh", "NONE", "?"],
- "885" : ["885", "00", "Milk", "NONE", "?"],
- "886" : ["886", "00", "Chocolate", "NONE", "?"],
- "887" : ["887", "00", "Cocoa", "NONE", "?"],
- "888" : ["888", "00", "Coffee", "NONE", "?"],
- "889" : ["889", "00", "WoodSealed", "NONE", "?"],
- "890" : ["890", "00", "Glass", "NONE", "SiO2"],
- "891" : ["891", "00", "RareEarth", "NONE", "Rare Earth"],
- "892" : ["892", "00", "MeatRaw", "NONE", "?"],
- "893" : ["893", "00", "MeatCooked", "NONE", "?"],
- "894" : ["894", "00", "Cheese", "NONE", "?"],
- "895" : ["895", "00", "Chili", "NONE", "?"],
- "896" : ["896", "00", "RawRubber", "NONE", "C5H8"],
- "900" : ["900", "00", "Mirabilite", "NONE", "Na2S(H2O)10O4"],
- "901" : ["901", "00", "Mica", "NONE", "KAl3Si3F2O10"],
- "902" : ["902", "00", "Talc", "NONE", "Mg3Si4H2O12"],
- "903" : ["903", "00", "Trona", "NONE", "Na3C2H(H2O)2O6"],
- "904" : ["904", "00", "Barite", "NONE", "BaSO4"],
- "905" : ["905", "00", "Bastnasite", "NONE", "CeCFO3"],
- "906" : ["906", "00", "Garnierite", "NONE", "NiO"],
- "907" : ["907", "00", "Lepidolite", "NONE", "KLi3Al4F2O10"],
- "908" : ["908", "00", "Magnesite", "NONE", "MgCO3"],
- "909" : ["909", "00", "Pentlandite", "NONE", "Ni9S8"],
- "910" : ["910", "00", "Scheelite", "NONE", "WCa2O4"],
- "911" : ["911", "00", "Alunite", "NONE", "KAl3Si2H6O14"],
- "912" : ["912", "00", "Chrysotile", "NONE", "Mg3Si2H4O9"],
- "913" : ["913", "00", "Realgar", "NONE", "As4S4"],
- "914" : ["914", "00", "Dolomite", "NONE", "CaMgC2O6"],
- "915" : ["915", "00", "Wollastonite", "NONE", "CaSiO3"],
- "916" : ["916", "00", "Zeolite", "NONE", "NaCa4Si27Al9(H2O)28O72"],
- "917" : ["917", "00", "BandedRron", "NONE", "Fe2O3"],
- "918" : ["918", "00", "Ilmenite", "NONE", "FeTiO3"],
- "919" : ["919", "00", "Pollucite", "NONE", "Cs2Al2Si4(H2O)2O12"],
- "920" : ["920", "00", "Spodumene", "NONE", "LiAlSi2O6"],
- "921" : ["921", "00", "Tantalite", "NONE", "MnTa2O6"],
- "922" : ["922", "00", "Uraninite", "NONE", "UO2"],
- "923" : ["923", "00", "VanadiumMagnetite", "NONE", "Fe3O4V"],
- "924" : ["924", "00", "Kyanite", "NONE", "Al2SiO5"],
- "925" : ["925", "00", "Perlite", "NONE", "(MgFeSi2O8)2H2O"],
- "926" : ["926", "00", "Pumice", "NONE", "?"],
- "927" : ["927", "00", "Bentonite", "NONE", "NaMg6Si12H6(H2O)5O36"],
- "928" : ["928", "00", "FullersEarth", "NONE", "MgSi4H(H2O)4O11"],
- "929" : ["929", "00", "Kaolinite", "NONE", "Al2Si2H4O9"],
- "930" : ["930", "00", "BrownLimonite", "NONE", "FeHO2"],
- "931" : ["931", "00", "YellowLimonite", "NONE", "FeHO2"],
- "932" : ["932", "00", "Vermiculite", "NONE", "Fe3Al4Si4H2(H2O)4O12"],
- "933" : ["933", "00", "Glauconite", "NONE", "KMg2Al4H2O12"],
- "934" : ["934", "00", "Gypsum", "NONE", "CaS(H2O)2O4"],
- "935" : ["935", "00", "BasalticMineralSand", "NONE", "Fe3O4Mg2Fe(SiO2)2(CaCO3)3(SiO2)8?4"],
- "936" : ["936", "00", "GraniticMineralSand", "NONE", "Fe3O4(SiO2)4KMg3Al3F2Si3O10"],
- "937" : ["937", "00", "CassiteriteSand", "NONE", "SnO2"],
- "938" : ["938", "00", "GarnetSand", "NONE", "(Al2Mg3Si3O12)3(Al2Fe3Si3O12)5(Al2Mn3Si3O12)8(Ca3Fe2Si3O12)5(Ca3Al2Si3O12)8(Ca3Cr2Si3O12)3"],
- "939" : ["939", "00", "QuartzSand", "NONE", "?SiO2"],
- "940" : ["940", "00", "VolcanicAsh", "NONE", "(SiO2)6FeMg"],
- "941" : ["941", "00", "Borax", "NONE", "Na2B4O7(H2O)10"],
- "942" : ["942", "00", "Molybdenite", "NONE", "MoS2"],
- "943" : ["943", "00", "Pyrolusite", "NONE", "MnO2"],
- "944" : ["944", "00", "RockSalt", "NONE", "KCl"],
- "945" : ["945", "00", "Stibnite", "NONE", "Sb2S3"],
- "946" : ["946", "00", "Asbestos", "NONE", "Mg3Si2H4O9"],
- "947" : ["947", "00", "Concrete", "NONE", "?"],
- "948" : ["948", "00", "Diatomite", "NONE", "(SiO2)8Fe2O3Al2O3"],
- "949" : ["949", "00", "GlauconiteSand", "NONE", "KMg2Al4H2O12"],
- "950" : ["950", "00", "Ignatius", "NONE", "?"],
- "951" : ["951", "00", "Vyroxeres", "NONE", "?"],
- "952" : ["952", "00", "Ceruclase", "NONE", "?"],
- "953" : ["953", "00", "Kalendrite", "NONE", "?"],
- "954" : ["954", "00", "Inolashite", "NONE", "?"],
- "955" : ["955", "00", "Sanguinite", "NONE", "?"],
- "956" : ["956", "00", "Tartarite", "NONE", "?"],
- "957" : ["957", "00", "Hepatizon", "NONE", "?"],
- "958" : ["958", "00", "Angmallen", "NONE", "?"],
- "959" : ["959", "00", "Eximite", "NONE", "?"],
- "960" : ["960", "00", "Prometheum", "NONE", "?"],
- "961" : ["961", "00", "Oureclase", "NONE", "?"],
- "962" : ["962", "00", "Carmot", "NONE", "?"],
- "963" : ["963", "00", "Haderoth", "NONE", "?"],
- "964" : ["964", "00", "Celenegil", "NONE", "?"],
- "965" : ["965", "00", "Atlarus", "NONE", "?"],
- "966" : ["966", "00", "Orichalcum", "NONE", "?"],
- "980" : ["980", "00", "GalliumArsenide", "NONE", "AsGa"],
- "981" : ["981", "00", "IndiumGalliumPhosphide", "NONE", "InGaP"],
- "999" : ["999", "00", "McGuffium239", "NONE", "?"],
- } as string[][string];
- val Fluid = {
- // ID : FLUID/GAS/PLASMA
- "001" : <liquid:hydrogen>,
- "006" : <liquid:molten.lithium>,
- } as ILiquidStack[string];
- val Ores = [
- // ID, [BYPRODUCTS:Ore/Crushed/Purified/Centrifuged/Impure/Pure], [PROCESSING:Output/Chance], PULVERIZED, BYPRODUCT
- ["006", "006/006/006/006/006", "2/10", "dustLithium", "dust"], // Lithium
- ["008", "501/501/501/501/501", "2/10", "dustBeryllium", "dust"], // Beryllium
- ["019", "822/822/822/822/822", "2/10", "dustAluminium", "dust"], // Aluminium
- ["022", "022/022/022/022/022", "2/10", "dustSulfur", "dust"], // Sulfur
- ["028", "820/820/820/820/820", "2/10", "dustTitanium", "dust"], // Titanium
- ["031", "030-032/032/032/030/032", "2/10", "dustManganese", "dust"], // Manganese
- ["032", "034-057/057/057/034/057", "2/10", "dustIron", "dust"], // Iron
- ["034", "033-085-032-034/085/032/033/085-032", "2/10", "dustNickel", "dust"], // Nickel
- ["035", "033-086-034-035/086/034/033/086", "2/10", "dustCopper", "dust"], // Copper
- ["036", "057-037-036/037/037/057/037", "2/10", "dustZinc", "dust"], // Zinc
- ["048", "048/048/048/048/048", "2/10", "dustMolybdenum", "dust"], // Molybdenum
- ["052", "052/052/052/052/052", "2/10", "dustPalladium", "dust"], // Palladium
- ["054", "089-022-054/022/022/089/022", "2/10", "dustSilver", "dust"], // Silver
- ["057", "032-036/036/036/032/036-032", "2/10", "dustTin", "dust"], // Tin
- ["067", "520-891/891/891/520/891", "2/10", "dustNeodymium", "dust"], // Neodymium
- ["083", "084-083/084/084/084/084", "2/10", "dustOsmium", "dust"], // Osmium
- ["084", "085-083/083/083/085/083", "2/10", "dustIridium", "dust"], // Iridium
- ["085", "034-084-085/084/084/034/084", "2/10", "dustPlatinum", "dust"], // Platinum
- ["086", "035-034/034/034/035/034", "2/10", "dustGold", "dust"], // Gold
- ["089", "054-022/022/022/054/022", "2/10", "dustLead", "dust"], // Lead
- ["090", "090/090/090/090/090", "2/10", "dustBismuth", "dust"], // Bismuth
- ["096", "098-089/089/089/098/089", "2/10", "dustThorium", "dust"], // Thorium
- ["097", "097-100/097/097/097/097", "2/10", "dustUranium235", "dust"], // Uranium 235
- ["098", "089-097/097/096/089/097", "2/10", "dustUranium", "dust"], // Uranium 238
- ["100", "098-089/089/089/098/089", "2/10", "dust", "dust"], // Plutonium
- // ["323", "000/000/000/000/000", "2/10", "dust", "dust"], // Infused Gold
- ["324", "326/326/326/326/326", "2/10", "dustNaquadah", "dust"], // Naquadah
- ["326", "324-327/327/327/324/327", "2/10", "dustNaquadahEnriched", "dust"], // Enriched Naquadah
- // ["332", "000/000/000/000/000", "2/10", "dustMidasium", "dust"], // Midasium
- // ["333", "000/000/000/000/000", "2/10", "dustAstralSilver", "dust"], // Astral Silver
- // ["336", "000/000/000/000/000", "2/10", "dustShadowiron", "dust"], // Shadowiron
- // ["340", "000/000/000/000/000", "2/10", "dust", "dust"], //
- // ["347", "000/000/000/000/000", "2/10", "dust", "dust"], //
- // ["364", "000/000/000/000/000", "2/10", "dust", "dust"], //
- // ["487", "000/000/000/000/000", "2/10", "dust", "dust"], //
- // ["488", "000/000/000/000/000", "2/10", "dust", "dust"], //
- // ["489", "000/000/000/000/000", "2/10", "dust", "dust"], //
- // ["490", "000/000/000/000/000", "2/10", "dust", "dust"], //
- ["500", "865/865/865/865/865", "2/10", "gemDiamond", "dust"], // Diamond
- ["501", "008-019/019/019/008/019", "2/10", "gemEmerald", "dust"], // Emerald
- ["502", "030-527*/527*/527*/030/527*", "2/10", "gemRuby", "dust"], // Ruby
- ["503", "019-504/504/504/019/504", "2/10", "gemSapphire", "dust"], // Sapphire
- ["504", "019-503/503/503/019/503", "2/10", "gemGreenSapphire", "dust"], // Green Sapphire
- ["505", "835-018/018/018/835/018", "2/10", "gemOlivine", "dust"], // Olivine
- // ["507", "000/000/000/000/000", "2/10", "gemTopaz", "dust"], // Topaz
- // ["508", "000/000/000/000/000", "2/10", "gemTanzanite", "dust"], // Tanzanite
- // ["509", "000/000/000/000/000", "2/10", "gemAmethyst", "dust"], // Amethyst
- // ["510", "000/000/000/000/000", "2/10", "gemOpal", "dust"], // Opal
- ["512", "511/511/511/511/511", "2/10", "gemFoolsRuby", "dust"], // Fools Ruby
- // ["513", "000/000/000/000/000", "2/10", "gemBlueTopaz", "dust"], // Blue Topaz
- // ["514", "000/000/000/000/000", "4/10", "gemAmber", "dust"], // Amber
- ["516", "523/904/904/523/904", "4/10", "gemCertusQuartz", "dust"], // Certus Quartz
- ["520", "096-067-891/067/891/096/067", "16/20", "gemMonazite", "dust"], // Monazite
- // ["521", "000/000/000/000/000", "2/10", "dust", "dust"], // Force
- ["522", "807/807/807/807/807", "4/10", "gemNetherQuartz", "dust"], // Nether Quartz
- ["523", "516-904/904/904/516/904", "2/10", "gemQuartzite", "dust"], // Quartzite
- ["524", "525-526*/526*/526*/525/526*", "12/40", "gemLazurite", "dust"], // Lazurite
- ["525", "524-526*/526*/526*/524/526*", "12/40", "gemSodalite", "dust"], // Sodalite
- ["526", "524-525-834/525/834/524/525", "12/40", "gemLapis", "dust"], // Lapis
- // ["527", "000/000/000/000/000", "2/10", "dust", "dust"], // Red Garnet
- // ["528", "000/000/000/000/000", "2/10", "dust", "dust"], // Yellow Garnet
- // ["529", "000/000/000/000/000", "2/10", "dust", "dust"], // Vinteum
- ["530", "534-833-607/833/607/534/833", "8/20", "gemApatite", "gem"], // Apatite
- ["534", "530-833-607/833/607/530/833", "6/10", "gemPhosphorus", "gem"], // Phosphorus
- ["535", "538-096/096/096/538/096", "2/10", "gemCoal", "gem"], // Coal
- ["538", "535/535/535/535/535", "2/10", "gemLignite", "gem"], // Lignite
- ["607", "530-823-047/823/047/530/823", "2/10", "dustPyrochlore", "dust"], // Pyrochlore
- ["810", "826-891-811/891/811/826/891", "10/10", "dustRedstone", "gem"], // Redstone
- /*
- ["817", "000/000/000/000/000", "2/10", "ingot", "dust"], // Salt
- ["820", "000/000/000/000/000", "2/10", "ingot", "dust"], // Almandine
- ["822", "000/000/000/000/000", "2/10", "ingot", "dust"], // Bauxite
- ["823", "000/000/000/000/000", "2/10", "ingot", "dust"], // Calcite
- ["824", "000/000/000/000/000", "2/10", "ingot", "dust"], // Cassiterite
- ["825", "000/000/000/000/000", "2/10", "ingot", "dust"], // Chromite
- ["826", "000/000/000/000/000", "2/10", "ingot", "dust"], // Cinnabar
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], //
- ["000", "000/000/000/000/000", "2/10", "ingot", "dust"], // dust*/
- ] as string[][];
- #====================================================#
- # UTILITIES
- function getItemStack(id as string, material as string) as IItemStack {
- val arr = [id, material] as string[];
- return Utils.getItemStackFromString(Utils.concat(arr));
- }
- function getOreDictEntry(type as string, material as string) as IOreDictEntry {
- val arr = [type, material] as string[];
- return Utils.getOreDictEntryFromString(Utils.concat(arr));
- }
- function getItem(entry as IOreDictEntry) as IItemStack {
- for item in entry.items {return item;}
- return null;
- }
- function getByproductsTip(Material as string[][string], Byproducts as string) as IFormattedText
- {
- val FORMULA = 4 as byte;
- var result = format.darkGray("Byproducts:") + format.gray(" ") as IFormattedText;
- var splitter = "" as string;
- val ByproductsArr = Utils.split(Byproducts, "-") as string[];
- for ID in ByproductsArr {
- val strarr = [splitter, Material[ID][FORMULA]] as string[];
- result += Utils.StringToFormattedText(Utils.concat(strarr));
- splitter = ", ";
- }
- return result;
- }
- function hasTag(BITMASK as string, TAG as int) as int
- {
- val MASK = Utils.StringToInt(BITMASK) as int;
- return MASK & TAG;
- }
- #====================================================#
- # FUNCTIONS
- function AddOre(Material as string[][string], Type as string[][string], Settings as string[string],
- ID as string, byproducts as string, outputs as string, pulverized as string, byproduct_type as string)
- {
- val PREFIX = 0 as byte;
- val SUBTAGS = 1 as byte;
- val OREDICT = 2 as byte;
- val TYPE = 3 as byte;
- val FORMULA = 4 as byte;
- val BP_ORE_CRUSHED = 0 as byte;
- val BP_PURIFIED = 1 as byte;
- val BP_CENTRIFUGED = 2 as byte;
- val BP_CRUSHED_IMPURE = 3 as byte;
- val BP_PURE_DUST = 4 as byte;
- val UNKNOWN = 0 as int;
- val HAS_ORE = 1 as int;
- val SMELTING = 2 as int;
- val SMELTING_TO_INGOT = 4 as int;
- val SMELTING_TO_GEM = 8 as int;
- val SMELTING_TO_FLUID = 16 as int;
- val PULVERIZED = 32 as int;
- val OreCrushed = getItemStack("gregtech:gt.metaitem.01:05", ID) as IItemStack;
- val OrePurified = getItemStack("gregtech:gt.metaitem.01:06", ID) as IItemStack;
- val OreCentrifuged = getItemStack("gregtech:gt.metaitem.01:07", ID) as IItemStack;
- val DustImpure = getItemStack("gregtech:gt.metaitem.01:03", ID) as IItemStack;
- val DustPure = getItemStack("gregtech:gt.metaitem.01:04", ID) as IItemStack;
- val Dust = getOreDictEntry("dust", Material[ID][OREDICT]) as IOreDictEntry;
- val Ingot = getOreDictEntry("ingot", Material[ID][OREDICT]) as IOreDictEntry;
- val Gem = getOreDictEntry("gem", Material[ID][OREDICT]) as IOreDictEntry;
- val Byproduct = Utils.split(byproducts, "/") as string[];
- val Output = Utils.split(outputs, "/") as string[];
- val Count = Utils.StringToInt(Output[0]) as int;
- val Chance = Utils.StringToInt(Output[1]) as int;
- val OrePrefix = ["ore", "oreNetherrack", "oreEndstone", "oreBlackgranite", "oreRedgranite", "oreBasalt", "oreMarble"] as string[];
- val OreTip1 = format.darkGray("Product: ") + format.gray(Material[ID][FORMULA]) + format.darkGray(" x " + Count) as IFormattedText;
- val OreTip2 = getByproductsTip(Material, Byproduct[BP_ORE_CRUSHED]) as IFormattedText;
- for Prefix in OrePrefix {
- val Ore = getOreDictEntry(Prefix, Material[ID][OREDICT]) as IOreDictEntry;
- Ore.addTooltip(OreTip1);
- Ore.addTooltip(OreTip2);
- // Ore.addTooltip(format.blue("Mining Level: ") + format.blue("Redstone"));
- // Ore.addTooltip("");
- }
- OreCrushed.addTooltip(getByproductsTip(Material, Byproduct[BP_ORE_CRUSHED]));
- OrePurified.addTooltip(getByproductsTip(Material, Byproduct[BP_PURIFIED]));
- OreCentrifuged.addTooltip(getByproductsTip(Material, Byproduct[BP_CENTRIFUGED]));
- DustImpure.addTooltip(getByproductsTip(Material, Byproduct[BP_CRUSHED_IMPURE]));
- DustPure.addTooltip(getByproductsTip(Material, Byproduct[BP_PURE_DUST]));
- // Ore = Crushed = Impure, Purified = Pure
- val Ore = getOreDictEntry("ore", Material[ID][OREDICT]) as IOreDictEntry;
- var SmeltedOre = getItem(Ingot) as IItemStack;
- val PulverizedOre = getOreDictEntry(pulverized, "") as IOreDictEntry;
- val Secondary = getOreDictEntry(byproduct_type, // Type[Material[Byproduct[BP_CRUSHED_IMPURE]][TYPE]][PREFIX],
- Material[Byproduct[BP_CRUSHED_IMPURE]][OREDICT]) as IOreDictEntry;
- val SecondaryCrushedImpure = getOreDictEntry("dust", Material[Byproduct[BP_CRUSHED_IMPURE]][OREDICT]) as IOreDictEntry;
- val SecondaryPurified = getOreDictEntry("dust", Material[Byproduct[BP_PURIFIED]][OREDICT]) as IOreDictEntry;
- val SecondaryPureTiny = getOreDictEntry("dustTiny", Material[Byproduct[BP_PURIFIED]][OREDICT]) as IOreDictEntry;
- val SecondaryCentrifuged = getOreDictEntry("dust", Material[Byproduct[BP_CENTRIFUGED]][OREDICT]) as IOreDictEntry;
- val SecondaryImpureTiny = getOreDictEntry("dustTiny", Material[Byproduct[BP_CRUSHED_IMPURE]][OREDICT]) as IOreDictEntry;
- // Furnace
- // Redstone Furnace
- // Blast Furnace
- // Tinker's Constructs
- // Induction Smelter
- if hasTag(Material[ID][SUBTAGS], SMELTING) == SMELTING
- {
- if hasTag(Material[ID][SUBTAGS], SMELTING_TO_INGOT) == SMELTING_TO_INGOT {
- Smelter.addRecipe(Settings["Smelter.RFPerCrushedOre"], OreCrushed, <minecraft:sand>,
- SmeltedOre, getItem(<ore:itemSlag>), 10);
- Smelter.addRecipe(Settings["Smelter.RFPerCrushedOre"], OreCrushed, getItem(<ore:itemSlag>),
- SmeltedOre, getItem(<ore:itemRichSlag>), 10);
- }
- if hasTag(Material[ID][SUBTAGS], SMELTING_TO_GEM) == SMELTING_TO_GEM
- SmeltedOre = getItem(Gem);
- Smelter.addRecipe(Settings["Smelter.RFPerOre"], getItem(Ore), <minecraft:sand> * 2,
- SmeltedOre * 2, getItem(<ore:itemSlag>), 20);
- Smelter.addRecipe(Settings["Smelter.RFPerOre"], getItem(Ore), getItem(<ore:itemSlag>),
- SmeltedOre * 2, SmeltedOre, 50);
- Smelter.addRecipe(Settings["Smelter.RFPerOre"], getItem(Ore), getItem(<ore:itemRichSlag>),
- SmeltedOre * 3, null, 0);
- }
- // Pulverizer
- if hasTag(Material[ID][SUBTAGS], PULVERIZED) == PULVERIZED
- {
- Pulverizer.addRecipe(Settings["Pulverizer.RFPerOre"], getItem(Ore),
- getItem(PulverizedOre) * Count, getItem(Secondary), Chance);
- Pulverizer.addRecipe(Settings["Pulverizer.RFPerCrushedOre"], OreCrushed,
- DustImpure, getItem(SecondaryCrushedImpure), 10);
- Pulverizer.addRecipe(Settings["Pulverizer.RFPerPurifiedOre"], OrePurified,
- DustPure, getItem(SecondaryPurified), 10);
- Pulverizer.addRecipe(Settings["Pulverizer.RFPerCentrifugedOre"], OreCentrifuged,
- getItem(Dust), getItem(SecondaryCentrifuged), 10);
- Centrifuge.addRecipe([getItem(SecondaryImpureTiny), getItem(Dust)], DustImpure, 600);
- Centrifuge.addRecipe([getItem(SecondaryPureTiny), getItem(Dust)], DustPure, 600);
- /*
- Pulverizer.addRecipe(Settings["Pulverizer.RFPerImpureDust"], DustImpure,
- getItem(Dust), getItem(SecondaryCrushedImpure), 10);
- Pulverizer.addRecipe(Settings["Pulverizer.RFPerPureDust"], DustPure,
- getItem(Dust), getItem(SecondaryPurified), 10);
- */
- }
- // Rock Crusher
- // Crusher
- }
- function Initialize(Material as string[][string], Type as string[][string], Settings as string[string], Ores as string[][])
- {
- val ID = 0 as byte;
- val SUBTAGS = 1 as byte;
- val OREDICT = 2 as byte;
- val TYPE = 3 as byte;
- val FORMULA = 4 as byte;
- val BYPRODUCTS = 1 as byte;
- val OUTPUTS = 2 as byte;
- val PULVERIZED_ORE = 3 as byte;
- val BYPRODUCTS_TYPE = 4 as byte;
- val UNKNOWN = 0 as int;
- val HAS_ORE = 1 as int;
- val SMELTING = 2 as int;
- val SMELTING_TO_INGOT = 4 as int;
- val SMELTING_TO_GEM = 8 as int;
- val SMELTING_TO_FLUID = 16 as int;
- val PULVERIZED = 32 as int;
- for Ore in Ores {
- AddOre(Material, Type, Settings, Ore[ID], Ore[BYPRODUCTS], Ore[OUTPUTS], Ore[PULVERIZED_ORE], Ore[BYPRODUCTS_TYPE]);
- }
- }
- #====================================================#
- # GENERAL
- Initialize(Material, Type, Settings, Ores);
- // by EverybodyLies, June 2019
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement