Decompiled source of RepoBiggerHauler v1.0.0

BepInEx/plugins/RepoBiggerHauler.dll

Decompiled a day 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.0")]
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
{
	[HarmonyPatch("Start")]
	[HarmonyPostfix]
	private static void Postfix(ItemValuableBox __instance)
	{
		__instance.valueLimit = 50000f;
	}
}