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 SlippyTadpoles v2.1.2
SlippyTadpoles.dll
Decompiled a year 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 UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("SlippyTadpoles")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SlippyTadpoles")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("b51a6f2c-4d84-4ed1-8805-8e84d09c8727")] [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 Root { [BepInPlugin("Kraut-SlippyTadpoles", "SlippyTadpoles", "2.0.5")] public class Plugin : BaseUnityPlugin { public const string modGUID = "Kraut-SlippyTadpoles"; public const string modName = "SlippyTadpoles"; public const string modVersion = "2.0.5"; public static Plugin PluginInstance; public static ManualLogSource LoggerInstance; private readonly Harmony harmony = new Harmony("Kraut-SlippyTadpoles"); public void Awake() { if ((Object)(object)PluginInstance == (Object)null) { PluginInstance = this; } LoggerInstance = ((BaseUnityPlugin)PluginInstance).Logger; harmony.PatchAll(); } } } namespace SlippyTadpoles { [HarmonyPatch(typeof(FrogTrap))] internal class FrogTrapPatch { [HarmonyPrefix] [HarmonyPatch("Update")] public static void PreFixUpdate(FrogTrap __instance, PhysGrabObject ___physGrabObject, PhysGrabObjectImpactDetector ___impactDetector) { if ((Object)(object)__instance == (Object)null || (Object)(object)___physGrabObject == (Object)null || !___physGrabObject.grabbed || Random.Range(0, 301) != 1) { return; } ___physGrabObject.playerGrabbing.ForEach(delegate(PhysGrabber physGrabber) { if (physGrabber.photonView.IsMine) { ___impactDetector.ImpactDisable(10f); physGrabber.ReleaseObject(0.1f); } }); } } }