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 Parches 2027Pack000 v1.0.0
BepInEx/plugins/CompatibilidadInventario.dll
Decompiled 3 days agousing System; using System.Reflection; using System.Runtime.CompilerServices; using BepInEx; using BepInEx.Bootstrap; using GameNetcodeStuff; using HarmonyLib; [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: CompilationRelaxations(8)] [assembly: AssemblyVersion("0.0.0.0")] namespace CompatibilidadInventario; [BepInPlugin("lethalpack.compatibilidadinventario", "Compatibilidad del inventario", "1.0.0")] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] public sealed class Plugin : BaseUnityPlugin { private const string Dawn = "com.github.teamxiaolan.dawnlib"; private const string Jacob = "JacobG5.DestroyItemInSlotFix"; private void Awake() { //IL_00ce: Unknown result type (might be due to invalid IL or missing references) if (!Chainloader.PluginInfos["com.github.teamxiaolan.dawnlib"].Metadata.Version.Equals(new Version(0, 9, 27)) || !Chainloader.PluginInfos["JacobG5.DestroyItemInSlotFix"].Metadata.Version.Equals(new Version(1, 0, 0))) { return; } MethodInfo methodInfo = AccessTools.Method(typeof(PlayerControllerB), "DestroyItemInSlot", new Type[1] { typeof(int) }, (Type[])null); Patches patchInfo = Harmony.GetPatchInfo((MethodBase)methodInfo); if (patchInfo == null) { return; } foreach (Patch transpiler in patchInfo.Transpilers) { if (!(transpiler.owner != "JacobG5.DestroyItemInSlotFix") && !(transpiler.PatchMethod.Name != "FindObjectTranspiler")) { new Harmony("lethalpack.compatibilidadinventario").Unpatch((MethodBase)methodInfo, transpiler.PatchMethod); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Inventario preparado con la corrección de DawnLib y sin la sustitución duplicada de JacobG5."); break; } } } }
BepInEx/plugins/OroEnEmpra.dll
Decompiled 3 days agousing System; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; using BepInEx; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: AssemblyVersion("0.0.0.0")] namespace OroEnEmpra; [BepInDependency("LCGoldScrapMod", "2.2.7")] [BepInPlugin("lethalpack.oroenempra", "Oro en Empra", "1.0.0")] public sealed class Plugin : BaseUnityPlugin { internal const int PesoBase = 5; private void Awake() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) new Harmony("lethalpack.oroenempra").PatchAll(typeof(Plugin).Assembly); } internal static bool EsEmpra(SelectableLevel luna) { if ((Object)(object)luna != (Object)null) { if (!string.Equals(luna.PlanetName, "555 Empra", StringComparison.OrdinalIgnoreCase)) { return string.Equals(luna.sceneName, "EmpraScene", StringComparison.OrdinalIgnoreCase); } return true; } return false; } } [HarmonyPatch(typeof(RegisterGoldScrap), "RegisterGoldScrapModded")] internal static class Registro { private static void Postfix() { HashSet<Item> hashSet = new HashSet<Item>(); ItemData[] allGoldGrabbableObjects = GoldScrapPlugin.allGoldGrabbableObjects; foreach (ItemData val in allGoldGrabbableObjects) { if ((Object)(object)val != (Object)null && !val.isStoreItem && (Object)(object)val.itemProperties != (Object)null) { hashSet.Add(val.itemProperties); } } SelectableLevel[] levels = StartOfRound.Instance.levels; foreach (SelectableLevel val2 in levels) { if (!Plugin.EsEmpra(val2) || val2.spawnableScrap == null) { continue; } foreach (SpawnableItemWithRarity item in val2.spawnableScrap) { if (item != null && hashSet.Contains(item.spawnableItem)) { item.rarity = 5; } } } } } [HarmonyPatch(typeof(RarityManager), "CalculateRarity")] internal static class Recalculo { private static void Postfix(SelectableLevel __1, ref int __result) { if (Plugin.EsEmpra(__1)) { __result *= 5; } } }
BepInEx/plugins/RutasInicialesWesley.dll
Decompiled 3 days agousing System.Reflection; using System.Runtime.CompilerServices; using BepInEx; using HarmonyLib; using LethalLevelLoader; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: AssemblyVersion("0.0.0.0")] namespace RutasInicialesWesley; [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("lethalpack.rutasinicialeswesley", "Rutas iniciales de Wesley", "1.0.0")] public sealed class Plugin : BaseUnityPlugin { private void Awake() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) new Harmony("lethalpack.rutasinicialeswesley").PatchAll(typeof(Plugin).Assembly); } internal static void AbrirRutaInicial(ExtendedLevel destino) { if (!((Object)(object)destino == (Object)null) && !((Object)(object)destino.SelectableLevel == (Object)null)) { switch (destino.SelectableLevel.sceneName) { case "Asteroid13Scene": case "InfernisScene": case "MotraScene": destino.IsRouteHidden = false; destino.IsRouteLocked = false; break; } } } } [HarmonyPatch(typeof(PatchedContent), "PopulateContentDictionaries")] internal static class RutasDelCatalogo { [HarmonyPostfix] [HarmonyAfter(new string[] { "JacobG5.WesleyMoonScripts" })] private static void Postfix() { foreach (ExtendedLevel extendedLevel in PatchedContent.ExtendedLevels) { Plugin.AbrirRutaInicial(extendedLevel); } } } [HarmonyPatch(typeof(ExtendedLevelData), "ApplySavedValues")] internal static class RutasDelGuardado { [HarmonyPostfix] private static void Postfix(ExtendedLevel extendedLevel) { Plugin.AbrirRutaInicial(extendedLevel); } }