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 Vanilla Plus Crafting v1.0.2
Exploder.dll
Decompiled a year agousing 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 Microsoft.CodeAnalysis; using Photon.Pun; using REPOAlchemy; 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(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyCompany("Exploder")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("Exploder")] [assembly: AssemblyTitle("Exploder")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.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; } } } public class ClusterBomb : MonoBehaviour { public float explosionradius = 0.8f; public int playerdamage = 50; public int enemydamage = 100; public float forcemult = 4f; public int clusteramount = 6; public GameObject grenadePrefab; private ParticleScriptExplosion particleScriptExplosion; private PhotonView photonView; public Sound soundExplosion; public Sound soundExplosionGlobal; private void Start() { particleScriptExplosion = ((Component)this).GetComponent<ParticleScriptExplosion>(); photonView = ((Component)this).GetComponent<PhotonView>(); } public void ExplosionCluster() { //IL_0102: Unknown result type (might be due to invalid IL or missing references) //IL_0138: Unknown result type (might be due to invalid IL or missing references) //IL_0163: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_003e: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_00af: Unknown result type (might be due to invalid IL or missing references) //IL_00b4: Unknown result type (might be due to invalid IL or missing references) //IL_00b6: Unknown result type (might be due to invalid IL or missing references) //IL_00bb: Unknown result type (might be due to invalid IL or missing references) if (!SemiFunc.IsMultiplayer()) { Vector3 val = default(Vector3); for (int i = 0; i < clusteramount; i++) { ((Vector3)(ref val))..ctor(0f, 0.2f * (float)i, 0f); ItemGrenadeHuman component = Object.Instantiate<GameObject>(grenadePrefab, ((Component)this).transform.position + val, Quaternion.identity).GetComponent<ItemGrenadeHuman>(); component.Initialize(); component.Spawn(); } } else if (SemiFunc.IsMasterClient()) { Vector3 val2 = default(Vector3); for (int j = 0; j < 3; j++) { ((Vector3)(ref val2))..ctor(0f, 0.2f * (float)j, 0f); GameObject val3 = PhotonNetwork.Instantiate("Items/Item Grenade Human", ((Component)this).transform.position + val2, Quaternion.identity, (byte)0, (object[])null); val3.GetComponent<ItemGrenadeHuman>().Initialize(); val3.GetComponent<ItemGrenadeHuman>().Spawn(); } } particleScriptExplosion.Spawn(((Component)this).transform.position, explosionradius, playerdamage, enemydamage, forcemult, false, true, 1f); soundExplosion.Play(((Component)this).transform.position, 1f, 1f, 1f, 1f); soundExplosionGlobal.Play(((Component)this).transform.position, 1f, 1f, 1f, 1f); } } namespace Exploder { internal class Exploder : MonoBehaviour { public int radius = 1; public int playerdamage = 100; public int enemydamage = 200; public int knockbackforcemult = 1; public bool particlesonly = false; public bool disablesound = false; public int screenshakemult = 1; public void Explosion() { //IL_000d: Unknown result type (might be due to invalid IL or missing references) ((Component)this).GetComponent<ParticleScriptExplosion>().Spawn(((Component)this).transform.position, (float)radius, playerdamage, enemydamage, (float)knockbackforcemult, particlesonly, disablesound, (float)screenshakemult); } } [BepInPlugin("Exploder", "Exploder", "1.0.0")] public class Plugin : BaseUnityPlugin { internal static ManualLogSource Logger; private void Awake() { Tools.RegisterIngredientByValuableName("Uranium Mug", "uraniummug", false, false, false, 1f, 1f); Tools.RegisterIngredientByValuableName("Uranium Plate", "uraniumplate", false, false, false, 1f, 1f); Tools.RegisterIngredientByValuableName("Diamond", "diamond", false, false, false, 1f, 1f); Logger = ((BaseUnityPlugin)this).Logger; Logger.LogInfo((object)"Plugin Exploder is loaded!"); } } public static class MyPluginInfo { public const string PLUGIN_GUID = "Exploder"; public const string PLUGIN_NAME = "Exploder"; public const string PLUGIN_VERSION = "1.0.0"; } }
ItemAligner.dll
Decompiled a year agousing 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 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(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyCompany("ItemAligner")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("My first plugin")] [assembly: AssemblyTitle("ItemAligner")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.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 ItemAligner { public class ItemAligner : MonoBehaviour { public static ItemAligner instance; public float grabStrengthMultiplier = 2f; public float torqueMultiplier = 2f; public float grabVerticalOffset = -0.5f; public float aimVerticalOffset = 90f; private PhysGrabObject physGrabObject; public bool activated = true; private void Start() { physGrabObject = ((Component)this).GetComponent<PhysGrabObject>(); } private void Update() { if (activated) { UpdateRotation(); } } private void UpdateRotation() { //IL_0036: Unknown result type (might be due to invalid IL or missing references) //IL_003b: Unknown result type (might be due to invalid IL or missing references) //IL_004b: Unknown result type (might be due to invalid IL or missing references) //IL_0050: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00cd: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) if (!SemiFunc.IsMasterClientOrSingleplayer() || !physGrabObject.grabbed) { return; } Quaternion val = Quaternion.Euler(aimVerticalOffset, 0f, 0f); Quaternion val2 = Quaternion.Euler(0f, 0f, 0f); Quaternion identity = Quaternion.identity; bool flag = false; bool flag2 = false; bool flag3 = true; foreach (PhysGrabber item in physGrabObject.playerGrabbing) { if (flag3) { flag3 = false; } if (item.isRotating) { flag = true; } } if (!flag) { physGrabObject.TurnXYZ(val, val2, identity); } float num = grabVerticalOffset; if (flag2) { num += 0.5f; } physGrabObject.OverrideGrabVerticalPosition(num); if (!flag) { if (grabStrengthMultiplier != 1f) { physGrabObject.OverrideGrabStrength(grabStrengthMultiplier, 0.1f); } if (torqueMultiplier != 1f) { physGrabObject.OverrideTorqueStrength(torqueMultiplier, 0.1f); } } if (flag) { physGrabObject.OverrideAngularDrag(40f, 0.1f); physGrabObject.OverrideTorqueStrength(6f, 0.1f); } } } [BepInPlugin("ItemAligner", "My first plugin", "1.0.0")] public class Plugin : BaseUnityPlugin { internal static ManualLogSource Logger; private void Awake() { Logger = ((BaseUnityPlugin)this).Logger; Logger.LogInfo((object)"Plugin ItemAligner is loaded!"); } } public static class MyPluginInfo { public const string PLUGIN_GUID = "ItemAligner"; public const string PLUGIN_NAME = "My first plugin"; public const string PLUGIN_VERSION = "1.0.0"; } }