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 DisableGrowthMeter v1.0.1
DisableGrowthMeter/DisableGrowthMeter.dll
Decompiled a year agousing System; using 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 Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("DisableGrowthMeter")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("DisableGrowthMeter")] [assembly: AssemblyCopyright("Copyright restorerootfs 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("7b1e7e95-4e01-452a-a09b-442aa6c31b7b")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)] internal sealed class NullableAttribute : Attribute { public readonly byte[] NullableFlags; public NullableAttribute(byte P_0) { NullableFlags = new byte[1] { P_0 }; } public NullableAttribute(byte[] P_0) { NullableFlags = P_0; } } [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] internal sealed class NullableContextAttribute : Attribute { public readonly byte Flag; public NullableContextAttribute(byte P_0) { Flag = P_0; } } } namespace DisableGrowthMeter { [BepInPlugin("restorerootfs.lc.DisableGrowthMeter", "DisableGrowthMeter", "1.0.0")] public class DGMBase : BaseUnityPlugin { private const string modGUID = "restorerootfs.lc.DisableGrowthMeter"; private const string modName = "DisableGrowthMeter"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("restorerootfs.lc.DisableGrowthMeter"); private static DGMBase Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("restorerootfs.lc.DisableGrowthMeter"); string[] array = new string[5] { "If you see errors below this and they mention my mod, God help you.", "You're using the work of a man who has literally never TOUCHED C# ever before. Enjoy the plugin!", "Loaded, GLHF!", "My friends said upload this to Thunderstore don't dotPeek the code and laugh at me please", ".NET is actually a decent framework" }; int num = new Random().Next(array.Length); mls.LogInfo((object)array[num]); harmony.PatchAll(Assembly.GetExecutingAssembly()); } } } namespace DisableGrowthMeter.Patches { [HarmonyPatch(typeof(CaveDwellerAI))] internal class PinGrowthMeterToZero { [HarmonyPatch("Update")] [HarmonyPostfix] private static void pinGrowthMeterToZero(ref float ___growthMeter) { ___growthMeter = 0f; } } }