Please disclose if your mod was created primarily 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 UnlimitedOrbs v1.0.3
UnlimitedOrbCap.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; using UnlimitedOrbCap.Patches; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("UnlimitedOrbCap")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("UnlimitedOrbCap")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("4b9ca027-bfc0-4b7f-9d5f-c0d8829fc501")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace UnlimitedOrbCap { [BepInPlugin("RavenMother.OrbCap", "Remove Monster Orb Cap", "1.0.2")] public class OrbBase : BaseUnityPlugin { private const string modGUID = "RavenMother.OrbCap"; private const string modName = "Remove Monster Orb Cap"; private const string modVersion = "1.0.2"; private readonly Harmony harmony = new Harmony("RavenMother.OrbCap"); private static OrbBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("RavenMother.OrbCap"); mls.LogInfo((object)"The Orb Awakens"); harmony.PatchAll(typeof(OrbBase)); harmony.PatchAll(typeof(EnemyValuablePatch)); } } } namespace UnlimitedOrbCap.Patches { [HarmonyPatch(typeof(EnemyHealth))] public class EnemyValuablePatch { [HarmonyPostfix] [HarmonyPatch("Awake")] public static void ModifySpawnValuableMax(EnemyHealth __instance) { __instance.spawnValuableMax = int.MaxValue; } } }