|
|
@@ -2,7 +2,11 @@ using GadgetCore.API;
|
|
|
using GadgetCore.API.ConfigMenu;
|
|
|
using GadgetCore.Util;
|
|
|
using RecipeMenuCore.API;
|
|
|
+using System;
|
|
|
using System.Collections.Generic;
|
|
|
+using System.Diagnostics;
|
|
|
+using System.IO;
|
|
|
+using System.Reflection;
|
|
|
|
|
|
namespace UltimateRings
|
|
|
{
|
|
|
@@ -10,7 +14,7 @@ namespace UltimateRings
|
|
|
[Gadget("UltimateRings", LoadAfter: new string[] { "RecipeMenuCore" }, Dependencies: new string[] { "RecipeMenuCore" })]
|
|
|
public class UltimateRings : Gadget<UltimateRings>
|
|
|
{
|
|
|
- public const string MOD_VERSION = "1.0"; // Set this to the version of your mod.
|
|
|
+ public const string MOD_VERSION = "1.1"; // 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()
|
|
|
@@ -82,6 +86,11 @@ namespace UltimateRings
|
|
|
GadgetCoreAPI.AddUltimateForgeRecipe(new Tuple<int, int>(905, 90), Core.infoList[16].GetID());
|
|
|
GadgetCoreAPI.AddUltimateForgeRecipe(new Tuple<int, int>(905, 91), Core.infoList[17].GetID());
|
|
|
|
|
|
+ RegisterRecipe();
|
|
|
+ }
|
|
|
+
|
|
|
+ private void RegisterRecipe()
|
|
|
+ {
|
|
|
var recipePage = new RecipePage(RecipePageType.UltimateForge, "Ultimate Rings", GadgetCoreAPI.LoadTexture2D("recipesRings.png")).Register();
|
|
|
recipePage.AddRecipePageEntry(new RecipePageEntry(Core.infoList[0].GetID(), Core.infoList[1].GetID(), Core.infoList[2].GetID(), 900));
|
|
|
recipePage.AddRecipePageEntry(new RecipePageEntry(Core.infoList[3].GetID(), Core.infoList[4].GetID(), Core.infoList[5].GetID(), 901));
|