Some mods may be broken due to the recent Alloyed Collective update.
Decompiled source of NoMoreLunars v1.0.1
NoMoreLunars.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 Microsoft.CodeAnalysis; using On.RoR2; using RoR2; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] [assembly: AssemblyCompany("NoMoreLunars")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("NoMoreLunars")] [assembly: AssemblyTitle("NoMoreLunars")] [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 NoMoreLunars { [BepInPlugin("com.score.NoMoreLunars", "NoMoreLunars", "1.0.0")] public class NoMoreLunarsPlugin : BaseUnityPlugin { [Serializable] [CompilerGenerated] private sealed class <>c { public static readonly <>c <>9 = new <>c(); public static hook_RefreshLunarCombinedDropList <>9__4_0; internal void <Awake>b__4_0(orig_RefreshLunarCombinedDropList orig, Run sender) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) orig.Invoke(sender); sender.availableLunarCombinedDropList.Clear(); sender.availableLunarCombinedDropList.Add(PickupCatalog.FindPickupIndex(Items.LunarTrinket.itemIndex)); } } public const string PluginGUID = "com.score.NoMoreLunars"; public const string PluginAuthor = "score"; public const string PluginName = "NoMoreLunars"; public const string PluginVersion = "1.0.0"; public void Awake() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_0019: Unknown result type (might be due to invalid IL or missing references) //IL_001f: Expected O, but got Unknown object obj = <>c.<>9__4_0; if (obj == null) { hook_RefreshLunarCombinedDropList val = delegate(orig_RefreshLunarCombinedDropList orig, Run sender) { //IL_001d: Unknown result type (might be due to invalid IL or missing references) //IL_0022: Unknown result type (might be due to invalid IL or missing references) orig.Invoke(sender); sender.availableLunarCombinedDropList.Clear(); sender.availableLunarCombinedDropList.Add(PickupCatalog.FindPickupIndex(Items.LunarTrinket.itemIndex)); }; <>c.<>9__4_0 = val; obj = (object)val; } Run.RefreshLunarCombinedDropList += (hook_RefreshLunarCombinedDropList)obj; } } }