Details

Last Updated
First Uploaded
Downloads
9
Likes
0
Size
16KB
Dependency string
Oksamies3-ShrinkerCart-0.1.0
Dependants
Download

ShrinkerCart.dll

Download (4.2 KB)
using System;using System.Diagnostics;using System.Reflection;using System.Runtime.CompilerServices;using System.Runtime.Versioning;using System.Security;using System.Security.Permissions;using BepInEx;using BepInEx.Logging;using HarmonyLib;using Microsoft.CodeAnalysis;using UnityEngine;[assembly: CompilationRelaxations(8)][assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)][assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)][assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")][assembly: IgnoresAccessChecksTo("Assembly-CSharp")][assembly: AssemblyCompany("ShrinkerCart")][assembly: AssemblyConfiguration("Debug")][assembly: AssemblyDescription("Bigger the item better the shrink!")][assembly: AssemblyFileVersion("0.1.0.0")][assembly: AssemblyInformationalVersion("0.1.0")][assembly: AssemblyProduct("ShrinkerCart")][assembly: AssemblyTitle("ShrinkerCart")][assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)][assembly: AssemblyVersion("0.1.0.0")][module: UnverifiableCode][module: RefSafetyRules(11)]namespace Microsoft.CodeAnalysis{	[CompilerGenerated]	[Microsoft.CodeAnalysis.Embedded]	internal sealed class EmbeddedAttribute : Attribute	{	}}namespace System.Runtime.CompilerServices{	[CompilerGenerated]	[Microsoft.CodeAnalysis.Embedded]	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]	internal sealed class RefSafetyRulesAttribute : Attribute	{		public readonly int Version;		public RefSafetyRulesAttribute(int P_0)		{			Version = P_0;		}	}}namespace ShrinkerCart{	[BepInPlugin("Oksamies.ShrinkerCart", "ShrinkerCart", "0.1.0")]	public class Plugin : BaseUnityPlugin	{		[HarmonyPatch(typeof(PhysGrabCart), "ObjectsInCart")]		public class AwakePatch		{			public static void Postfix(PhysGrabCart __instance)			{				//IL_00f3: Unknown result type (might be due to invalid IL or missing references)				//IL_0120: Unknown result type (might be due to invalid IL or missing references)				//IL_0134: Unknown result type (might be due to invalid IL or missing references)				//IL_0139: Unknown result type (might be due to invalid IL or missing references)				if (!Object.op_Implicit((Object)(object)__instance))				{					return;				}				PhysGrabCart component = ((Component)__instance).GetComponent<PhysGrabCart>();				if (!Object.op_Implicit((Object)(object)component))				{					return;				}				foreach (PhysGrabObject item in ((Component)__instance).GetComponent<PhysGrabCart>().itemsInCart)				{					float num = 0.81f;					if (item.massOriginal > 1f)
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.