Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of Soft Shovel v1.0.1
SoftShovel.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using SoftShovel.Patches; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("SoftShovel")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SoftShovel")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("bfe3a0b5-586b-4fe4-9f1f-2da9eedd7e1f")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace SoftShovel { [BepInPlugin("Rhonarr.SoftShovel", "Soft Shovel", "1.0.0.0")] public class SoftShovel : BaseUnityPlugin { private const string modGUID = "Rhonarr.SoftShovel"; private const string modName = "Soft Shovel"; private const string modVersion = "1.0.0.0"; private readonly Harmony harmony = new Harmony("Rhonarr.SoftShovel"); private static SoftShovel Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Rhonarr.SoftShovel"); mls.LogInfo((object)"Soft Shovel is awake"); harmony.PatchAll(typeof(SoftShovel)); harmony.PatchAll(typeof(ShovelPatch)); } } } namespace SoftShovel.Patches { [HarmonyPatch(typeof(Shovel))] internal class ShovelPatch { [HarmonyPatch("HitShovel")] [HarmonyPostfix] private static void damageReductionPatch(ref int ___shovelHitForce) { ___shovelHitForce = 0; } } }