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 MoreValue v1.0.1
MoreValue.dll
Decompiled 4 months 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; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("MoreValue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("MoreValue")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("d67c3d05-44fe-4260-bd8d-65d3eae2bc4c")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace MoreValue { [BepInPlugin("Patt.MoreValue", "MoreValue", "1.0.0")] public class ObjectValues : BaseUnityPlugin { private const string modGUID = "Patt.MoreValue"; private const string modName = "MoreValue"; private const string modVersion = "1.0.0"; private readonly Harmony harmony = new Harmony("Patt.MoreValue"); private static ObjectValues Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Patt.MoreValue"); mls.LogInfo((object)"More Value is loading..."); harmony.PatchAll(); mls.LogInfo((object)"More Value Loaded successfully!"); } } } namespace MoreValue.MoreValuePatch { [HarmonyPatch(typeof(ValuableObject))] internal class ValuableObjectPatch { [HarmonyPatch("DollarValueSetLogic")] [HarmonyPostfix] private static void IncreaseObjectValuePatch(ref float ___dollarValueCurrent, ref float ___dollarValueOriginal) { ___dollarValueCurrent *= 2f; ___dollarValueOriginal *= 2f; } } }