using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: AssemblyTitle("NormalBaby")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NormalBaby")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("4ebdbb92-e75f-48e6-8ddb-b76a00019ef6")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace NormalBaby
{
[BepInPlugin("Zorfi.NormalBaby", "Normal Baby", "1.0.0")]
public class NormalBabyBase : BaseUnityPlugin
{
private const string modGUID = "Zorfi.NormalBaby";
private const string modName = "Normal Baby";
private const string modVersion = "1.0.0";
private readonly Harmony harmony = new Harmony("Zorfi.NormalBaby");
private static NormalBabyBase Instance;
internal ManualLogSource mls;
private void Awake()
{
if ((Object)(object)Instance == (Object)null)
{
Instance = this;
}
mls = Logger.CreateLogSource("Zorfi.NormalBaby");
mls.LogInfo((object)" _ _ _ ____ _ _ __ \r\n | \\ | | | | | _ \\ | | (_) / / _ \r\n | \\| | ___ _ __ _ __ ___ __ _| | | |_) | __ _| |__ _ ___ ___ | | (_)\r\n | . ` |/ _ \\| '__| '_ ` _ \\ / _` | | | _ < / _` | '_ \\| |/ _ \\/ __| | | \r\n | |\\ | (_) | | | | | | | | (_| | | | |_) | (_| | |_) | | __/\\__ \\ | | _ \r\n |_| \\_|\\___/|_| |_| |_| |_|\\__,_|_| |____/ \\__,_|_.__/|_|\\___||___/ | | (_)\r\n \\_\\ _ _ _ ____ _ _ __ \r\n | \\ | | | | | _ \\ | | (_) / / _ \r\n | \\| | ___ _ __ _ __ ___ __ _| | | |_) | __ _| |__ _ ___ ___ | | (_)\r\n | . ` |/ _ \\| '__| '_ ` _ \\ / _` | | | _ < / _` | '_ \\| |/ _ \\/ __| | | \r\n | |\\ | (_) | | | | | | | | (_| | | | |_) | (_| | |_) | | __/\\__ \\ | | _ \r\n |_| \\_|\\___/|_| |_| |_| |_|\\__,_|_| |____/ \\__,_|_.__/|_|\\___||___/ | | (_)\r\n \\_\\ ");
harmony.PatchAll();
}
}
}
namespace NormalBaby.patches
{
[HarmonyPatch(typeof(CaveDwellerAI))]
[HarmonyPatch("TransformIntoAdult")]
internal class PreventAdulthood
{
private static bool Prefix()
{
return false;
}
}
}