Decompiled source of RepoBiggerHauler v1.0.1

BepInEx\plugins\RepoBiggerHauler.dll

Decompiled a month ago
using System.Reflection;
using System.Runtime.CompilerServices;
using BepInEx;
using HarmonyLib;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: AssemblyVersion("0.0.0.0")]
namespace RepoBiggerHauler;

[BepInPlugin("com.repo.biggerhauler", "Bigger Hauler", "1.0.1")]
public class BiggerHaulerPlugin : BaseUnityPlugin
{
	private void Awake()
	{
		((BaseUnityPlugin)this).Logger.LogInfo((object)"Bigger Hauler loaded. Patching ItemValuableBox value limit...");
		Harmony.CreateAndPatchAll(typeof(ItemValuableBoxPatch), (string)null);
	}
}
[HarmonyPatch(typeof(ItemValuableBox))]
public class ItemValuableBoxPatch
{
	[HarmonyPostfix]
	[HarmonyPriority(0)]
	[HarmonyPatch("Start")]
	private static void Postfix(ItemValuableBox __instance)
	{
		__instance.valueLimit = 50000f;
	}
}