using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using LethalLib.Modules;
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("ModsHima")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ModsHima")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("8edbaffd-b3a6-4c60-9a19-ce0f1bd9c088")]
[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 ModHima;
[BepInPlugin("FirstMod.ModHima", "Lethal Company ModHima", "0.0.0.1")]
public class TutorialModBase : BaseUnityPlugin
{
private const string modGUID = "FirstMod.ModHima";
private const string modName = "Lethal Company ModHima";
private const string modVersion = "0.0.0.1";
private readonly Harmony harmony = new Harmony("FirstMod.ModHima");
private static TutorialModBase Instance;
internal ManualLogSource mls;
private ManualLogSource GetMls()
{
return mls;
}
private void Awake()
{
if ((Object)(object)Instance == (Object)null)
{
Instance = this;
}
string text = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "himabundel");
AssetBundle val = AssetBundle.LoadFromFile(text);
Item val2 = val.LoadAsset<Item>("Assets/Hima/Himaitem.asset");
NetworkPrefabs.RegisterNetworkPrefab(val2.spawnPrefab);
Utilities.FixMixerGroups(val2.spawnPrefab);
Items.RegisterScrap(val2, 75, (LevelTypes)(-1));
TerminalNode val3 = ScriptableObject.CreateInstance<TerminalNode>();
val3.clearPreviousText = true;
val3.displayText = "This is snfo about Himerialis \n\n";
Items.RegisterShopItem(val2, (TerminalNode)null, (TerminalNode)null, val3, 0);
mls = Logger.CreateLogSource("FirstMod.ModHima");
mls.LogInfo((object)"the test mod has awake :)");
harmony.PatchAll(typeof(TutorialModBase));
}
}