| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using GadgetCore.API;
- using GadgetCore.API.ConfigMenu;
- using RecipeMenuCore.API;
- using System.Collections.Generic;
- namespace RecipeMenuCore
- {
- [Gadget("RecipeMenuCore", RequiredOnClients: false)]
- public class RecipeMenuCore : Gadget<RecipeMenuCore>
- {
- public const string MOD_VERSION = "1.0"; // Set this to the version of your mod.
- public const string CONFIG_VERSION = "1.0"; // Increment this whenever you change your mod's config file.
- protected override void LoadConfig()
- {
- Config.Reset();
- Config.Save();
- }
- public override IGadgetConfigMenu GetConfigMenu() { return null; }
- public override string GetModDescription()
- {
- return "A utility mod providing recipe menu extension.";
- }
- protected override void Initialize()
- {
- Logger.Log("Recipe Menu Core v" + Info.Mod.Version);
- Core.logger = Logger;
- Core.pageGearForgeInfoList = new List<RecipePage>();
- Core.pageAlchemyStationInfoList = new List<RecipePage>();
- Core.pageUltimateForgeInfoList = new List<RecipePage>();
- }
- }
- }
|