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 Infinite Energy v1.0.0
BepInEx/plugins/InfiniteEnergy.dll
Decompiled a day 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; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("InfiniteEnergy")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InfiniteEnergy")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("6d8aeaff-cded-4f1d-8294-64fa1a97e48f")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace InfiniteEnergy; [BepInPlugin("knightmike.infiniteenergy", "Infinite Energy", "1.0.0")] public class Plugin : BaseUnityPlugin { public const string modGUID = "knightmike.infiniteenergy"; public const string modName = "Infinite Energy"; public const string modVersion = "1.0.0"; public static ManualLogSource MLS; private void Awake() { //IL_0011: Unknown result type (might be due to invalid IL or missing references) MLS = ((BaseUnityPlugin)this).Logger; new Harmony("knightmike.infiniteenergy").PatchAll(); ((BaseUnityPlugin)this).Logger.LogInfo((object)"loaded"); } } [HarmonyPatch(typeof(ChargingStation), "Start")] public class ChargingStation_Start { [HarmonyPostfix] private static void Postfix(ref float ___chargeFloat, ref int ___chargeInt, ref float ___chargeRate, ref int ___chargeTotal) { ___chargeFloat = 1f; ___chargeInt = 10; ___chargeRate = 0f; ___chargeTotal = 100; } }