Beispiel #1
0
 public AddonController()
 {
     QuestLog.Log("[Addon Manager]: Addon System Enabled");
     AddonLog.Log("[Addon Manager]: Addon System Enabled", true);
     new GenericRegistry().AddonGeneric();
     new Thermonuclear().AddonNuclear();
     AddonLog.Log("[Addon Manager]: Addon System Finished");
     QuestLog.Log("[Addon Manager]: Addon System Finished");
 }
Beispiel #2
0
        public void AddonGeneric()
        {
            var check = Registry();

            if (check == true)
            {
                QuestLog.Log("[Addon Manager]: GenericMod Addon Enabled");
                AddonLog.Log("---GenericMod Addon Begin---");
                RegisterRecipes();
                RegisterItems();
                foreach (KeyValuePair <string, GUID> dict in genericmodRegistry)
                {
                    AddonLog.Log("[Addon Manager | GenericMod]: Name: " + dict.Key + " | GUID: " + dict.Value + " Has been Registered");
                }
                AddonLog.Log("---GenericMod Addon End---");
            }
            else
            {
                QuestLog.Log("[Addon Manager]: GenericMod Addon Disabled");
            }
        }
 public void AddonNuclear()
 {
     QuestLog.Log("[Addon Manager]: Thermonuclear Addon Enabled");
     AddonLog.Log("---Thermonuclear Addon Begin---");
     AddonLog.Log("---Thermonuclear Addon End---");
 }