using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using Better_Energy_Crystals.Patches;
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("Better Energy Crystals")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Better Energy Crystals")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("120884e0-20cf-4385-bbe7-030294f9e2ec")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyVersion("1.0.0.0")]
[BepInPlugin("Lazarus.betterenergycrystals", "Better Energy Crystals", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
public const string modGUID = "Lazarus.betterenergycrystals";
public const string modName = "Better Energy Crystals";
public const string modVersion = "1.0.0";
private readonly Harmony Harmony = new Harmony("Lazarus.betterenergycrystals");
public void Awake()
{
((BaseUnityPlugin)this).Logger.LogInfo((object)"John 11:11!");
((BaseUnityPlugin)this).Logger.LogInfo((object)"WAKEY WAKEY!");
Harmony.PatchAll(typeof(ChargeRatePatch));
}
}
namespace Better_Energy_Crystals.Patches;
[HarmonyPatch(typeof(ChargingStation))]
internal class ChargeRatePatch
{
[HarmonyPatch("Update")]
[HarmonyPostfix]
private static void patch(ref float ___charge)
{
___charge = 5f;
}
}