Browse Source

[UltimateRings] [2.0.3.3] RMC is now SpecificVersion false

Zariteis 4 years ago
parent
commit
ad63747dba

BIN
UltimateRings/Assets/recipesAlch.png


+ 10 - 1
UltimateRings/UltimateRings.cs

@@ -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));

+ 4 - 0
UltimateRings/UltimateRings.csproj

@@ -48,6 +48,7 @@
     </Reference>
     <Reference Include="RecipeMenuCore">
       <HintPath>..\RecipeMenuCore\Release\RecipeMenuCore.dll</HintPath>
+      <SpecificVersion>false</SpecificVersion>
       <Private>false</Private>
     </Reference>
     <Reference Include="UnityEngine">
@@ -309,6 +310,9 @@
     <None Update="Assets\planetSpacePrev.png">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </None>
+    <None Update="Assets\recipesAlch.png">
+      <CopyToOutputDirectory>Never</CopyToOutputDirectory>
+    </None>
     <None Update="Assets\recipesExtraPotions.png">
       <CopyToOutputDirectory>Never</CopyToOutputDirectory>
     </None>