Exemple #1
0
 /// <summary>
 /// Entry point
 /// </summary>
 public static void Patch()
 {
     try
     {
         LoadingStarted();
         Load.Config();
         Load.AssetBundles();
         Load.FabricatorTabs();
         Load.Item.TitaniumIngot();
         Load.Item.PlasteelIngot();
         Load.Item.Custom("MIGold", "Gold Ingot", "Au. Compressed gold. Added by the MoreIngots mod", TechType.Gold, "MIGold", "IPGold");
         Load.Item.Custom("MIDiamond", "Compressed Diamond", "C. Compressed diamond. Added by the MoreIngots mod", TechType.Diamond, "MIDiamond", "IPDiamond");
         Load.Item.Custom("MILithium", "Lithium Ingot", "Li. Compressed lithium. Added by the MoreIngots mod", TechType.Lithium, "MILithium", "IPLithium");
         Load.Item.Custom("MICopper", "Copper Ingot", "Cu. Compressed copper. Added by the MoreIngots mod", TechType.Copper, "MICopper", "IPCopper");
         Load.Item.Custom("MILead", "Lead Ingot", "Pb. Compressed lead. Added by the MoreIngots mod", TechType.Lead, "MILead", "IPLead");
         Load.Item.Custom("MISilver", "Silver Ingot", "Ag. Compressed silver. Added by the MoreIngots mod", TechType.Silver, "MISilver", "IPSilver");
         Load.Item.Custom("MIMagnetite", "Compressed Magnetite", "Fe3O4. Compressed magnetite. Added by the MoreIngots mod", TechType.Magnetite, "MIMagnetite", "IPMagnetite");
         Load.Item.Custom("MINickel", "Nickel Ingot", "Ni. Compressed nickel. Added by the MoreIngots mod", TechType.Nickel, "MINickel", "IPNickel");
         Load.Item.Custom("MIKyanite", "Compressed Kyanite", "Al2SiO5. Compressed kyanite. Added by the MoreIngots mod", TechType.Kyanite, "MIKyanite", "IPKyanite");
         Load.Item.Custom("MIRuby", "Compressed Ruby", "Al2O3. Compressed ruby. Added by the MoreIngots mod", TechType.AluminumOxide, "MIRuby", "IPRuby");
         Load.Item.Custom("MIUraninite", "Compressed Uraninite", "U3O8. Compressed uraninite. Added by the MoreIngots mod", TechType.UraniniteCrystal, "MIUraninite", "IPUraninite");
         Load.Item.Custom("MIQuartz", "Compressed Quartz", "SiO4. Compressed quartz. Added by the MoreIngots mod", TechType.Quartz, "MIQuartz", "IPQuartz");
         Load.Item.Custom("MISalt", "Salt Lick", "NaCl. Salt. Added by the MoreIngots mod. (Suggested by Oddwood)", TechType.Salt, "Salt", "Salt", InAssetBundles.Salt);
         Load.Item.Custom("MISulphur", "Compressed Sulphur", "S. Compressed Sulphur. Added by the MoreIngots mod. (Suggested by gnivler)", TechType.Sulphur, "Crystalline Sulphur", InAssetBundles.Sulphur);
         LoadingFinished();
     }
     catch (Exception e)
     {
         Log.e(e);
     }
 }
Exemple #2
0
 static Configuration()
 {
     if (C == null)
     {
         C = Load.Config();
     }
 }