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 InfiniteEnergyCrystals v2.1.1
InfiniteEnergyCrystals.dll
Decompiled 9 months agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; using InfiniteEnergyCrystals.Patches; 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("InfiniteEnergyCrystals")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InfiniteEnergyCrystals")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("99ce15e6-4b2f-4ed8-a877-c91455d6b8b9")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace InfiniteEnergyCrystals { [BepInPlugin("Lazarus.infiniteenergycrystals", "InfiniteEnergyCrystals", "1.0.1")] public class Plugin : BaseUnityPlugin { public const string modGUID = "Lazarus.infiniteenergycrystals"; public const string modName = "InfiniteEnergyCrystals"; public const string modVersion = "1.0.1"; private readonly Harmony harmony = new Harmony("Lazarus.infiniteenergycrystals"); public void Awake() { ((BaseUnityPlugin)this).Logger.LogInfo((object)"John 11:11!"); ((BaseUnityPlugin)this).Logger.LogInfo((object)"WAKEY WAKEY!"); harmony.PatchAll(typeof(ChargeRatePatch)); } } } namespace InfiniteEnergyCrystals.Patches { [HarmonyPatch(typeof(ChargingStation))] internal class ChargeRatePatch { [HarmonyPatch("ChargeAreaCheck")] [HarmonyPrefix] private static bool Patch(ref float ___chargeFloat, ref int ___chargeTotal, ref int ___chargeInt) { ___chargeFloat = 1f; ___chargeTotal = 100; ___chargeInt = 6; Debug.Log((object)$"InfiniteEnergyCrystals: Set chargeFloat={___chargeFloat}, chargeTotal={___chargeTotal}, chargeInt={___chargeInt}"); return true; } } }