using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
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 = "")]
[assembly: AssemblyCompany("LethalCodZombiesMod")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("LethalCodZombiesMod")]
[assembly: AssemblyTitle("LethalCodZombiesMod")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace LethalCodZombiesMod;
[BepInPlugin("malco.itemTutorial", "Cod Zombies Items", "1.0.3")]
public class Plugin : BaseUnityPlugin
{
private const string GUID = "malco.itemTutorial";
private const string NAME = "Cod Zombies Items";
private const string VERSION = "1.0.3";
public static Plugin instance;
private void Awake()
{
instance = this;
string text = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "lethalcodzombies");
AssetBundle val = AssetBundle.LoadFromFile(text);
Item val2 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_deadshot/can_deadshot.asset");
NetworkPrefabs.RegisterNetworkPrefab(val2.spawnPrefab);
Utilities.FixMixerGroups(val2.spawnPrefab);
Items.RegisterScrap(val2, 16, (LevelTypes)(-1));
Item val3 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_elemental/can_elemental.asset");
NetworkPrefabs.RegisterNetworkPrefab(val3.spawnPrefab);
Utilities.FixMixerGroups(val3.spawnPrefab);
Items.RegisterScrap(val3, 11, (LevelTypes)(-1));
Item val4 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_juggernog/can_juggernog.asset");
NetworkPrefabs.RegisterNetworkPrefab(val4.spawnPrefab);
Utilities.FixMixerGroups(val4.spawnPrefab);
Items.RegisterScrap(val4, 12, (LevelTypes)(-1));
Item val5 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_mule_kick/can_mule_kick.asset");
NetworkPrefabs.RegisterNetworkPrefab(val5.spawnPrefab);
Utilities.FixMixerGroups(val5.spawnPrefab);
Items.RegisterScrap(val5, 10, (LevelTypes)(-1));
Item val6 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_perception/can_perception.asset");
NetworkPrefabs.RegisterNetworkPrefab(val6.spawnPrefab);
Utilities.FixMixerGroups(val6.spawnPrefab);
Items.RegisterScrap(val6, 14, (LevelTypes)(-1));
Item val7 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_phd_slider/can_phd_slider.asset");
NetworkPrefabs.RegisterNetworkPrefab(val7.spawnPrefab);
Utilities.FixMixerGroups(val7.spawnPrefab);
Items.RegisterScrap(val7, 14, (LevelTypes)(-1));
Item val8 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_quick_revive/can_quick_revive.asset");
NetworkPrefabs.RegisterNetworkPrefab(val8.spawnPrefab);
Utilities.FixMixerGroups(val8.spawnPrefab);
Items.RegisterScrap(val8, 16, (LevelTypes)(-1));
Item val9 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_speed_cola/can_speed_cola.asset");
NetworkPrefabs.RegisterNetworkPrefab(val9.spawnPrefab);
Utilities.FixMixerGroups(val9.spawnPrefab);
Items.RegisterScrap(val9, 12, (LevelTypes)(-1));
Item val10 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_stamina_up/can_stamina_up.asset");
NetworkPrefabs.RegisterNetworkPrefab(val10.spawnPrefab);
Utilities.FixMixerGroups(val10.spawnPrefab);
Items.RegisterScrap(val10, 14, (LevelTypes)(-1));
Item val11 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/can_tombstone/can_tombstone.asset");
NetworkPrefabs.RegisterNetworkPrefab(val11.spawnPrefab);
Utilities.FixMixerGroups(val11.spawnPrefab);
Items.RegisterScrap(val11, 14, (LevelTypes)(-1));
Item val12 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/ray_gun/ray_gun.asset");
NetworkPrefabs.RegisterNetworkPrefab(val12.spawnPrefab);
Utilities.FixMixerGroups(val12.spawnPrefab);
Items.RegisterScrap(val12, 7, (LevelTypes)(-1));
Item val13 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/monkey_bomb/monkey_bomb.asset");
NetworkPrefabs.RegisterNetworkPrefab(val13.spawnPrefab);
Utilities.FixMixerGroups(val13.spawnPrefab);
Items.RegisterScrap(val13, 10, (LevelTypes)(-1));
Item val14 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/waffe/waffe.asset");
NetworkPrefabs.RegisterNetworkPrefab(val14.spawnPrefab);
Utilities.FixMixerGroups(val14.spawnPrefab);
Items.RegisterScrap(val14, 9, (LevelTypes)(-1));
Item val15 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/teddy/teddy.asset");
NetworkPrefabs.RegisterNetworkPrefab(val15.spawnPrefab);
Utilities.FixMixerGroups(val15.spawnPrefab);
Items.RegisterScrap(val15, 12, (LevelTypes)(-1));
Item val16 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/powerups/carp.asset");
NetworkPrefabs.RegisterNetworkPrefab(val16.spawnPrefab);
Utilities.FixMixerGroups(val16.spawnPrefab);
Items.RegisterScrap(val16, 12, (LevelTypes)(-1));
Item val17 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/powerups/double.asset");
NetworkPrefabs.RegisterNetworkPrefab(val17.spawnPrefab);
Utilities.FixMixerGroups(val17.spawnPrefab);
Items.RegisterScrap(val17, 12, (LevelTypes)(-1));
Item val18 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/powerups/insta.asset");
NetworkPrefabs.RegisterNetworkPrefab(val18.spawnPrefab);
Utilities.FixMixerGroups(val18.spawnPrefab);
Items.RegisterScrap(val18, 14, (LevelTypes)(-1));
Item val19 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/powerups/nuke.asset");
NetworkPrefabs.RegisterNetworkPrefab(val19.spawnPrefab);
Utilities.FixMixerGroups(val19.spawnPrefab);
Items.RegisterScrap(val19, 10, (LevelTypes)(-1));
Item val20 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/powerups/sale.asset");
NetworkPrefabs.RegisterNetworkPrefab(val20.spawnPrefab);
Utilities.FixMixerGroups(val20.spawnPrefab);
Items.RegisterScrap(val20, 10, (LevelTypes)(-1));
Item val21 = val.LoadAsset<Item>("Assets/LethalCodZombies/Items/Scraps/powerups/ammo.asset");
NetworkPrefabs.RegisterNetworkPrefab(val21.spawnPrefab);
Utilities.FixMixerGroups(val21.spawnPrefab);
Items.RegisterScrap(val21, 10, (LevelTypes)(-1));
((BaseUnityPlugin)this).Logger.LogInfo((object)"Cod Zombie Items Added");
}
}