import gregtech.api.GregTechAPI.MaterialEvent
import gregtech.api.unification.material.Materials
import gregtech.api.unification.material.Material
import gregtech.api.unification.Elements
import gregtech.api.unification.material.properties.ToolProperty
import gregtech.api.GregTechAPI.MaterialEvent
String[] MGF = ["generate_plate","generate_foil","generate_bolt_screw","generate_ring","generate_spring","generate_small_gear","generate_fine_wire","generate_dense"]
//Not Working, will need assistance later.
//public static final MaterialIconSet PULSATING = new MaterialIconSet("Pulsating")
event_manager.listen { MaterialEvent event ->


// THIS FILE IS NO SORTED 
// USE CTRL+F - Materials are added in linear order - please put a comment with an ID if you remove an material (I doubt this'll -
// happen but I'm mentioning it anyway.)




//MATERIALS - if you remove the tab indents I will smack you -G
//ADDITIONS
      def preciousMetal = new Material.Builder(32000, "precious_metal")
     .ingot().color(0xbcbd7e).iconSet("SHINY")
     .ore()
     .flags("disable_decomposition")
     .build()
//Lamminated Fluix
     def laminatedfluix = new Material.Builder(32001, "fluix_laminated_glass")
     .ingot().color(0x8d42f5).iconSet("metallic")
     .flags("no_unification", "disable_decomposition", "generate_plate", "generate_rod")
     .build()
//TerraSteels
     def dirtyTerrasteel = new Material.Builder(32002, "dirty_terrasteel")
     .ingot().fluid()
     .color(0x7fa84f).iconSet("shiny")
     .build()
     .setFormula("Al2Fe", true);
     def terrasteel = new Material.Builder(32003, "terrasteel")
     .ingot().fluid()
     .color(0x00ff1a).iconSet("shiny")
     .build()
     .setFormula("Al2Fe + Mx?", true);
     def dilutedManaMixture = new Material.Builder(32004, "diluted_mana_mixture")
     .fluid()
     .color(0x37a0e6)
     .build()
     .setFormula("Mx?", true);
//Arachnite and it's slurries
     def aracinite = new Material.Builder(32005, "aracinite")
     .gem().color(0xe8c489).iconSet("GEM_VERTICAL")
     .ore()
     .flags("no_unification")
     .build()
     def rawElementalSlurry = new Material.Builder(32006, "raw_elemental_slurry")
     .fluid()
     .color(0x913906)
     .flags("no_unification")
     .fluidTemp(646)
     .build()
     .setFormula("Vs*?", true);
//GoldenSlag
def auricSludge = new Material.Builder(32007, "auric_sludge")
     .fluid()
     .color(0xfcdf8d)
     .flags("no_unification")
     .fluidTemp(1600)
     .build()
     .setFormula("AuCuAg?", true);
//EIO Ingots
def pulsatingSteel = new Material.Builder(32008, "pulsating_steel")
     .ingot().fluid()
     .flags(MGF)
     .color(0x7fa84f).iconSet("shiny")
     .build()
     .setFormula("Uhh-TODO", true);
def energeticAlloy = new Material.Builder(32009, "energetic_alloy")
     .ingot().fluid()
     .color(0xe07102).iconSet("dull")
     .flags(MGF)
     .build()
     .setFormula("Uhh-TODO", true);
def vibrantAlloy = new Material.Builder(32010, "vibrant_alloy")
     .ingot().fluid()
     .color(0x00d676).iconSet("shiny")
     .flags(MGF)
     .build()
     .setFormula("Uhh-TODO", true);
def fluixEndSteel = new Material.Builder(32011, "fluix_end_steel")
     .ingot().fluid()
     .flags(MGF)
     .color(0x702f9c).iconSet("dull")
     .build()
     .setFormula("Uhh-TODO", true);
def darkSteel = new Material.Builder(32012, "dark_steel")
     .ingot().fluid()
     .flags(MGF)
     .color(0x141005).iconSet("dull")
     .build()
     .setFormula("Uhh-TODO", true);
def midnightSteel = new Material.Builder(32013, "midnight_steel")
     .ingot().fluid()
     .flags(MGF)
     .color(0x010317).iconSet("shiny")
     .build()
     .setFormula("Uhh-TODO", true);
//EIO Melodic alloy counterpart
def resonatingTitanium = new Material.Builder(32014, "resonating_titanium")
     .ingot().fluid()
     .flags(MGF)
     .color(0xb658c7).iconSet("shiny")
     .build()
     .setFormula("Uhh-TODO", true);
def soulDrenchedTungsten= new Material.Builder(32015, "soul_drenched_tungsten")
     .ingot().fluid()
     .flags(MGF)
     .color(0x5c270d).iconSet("shiny")
     .build()
     .setFormula("Uhh-TODO", true);
 def preciousMetalMixture = new Material.Builder(32020, "precious_metal_mixture")
     .ingot().color(0xcf7f11).iconSet("dull")
     .flags("disable_decomposition")
     .build()


//nepheline MEDIUM ZONE - VALUES 32100-32200 RESERVED
def nephelineMediumAlpha = new Material.Builder(32100, "nepheline_medium_alpha")
     .fluid()
     .color(0xf78693)
     .flags("no_unification")
     .fluidTemp(50)
     .build()
     .setFormula("?=?=?=?", true);
def nephelineMediumBeta = new Material.Builder(32101, "nepheline_medium_beta")
     .fluid()
     .color(0xf78693)
     .flags("no_unification")
     .fluidTemp(50)
     .build()
     .setFormula("?=?=?=?", true);
def nephelineMediumGamma = new Material.Builder(32102, "nepheline_medium_gamma")
     .fluid()
     .color(0xf78693)
     .flags("no_unification")
     .fluidTemp(50)
     .build()
     .setFormula("?=?=?=?", true);
def nephelineMediumDelta = new Material.Builder(32103, "nepheline_medium_delta")
     .fluid()
     .color(0xf78693)
     .flags("no_unification")
     .fluidTemp(50)
     .build()
     .setFormula("?=?=?=?", true);








//ADDED FLAGS
 def glass = material("glass")
  glass.addFlags("generate_rod")
 def vanadium = material("vanadium");
  vanadium.addFlags("generate_plate");


























}




