Decompiled source of HuLuoBoScrap v1.1.1

huluoboscrap.dll

Decompiled 7 months ago
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(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("0.0.0.0")]
namespace huluoboScrap;

[BepInPlugin("hlb.huluoboScrap", "huluoboScrap", "1.1.0")]
public class huluoboClass : BaseUnityPlugin
{
	private const string GUID = "hlb.huluoboScrap";

	private const string Name = "huluoboScrap";

	private const string Version = "1.1.0";

	public static huluoboClass instance;

	private void Awake()
	{
		instance = this;
		string text = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "huluoboscrap");
		AssetBundle val = AssetBundle.LoadFromFile(text);
		Item val2 = val.LoadAsset<Item>("Assets/1huluoboscrap/APEX/dadian.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val2.spawnPrefab);
		Utilities.FixMixerGroups(val2.spawnPrefab);
		Items.RegisterScrap(val2, 10, (LevelTypes)1020);
		Items.RegisterScrap(val2, 10, (LevelTypes)1024);
		Item val3 = val.LoadAsset<Item>("Assets/1huluoboscrap/APEX/xiaodian.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val3.spawnPrefab);
		Utilities.FixMixerGroups(val3.spawnPrefab);
		Items.RegisterScrap(val3, 18, (LevelTypes)1020);
		Items.RegisterScrap(val3, 18, (LevelTypes)1024);
		Item val4 = val.LoadAsset<Item>("Assets/1huluoboscrap/VRChat/VRCCat.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val4.spawnPrefab);
		Utilities.FixMixerGroups(val4.spawnPrefab);
		Items.RegisterScrap(val4, 8, (LevelTypes)1020);
		Items.RegisterScrap(val4, 8, (LevelTypes)1024);
		Item val5 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/dressgirl.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val5.spawnPrefab);
		Utilities.FixMixerGroups(val5.spawnPrefab);
		Items.RegisterScrap(val5, 5, (LevelTypes)1020);
		Items.RegisterScrap(val5, 5, (LevelTypes)1024);
		Item val6 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/dilei.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val6.spawnPrefab);
		Utilities.FixMixerGroups(val6.spawnPrefab);
		Items.RegisterScrap(val6, 8, (LevelTypes)1020);
		Items.RegisterScrap(val6, 8, (LevelTypes)1024);
		Item val7 = val.LoadAsset<Item>("Assets/1huluoboscrap/APEX/zhusheqi.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val7.spawnPrefab);
		Utilities.FixMixerGroups(val7.spawnPrefab);
		Items.RegisterScrap(val7, 18, (LevelTypes)1020);
		Items.RegisterScrap(val7, 18, (LevelTypes)1024);
		Item val8 = val.LoadAsset<Item>("Assets/1huluoboscrap/APEX/yiliaoxiang.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val8.spawnPrefab);
		Utilities.FixMixerGroups(val8.spawnPrefab);
		Items.RegisterScrap(val8, 8, (LevelTypes)1020);
		Items.RegisterScrap(val8, 8, (LevelTypes)1024);
		Item val9 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/paotai.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val9.spawnPrefab);
		Utilities.FixMixerGroups(val9.spawnPrefab);
		Items.RegisterScrap(val9, 8, (LevelTypes)1020);
		Items.RegisterScrap(val9, 8, (LevelTypes)1024);
		Item val10 = val.LoadAsset<Item>("Assets/1huluoboscrap/VRChat/VRChat Credit.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val10.spawnPrefab);
		Utilities.FixMixerGroups(val10.spawnPrefab);
		Items.RegisterScrap(val10, 8, (LevelTypes)1020);
		Items.RegisterScrap(val10, 8, (LevelTypes)1024);
		Item val11 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/PalWorldSphere.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val11.spawnPrefab);
		Utilities.FixMixerGroups(val11.spawnPrefab);
		Items.RegisterScrap(val11, 8, (LevelTypes)1020);
		Items.RegisterScrap(val11, 8, (LevelTypes)1024);
		Item val12 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/MinecraftWood.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val12.spawnPrefab);
		Utilities.FixMixerGroups(val12.spawnPrefab);
		Items.RegisterScrap(val12, 8, (LevelTypes)1020);
		Items.RegisterScrap(val12, 8, (LevelTypes)1024);
		Item val13 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/MinecraftRock.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val13.spawnPrefab);
		Utilities.FixMixerGroups(val13.spawnPrefab);
		Items.RegisterScrap(val13, 8, (LevelTypes)1020);
		Items.RegisterScrap(val13, 8, (LevelTypes)1024);
		Item val14 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/MinecraftPlank.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val14.spawnPrefab);
		Utilities.FixMixerGroups(val14.spawnPrefab);
		Items.RegisterScrap(val14, 8, (LevelTypes)1020);
		Items.RegisterScrap(val14, 8, (LevelTypes)1024);
		Item val15 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/MinecraftGlass.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val15.spawnPrefab);
		Utilities.FixMixerGroups(val15.spawnPrefab);
		Items.RegisterScrap(val15, 8, (LevelTypes)1020);
		Items.RegisterScrap(val15, 8, (LevelTypes)1024);
		Item val16 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/MinecraftCraftingTable.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val16.spawnPrefab);
		Utilities.FixMixerGroups(val16.spawnPrefab);
		Items.RegisterScrap(val16, 8, (LevelTypes)1020);
		Items.RegisterScrap(val16, 8, (LevelTypes)1024);
		Item val17 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/MinecraftDirt.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val17.spawnPrefab);
		Utilities.FixMixerGroups(val17.spawnPrefab);
		Items.RegisterScrap(val17, 8, (LevelTypes)1020);
		Items.RegisterScrap(val17, 8, (LevelTypes)1024);
		Item val18 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/yegujirouchuan.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val18.spawnPrefab);
		Utilities.FixMixerGroups(val18.spawnPrefab);
		Items.RegisterScrap(val18, 8, (LevelTypes)1020);
		Items.RegisterScrap(val18, 8, (LevelTypes)1024);
		Item val19 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/yuanshengkfc.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val19.spawnPrefab);
		Utilities.FixMixerGroups(val19.spawnPrefab);
		Items.RegisterScrap(val19, 7, (LevelTypes)1020);
		Items.RegisterScrap(val19, 7, (LevelTypes)1024);
		Item val20 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/xingtiekfc.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val20.spawnPrefab);
		Utilities.FixMixerGroups(val20.spawnPrefab);
		Items.RegisterScrap(val20, 7, (LevelTypes)1020);
		Items.RegisterScrap(val20, 7, (LevelTypes)1024);
		Item val21 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/meiohaopshiguang.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val21.spawnPrefab);
		Utilities.FixMixerGroups(val21.spawnPrefab);
		Items.RegisterScrap(val21, 9, (LevelTypes)1020);
		Items.RegisterScrap(val21, 9, (LevelTypes)1024);
		Item val22 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/maomaokuaidibox.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val22.spawnPrefab);
		Utilities.FixMixerGroups(val22.spawnPrefab);
		Items.RegisterScrap(val22, 9, (LevelTypes)1020);
		Items.RegisterScrap(val22, 9, (LevelTypes)1024);
		Item val23 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/buluojifen.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val23.spawnPrefab);
		Utilities.FixMixerGroups(val23.spawnPrefab);
		Items.RegisterScrap(val23, 9, (LevelTypes)1020);
		Items.RegisterScrap(val23, 9, (LevelTypes)1024);
		Item val24 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/ysyuanshi.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val24.spawnPrefab);
		Utilities.FixMixerGroups(val24.spawnPrefab);
		Items.RegisterScrap(val24, 5, (LevelTypes)1020);
		Items.RegisterScrap(val24, 5, (LevelTypes)1024);
		Item val25 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/ysmora.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val25.spawnPrefab);
		Utilities.FixMixerGroups(val25.spawnPrefab);
		Items.RegisterScrap(val25, 10, (LevelTypes)1020);
		Items.RegisterScrap(val25, 10, (LevelTypes)1024);
		Item val26 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/yspaimenggauntou.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val26.spawnPrefab);
		Utilities.FixMixerGroups(val26.spawnPrefab);
		Items.RegisterScrap(val26, 10, (LevelTypes)1020);
		Items.RegisterScrap(val26, 10, (LevelTypes)1024);
		Item val27 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_Egg.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val27.spawnPrefab);
		Utilities.FixMixerGroups(val27.spawnPrefab);
		Items.RegisterScrap(val27, 10, (LevelTypes)1020);
		Items.RegisterScrap(val27, 10, (LevelTypes)1024);
		Item val28 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_Emerald.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val28.spawnPrefab);
		Utilities.FixMixerGroups(val28.spawnPrefab);
		Items.RegisterScrap(val28, 5, (LevelTypes)1020);
		Items.RegisterScrap(val28, 5, (LevelTypes)1024);
		Item val29 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_Gold_Ingot.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val29.spawnPrefab);
		Utilities.FixMixerGroups(val29.spawnPrefab);
		Items.RegisterScrap(val29, 8, (LevelTypes)1020);
		Items.RegisterScrap(val29, 8, (LevelTypes)1024);
		Item val30 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_Diamond.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val30.spawnPrefab);
		Utilities.FixMixerGroups(val30.spawnPrefab);
		Items.RegisterScrap(val30, 6, (LevelTypes)1020);
		Items.RegisterScrap(val30, 6, (LevelTypes)1024);
		Item val31 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_Torch.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val31.spawnPrefab);
		Utilities.FixMixerGroups(val31.spawnPrefab);
		Items.RegisterScrap(val31, 12, (LevelTypes)1020);
		Items.RegisterScrap(val31, 12, (LevelTypes)1024);
		Item val32 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_Apple.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val32.spawnPrefab);
		Utilities.FixMixerGroups(val32.spawnPrefab);
		Items.RegisterScrap(val32, 12, (LevelTypes)1020);
		Items.RegisterScrap(val32, 12, (LevelTypes)1024);
		Item val33 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft Diamond Block.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val33.spawnPrefab);
		Utilities.FixMixerGroups(val33.spawnPrefab);
		Items.RegisterScrap(val33, 2, (LevelTypes)1020);
		Items.RegisterScrap(val33, 2, (LevelTypes)1024);
		Item val34 = val.LoadAsset<Item>("Assets/1huluoboscrap/Minecraft/Minecraft_chest.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val34.spawnPrefab);
		Utilities.FixMixerGroups(val34.spawnPrefab);
		Items.RegisterScrap(val34, 8, (LevelTypes)1020);
		Items.RegisterScrap(val34, 8, (LevelTypes)1024);
		Item val35 = val.LoadAsset<Item>("Assets/1huluoboscrap/Item/Generator.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val35.spawnPrefab);
		Utilities.FixMixerGroups(val35.spawnPrefab);
		Items.RegisterScrap(val35, 1, (LevelTypes)1020);
		Items.RegisterScrap(val35, 1, (LevelTypes)1024);
		Item val36 = val.LoadAsset<Item>("Assets/1huluoboscrap/shop/ysxiezhuhaihuang.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val36.spawnPrefab);
		Utilities.FixMixerGroups(val36.spawnPrefab);
		TerminalNode val37 = ScriptableObject.CreateInstance<TerminalNode>();
		Items.RegisterShopItem(val36, (TerminalNode)null, (TerminalNode)null, val37, 30);
		val37.clearPreviousText = true;
		val37.displayText = "咸鱼\n\n";
		Item val38 = val.LoadAsset<Item>("Assets/1huluoboscrap/shop/yswuqiewuqi.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val38.spawnPrefab);
		Utilities.FixMixerGroups(val38.spawnPrefab);
		TerminalNode val39 = ScriptableObject.CreateInstance<TerminalNode>();
		Items.RegisterShopItem(val38, (TerminalNode)null, (TerminalNode)null, val39, 30);
		val39.clearPreviousText = true;
		val39.displayText = "雾切\n\n";
		Item val40 = val.LoadAsset<Item>("Assets/1huluoboscrap/shop/Minecraft_Diamond_Sword.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val40.spawnPrefab);
		Utilities.FixMixerGroups(val40.spawnPrefab);
		TerminalNode val41 = ScriptableObject.CreateInstance<TerminalNode>();
		Items.RegisterShopItem(val40, (TerminalNode)null, (TerminalNode)null, val41, 30);
		val41.clearPreviousText = true;
		val41.displayText = "Minecraft_Diamond_Sword\n\n";
		Item val42 = val.LoadAsset<Item>("Assets/1huluoboscrap/shop/Minecraft_Diamond_Pickaxe.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val42.spawnPrefab);
		Utilities.FixMixerGroups(val42.spawnPrefab);
		TerminalNode val43 = ScriptableObject.CreateInstance<TerminalNode>();
		Items.RegisterShopItem(val42, (TerminalNode)null, (TerminalNode)null, val43, 30);
		val43.clearPreviousText = true;
		val43.displayText = "Minecraft_Diamond_Pickaxe\n\n";
		Item val44 = val.LoadAsset<Item>("Assets/1huluoboscrap/shop/Minecraft_Diamond_Axe.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val44.spawnPrefab);
		Utilities.FixMixerGroups(val44.spawnPrefab);
		TerminalNode val45 = ScriptableObject.CreateInstance<TerminalNode>();
		Items.RegisterShopItem(val44, (TerminalNode)null, (TerminalNode)null, val45, 30);
		val45.clearPreviousText = true;
		val45.displayText = "Minecraft_Diamond_Axe\n\n";
		Item val46 = val.LoadAsset<Item>("Assets/1huluoboscrap/shop/shenfaxiaodao.asset");
		NetworkPrefabs.RegisterNetworkPrefab(val46.spawnPrefab);
		Utilities.FixMixerGroups(val46.spawnPrefab);
		TerminalNode val47 = ScriptableObject.CreateInstance<TerminalNode>();
		Items.RegisterShopItem(val46, (TerminalNode)null, (TerminalNode)null, val47, 75);
		val47.clearPreviousText = true;
		val47.displayText = "shenfaxiaodao\n\n";
		Items.RegisterScrap(val46, 7, (LevelTypes)1020);
		Items.RegisterScrap(val46, 7, (LevelTypes)1024);
		UnlockablesList val48 = val.LoadAsset<UnlockablesList>("Assets/1huluoboscrap/Unlock/TV/protv.asset");
		UnlockableItem val49 = val48.unlockables[0];
		NetworkPrefabs.RegisterNetworkPrefab(val49.prefabObject);
		Utilities.FixMixerGroups(val49.prefabObject);
		Unlockables.RegisterUnlockable(val49, (StoreType)2, (TerminalNode)null, (TerminalNode)null, (TerminalNode)null, 0);
	}
}