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 HelminthHatcheryFix v1.0.1
plugins/HelminthFix.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 HG.Reflection; using Microsoft.CodeAnalysis; using UnityEngine; using UnityEngine.Rendering.PostProcessing; using UnityEngine.SceneManagement; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: OptIn] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("HelminthFix")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0+024f2a30ad9acdaad29b28fdb7dc339e4dc6d033")] [assembly: AssemblyProduct("HelminthFix")] [assembly: AssemblyTitle("HelminthFix")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] [module: UnverifiableCode] 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 HelminthFix { [BepInPlugin("groovesalad.HelminthFix", "HelminthFix", "1.0.0")] public class HelminthFixPlugin : BaseUnityPlugin { public const string GUID = "groovesalad.HelminthFix"; public const string NAME = "HelminthFix"; public const string VERSION = "1.0.0"; private void Awake() { SceneManager.sceneLoaded += SceneLoaded; } private void SceneLoaded(Scene scene, LoadSceneMode loadSceneMode) { if (!(((Scene)(ref scene)).name == "helminthroost")) { return; } GameObject val = Array.Find(((Scene)(ref scene)).GetRootGameObjects(), (GameObject x) => ((Object)x).name == "HOLDER: Lighting"); if (Object.op_Implicit((Object)(object)val)) { Transform val2 = val.transform.Find("Weather, Helminthroost/PP + Amb"); PostProcessVolume val3 = default(PostProcessVolume); if (Object.op_Implicit((Object)(object)val2) && ((Component)val2).TryGetComponent<PostProcessVolume>(ref val3)) { val3.priority = 5f; } } } } }