using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using LethalLib.Modules;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyTitle("MooMooScrap")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MooMooScrap")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("8634ae26-9ef9-48af-bf47-551889156106")]
[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")]
[BepInPlugin("shamburg.MooMooScrap", "MooMoo_Scrap", "1.0.0")]
public class Plugin : BaseUnityPlugin
{
private const string GUID = "shamburg.MooMooScrap";
private const string NAME = "MooMoo_Scrap";
private const string VERSION = "1.0.0";
public static Plugin instance;
private void Awake()
{
instance = this;
Item obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "moomoobundle")).LoadAsset<Item>("Assets/MooMoo/MooMooItem.asset");
NetworkPrefabs.RegisterNetworkPrefab(obj.spawnPrefab);
Utilities.FixMixerGroups(obj.spawnPrefab);
Items.RegisterScrap(obj, 40, (LevelTypes)(-1));
TerminalNode obj2 = ScriptableObject.CreateInstance<TerminalNode>();
obj2.clearPreviousText = true;
obj2.displayText = "moo";
}
}