From 61cae92720c56e458c76309164b38a7e133bbf85 Mon Sep 17 00:00:00 2001 From: sp00ktober Date: Mon, 4 Jul 2022 00:30:54 +0200 Subject: [PATCH] finally update code to also include metal tools. --- README.md | 4 + ShowDurability.sln | 5 + ShowDurability/Patches/Dynamic/Slot_Patch.cs | 24 +- ShowDurability/ShowDurability.cs | 19 +- ShowDurability/ShowDurability.csproj | 220 ++++++++----------- ShowDurability/manifest.json | 2 +- ShowDurability/packages.config | 17 +- 7 files changed, 139 insertions(+), 152 deletions(-) diff --git a/README.md b/README.md index 090a7cb..4d93f5e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,10 @@ For support or to discuss any other modding related topic you can join our [Star ## Changelog +0.0.2: + +- also include metal tools + 0.0.1: - Initial release \ No newline at end of file diff --git a/ShowDurability.sln b/ShowDurability.sln index bbf7a26..d5f9e61 100644 --- a/ShowDurability.sln +++ b/ShowDurability.sln @@ -5,6 +5,11 @@ VisualStudioVersion = 16.0.31729.503 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShowDurability", "ShowDurability\ShowDurability.csproj", "{4058B9D2-05FA-48BE-A71A-AB5DE9E158F8}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{16932195-FFE9-4272-90F6-6AE44E3C057B}" + ProjectSection(SolutionItems) = preProject + README.md = README.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/ShowDurability/Patches/Dynamic/Slot_Patch.cs b/ShowDurability/Patches/Dynamic/Slot_Patch.cs index 72653ed..7e809ca 100644 --- a/ShowDurability/Patches/Dynamic/Slot_Patch.cs +++ b/ShowDurability/Patches/Dynamic/Slot_Patch.cs @@ -7,7 +7,9 @@ namespace ShowDurability.Patches.Dynamic [HarmonyPatch(typeof(Slot))] class Slot_Patch { - static float MAX_HEALTH = 300f; + static float MAX_HEALTH_WOOD = 300f; + static float MAX_HEALTH_IRON_PICKAXE = 600f; + static float MAX_HEALTH_IRON_AXE = 540f; [HarmonyPostfix] [HarmonyPatch(typeof(Slot), "Refresh")] @@ -18,7 +20,25 @@ public static void Refresh_Postfix(Slot __instance) DurabilityBar bar = (DurabilityBar)AccessTools.Field(typeof(Slot), "m_DurabilityBar").GetValue(__instance); bar.SetActive(true); - bar.SetFillAmount(__instance.CurrentItem.GetPropertyValue("Durability").Float.Current / MAX_HEALTH); + bar.SetFillAmount(__instance.CurrentItem.GetPropertyValue("Durability").Float.Current / MAX_HEALTH_WOOD); + + __instance.Refreshed.Send(__instance); + } + else if (__instance?.CurrentItem?.Name == "METAL PICKAXE") + { + DurabilityBar bar = (DurabilityBar)AccessTools.Field(typeof(Slot), "m_DurabilityBar").GetValue(__instance); + bar.SetActive(true); + + bar.SetFillAmount(__instance.CurrentItem.GetPropertyValue("Durability").Float.Current / MAX_HEALTH_IRON_PICKAXE); + + __instance.Refreshed.Send(__instance); + } + else if(__instance?.CurrentItem?.Name == "METAL AX") + { + DurabilityBar bar = (DurabilityBar)AccessTools.Field(typeof(Slot), "m_DurabilityBar").GetValue(__instance); + bar.SetActive(true); + + bar.SetFillAmount(__instance.CurrentItem.GetPropertyValue("Durability").Float.Current / MAX_HEALTH_IRON_AXE); __instance.Refreshed.Send(__instance); } diff --git a/ShowDurability/ShowDurability.cs b/ShowDurability/ShowDurability.cs index 356a209..63e61e5 100644 --- a/ShowDurability/ShowDurability.cs +++ b/ShowDurability/ShowDurability.cs @@ -1,13 +1,12 @@ using BepInEx; using HarmonyLib; using System; -using System.IO; using System.Reflection; using UnityEngine; namespace ShowDurability { - [BepInPlugin("com.sp00ktober.ShowDurability", "ShowDurability", "0.0.1")] + [BepInPlugin("com.sp00ktober.ShowDurability", "ShowDurability", "0.0.2")] public class ShowDurability : BaseUnityPlugin { private void Awake() @@ -21,23 +20,9 @@ private static void InitPatches() try { - Debug.Log("Applying patches from ShowDurability 0.0.1"); -#if DEBUG - if (Directory.Exists("./mmdump")) - { - foreach (FileInfo file in new DirectoryInfo("./mmdump").GetFiles()) - { - file.Delete(); - } + Debug.Log("Applying patches from ShowDurability 0.0.2"); - Environment.SetEnvironmentVariable("MONOMOD_DMD_TYPE", "cecil"); - Environment.SetEnvironmentVariable("MONOMOD_DMD_DUMP", "./mmdump"); - } -#endif Harmony.CreateAndPatchAll(Assembly.GetExecutingAssembly(), "com.sp00ktober.de"); -#if DEBUG - Environment.SetEnvironmentVariable("MONOMOD_DMD_DUMP", ""); -#endif Debug.Log("Patching completed successfully"); } diff --git a/ShowDurability/ShowDurability.csproj b/ShowDurability/ShowDurability.csproj index 01b95d2..3c4271d 100644 --- a/ShowDurability/ShowDurability.csproj +++ b/ShowDurability/ShowDurability.csproj @@ -33,273 +33,245 @@ 4 - - ..\packages\HarmonyX.2.5.5\lib\net45\0Harmony.dll + + + + + + + + + + + + + + + + ..\packages\HarmonyX.2.10.0\lib\net45\0Harmony.dll - ..\packages\Starsand.GameLibs.0.5.2-r.0\lib\netstandard2.0\Assembly-CSharp.dll - - - ..\packages\BepInEx.BaseLib.5.4.16\lib\net35\BepInEx.dll - - - ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.dll + ..\packages\Starsand.GameLibs.0.8.1-r.0\lib\netstandard2.0\Assembly-CSharp.dll - - ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Mdb.dll + + ..\packages\BepInEx.BaseLib.5.4.19\lib\net35\BepInEx.dll - - ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Pdb.dll - - - ..\packages\Mono.Cecil.0.11.4\lib\net40\Mono.Cecil.Rocks.dll + + + ..\packages\MonoMod.RuntimeDetour.22.3.23.4\lib\net452\MonoMod.RuntimeDetour.dll - - ..\packages\MonoMod.RuntimeDetour.21.8.19.1\lib\net40\MonoMod.RuntimeDetour.dll + + ..\packages\MonoMod.Utils.22.3.23.4\lib\net452\MonoMod.Utils.dll - - ..\packages\MonoMod.Utils.21.8.19.1\lib\net40\MonoMod.Utils.dll + + ..\packages\SemanticVersioning.2.0.2\lib\net45\SemanticVersioning.dll - - - - - - - - ..\packages\Starsand.GameLibs.0.5.2-r.0\lib\netstandard2.0\Unity.TextMeshPro.dll + ..\packages\Starsand.GameLibs.0.8.1-r.0\lib\netstandard2.0\Unity.TextMeshPro.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.AccessibilityModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.AccessibilityModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.AIModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.AIModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.AndroidJNIModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.AndroidJNIModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.AnimationModule.dll - - - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ARModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.AnimationModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.AssetBundleModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.AssetBundleModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.AudioModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.AudioModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ClothModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ClothModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ClusterInputModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ClusterInputModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ClusterRendererModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ClusterRendererModule.dll + + + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ContentLoadModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.CoreModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.CoreModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.CrashReportingModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.CrashReportingModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.DirectorModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.DirectorModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.DSPGraphModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.DSPGraphModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.GameCenterModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.GameCenterModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.GIModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.GIModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.GridModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.GridModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.HotReloadModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.HotReloadModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ImageConversionModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ImageConversionModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.IMGUIModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.IMGUIModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.InputLegacyModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.InputLegacyModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.InputModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.InputModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.JSONSerializeModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.JSONSerializeModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.LocalizationModule.dll - - - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.NVIDIAModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.LocalizationModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ParticleSystemModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ParticleSystemModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.PerformanceReportingModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.PerformanceReportingModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.Physics2DModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.Physics2DModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.PhysicsModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.PhysicsModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ProfilerModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ProfilerModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.ScreenCaptureModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.ScreenCaptureModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.SharedInternalsModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.SharedInternalsModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.SpriteMaskModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.SpriteMaskModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.SpriteShapeModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.SpriteShapeModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.StreamingModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.StreamingModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.SubstanceModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.SubstanceModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.SubsystemsModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.SubsystemsModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TerrainModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TerrainModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TerrainPhysicsModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TerrainPhysicsModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TextCoreFontEngineModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TextCoreFontEngineModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TextCoreTextEngineModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TextCoreTextEngineModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TextRenderingModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TextRenderingModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TilemapModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TilemapModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.TLSModule.dll - - - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UaaLAnalyticsModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.TLSModule.dll - ..\packages\Starsand.GameLibs.0.5.2-r.0\lib\netstandard2.0\UnityEngine.UI.dll + ..\packages\Starsand.GameLibs.0.8.1-r.0\lib\netstandard2.0\UnityEngine.UI.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UIElementsModule.dll - - - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UIElementsNativeModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UIElementsModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UIModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UIModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UmbraModule.dll - - - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UNETModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UmbraModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityAnalyticsModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityAnalyticsModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityConnectModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityConnectModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityCurlModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityCurlModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityTestProtocolModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityTestProtocolModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityWebRequestAssetBundleModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityWebRequestAssetBundleModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityWebRequestAudioModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityWebRequestAudioModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityWebRequestModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityWebRequestModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityWebRequestTextureModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityWebRequestTextureModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.UnityWebRequestWWWModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.UnityWebRequestWWWModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.VehiclesModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.VehiclesModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.VFXModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.VFXModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.VideoModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.VideoModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.VirtualTexturingModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.VirtualTexturingModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.VRModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.VRModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.WindModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.WindModule.dll - ..\packages\UnityEngine.Modules.2021.2.2\lib\net45\UnityEngine.XRModule.dll + ..\packages\UnityEngine.Modules.2022.2.0-alpha.17\lib\net45\UnityEngine.XRModule.dll - - - - - - - - - - - - - - - - + Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}". - + \ No newline at end of file diff --git a/ShowDurability/manifest.json b/ShowDurability/manifest.json index 440a584..69ecf41 100644 --- a/ShowDurability/manifest.json +++ b/ShowDurability/manifest.json @@ -1,7 +1,7 @@ { "name": "ShowDurability", "description": "BepInEx mod for Starsand to show the durability of some tools which have it normally hidden.", - "version_number": "0.0.1", + "version_number": "0.0.2", "dependencies": [ "BepInEx-BepInExPack_Starsand-5.4.16" ], diff --git a/ShowDurability/packages.config b/ShowDurability/packages.config index ea11f4d..2e6c6d1 100644 --- a/ShowDurability/packages.config +++ b/ShowDurability/packages.config @@ -1,12 +1,13 @@  - - - - + + + + - - - - + + + + + \ No newline at end of file