using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
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: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: IgnoresAccessChecksTo("")]
[assembly: AssemblyCompany("LC_PLUGIN")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("LC_PLUGIN")]
[assembly: AssemblyTitle("LC_PLUGIN")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
namespace LC_PLUGIN
{
[BepInPlugin("Jisito.ESTAmod", "ESTA mod", "0.0.0.1")]
public class Mod_Class1 : BaseUnityPlugin
{
private const string modGUID = "Jisito.ESTAmod";
private const string modNombre = "ESTA mod";
private const string modVersion = "0.0.0.1";
private readonly Harmony harmony = new Harmony("Jisito.ESTAmod");
private static Mod_Class1 Instance;
public static AssetBundle MisCosas;
private void Awake()
{
if ((Object)(object)Instance == (Object)null)
{
Instance = this;
}
string directoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
MisCosas = AssetBundle.LoadFromFile(Path.Combine(directoryName, "jisito"));
if ((Object)(object)MisCosas == (Object)null)
{
Debug.LogError((object)"Failed sto load custom assets.");
return;
}
((BaseUnityPlugin)this).Logger.LogInfo((object)"PONIENDO MATE COCIDO");
string text = "Assets/Jisito/MateCocidoItem.asset";
Item val = MisCosas.LoadAsset<Item>(text);
NetworkPrefabs.RegisterNetworkPrefab(val.spawnPrefab);
Utilities.FixMixerGroups(val.spawnPrefab);
Items.RegisterScrap(val, 90, (LevelTypes)(-1));
int num = 1;
TerminalNode val2 = ScriptableObject.CreateInstance<TerminalNode>();
val2.clearPreviousText = true;
val2.displayText = "ESTE ES LA INFO DEL COSO ESTE \n\n";
((BaseUnityPlugin)this).Logger.LogInfo((object)"PONIENDO COMIC");
Item val3 = MisCosas.LoadAsset<Item>("Assets/Jisito/ITEM_Comic.asset");
NetworkPrefabs.RegisterNetworkPrefab(val3.spawnPrefab);
Utilities.FixMixerGroups(val3.spawnPrefab);
Items.RegisterScrap(val3, 100, (LevelTypes)(-1));
((BaseUnityPlugin)this).Logger.LogInfo((object)"PONIENDO PINWINO");
val3 = MisCosas.LoadAsset<Item>("Assets/Jisito/ITEM_Pinwino.asset");
NetworkPrefabs.RegisterNetworkPrefab(val3.spawnPrefab);
Utilities.FixMixerGroups(val3.spawnPrefab);
Items.RegisterScrap(val3, 60, (LevelTypes)(-1));
((BaseUnityPlugin)this).Logger.LogInfo((object)"PONIENDO ALGO");
Item val4 = MisCosas.LoadAsset<Item>("Assets/Jisito/ITEM_SunsetPelao.asset");
NetworkPrefabs.RegisterNetworkPrefab(val4.spawnPrefab);
Utilities.FixMixerGroups(val4.spawnPrefab);
Items.RegisterScrap(val4, 50, (LevelTypes)(-1));
((BaseUnityPlugin)this).Logger.LogInfo((object)"PONIENDO OVO");
Item val5 = MisCosas.LoadAsset<Item>("Assets/Jisito/ITEM_SunsetWebo.asset");
NetworkPrefabs.RegisterNetworkPrefab(val5.spawnPrefab);
Utilities.FixMixerGroups(val5.spawnPrefab);
Items.RegisterScrap(val5, 75, (LevelTypes)(-1));
Debug.Log((object)"EL MATE COCIDO ESTA PONIDO");
}
}
public static class PluginInfo
{
public const string PLUGIN_GUID = "LC_PLUGIN";
public const string PLUGIN_NAME = "LC_PLUGIN";
public const string PLUGIN_VERSION = "1.0.0";
}
}
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
internal sealed class IgnoresAccessChecksToAttribute : Attribute
{
public IgnoresAccessChecksToAttribute(string assemblyName)
{
}
}
}