The BepInExPack for PEAK has not been set up for the mod manager yet. Please manually install it here. The console will not appear when launching like it does for other games on Thunderstore.
Decompiled source of InfiniteStamina v1.0.2
InfiniteStamina.dll
Decompiled 4 days agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; 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("FirstMod")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("DESKTOP-")] [assembly: AssemblyProduct("FirstMod")] [assembly: AssemblyCopyright("Copyright © DESKTOP- 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("d943ae64-233e-46dd-a60c-18c6117a6b2a")] [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 InfiniteStamina; [BepInPlugin("com.mathis.infinitestamina", "Infinite Stamina Mod", "1.0.0")] public class InfiniteStaminaMod : BaseUnityPlugin { private void Awake() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_000c: Expected O, but got Unknown Harmony val = new Harmony("com.mathis.infinitestamina"); val.PatchAll(Assembly.GetExecutingAssembly()); } } [HarmonyPatch(typeof(Character), "UseStamina")] public class StaminaUsePatch { private static void Postfix(Character __instance) { if ((Object)(object)__instance == (Object)(object)Character.localCharacter) { __instance.data.currentStamina = 1f; } } }