Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of HonorwoodsPlushies v1.1.0
plugins/honorwoods.dll
Decompiled 2 weeks agousing 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("honorwoods")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("honorwoods")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("741b0b54-521c-45b8-aa45-046d946691cb")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = "")] [assembly: AssemblyVersion("1.0.0.0")] namespace honorwoods; [BepInPlugin("iheartstriders.honorwoodsplushies", "Honorwoods Plushies", "1.1.0")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class honorwoodsmain : BaseUnityPlugin { private const string modGUID = "iheartstriders.honorwoodsplushies"; private const string modName = "Honorwoods Plushies"; private const string modVersion = "1.1.0"; public static AssetBundle honorwoodsassets; private readonly Harmony harmony = new Harmony("iheartstriders.honorwoodsplushies"); private static honorwoodsmain Instance; internal ManualLogSource mls; private void Awake() { if (Object.op_Implicit((Object)(object)(Instance = null))) { Instance = this; } mls = Logger.CreateLogSource("iheartstriders.honorwoodsplushies"); mls.LogInfo((object)"Honorwoods Plushies has loaded."); harmony.PatchAll(typeof(honorwoodsmain)); string directoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); honorwoodsassets = AssetBundle.LoadFromFile(Path.Combine(directoryName, "honorwoods")); if ((Object)(object)honorwoodsassets == (Object)null) { mls.LogError((object)"Failed to load custom assets."); return; } Item val = honorwoodsassets.LoadAsset<Item>("adam"); NetworkPrefabs.RegisterNetworkPrefab(val.spawnPrefab); Items.RegisterScrap(val, 0, (LevelTypes)256); Items.RegisterScrap(val, 30, (LevelTypes)2048); Items.RegisterScrap(val, 0, (LevelTypes)(-1)); Item val2 = honorwoodsassets.LoadAsset<Item>("sunny"); NetworkPrefabs.RegisterNetworkPrefab(val2.spawnPrefab); Items.RegisterScrap(val2, 0, (LevelTypes)256); Items.RegisterScrap(val2, 20, (LevelTypes)2048); Items.RegisterScrap(val2, 0, (LevelTypes)(-1)); Item val3 = honorwoodsassets.LoadAsset<Item>("trent"); NetworkPrefabs.RegisterNetworkPrefab(val3.spawnPrefab); Items.RegisterScrap(val3, 0, (LevelTypes)256); Items.RegisterScrap(val3, 30, (LevelTypes)64); Items.RegisterScrap(val3, 0, (LevelTypes)(-1)); Item val4 = honorwoodsassets.LoadAsset<Item>("charlie"); NetworkPrefabs.RegisterNetworkPrefab(val4.spawnPrefab); Items.RegisterScrap(val4, 0, (LevelTypes)256); Items.RegisterScrap(val4, 20, (LevelTypes)8); Items.RegisterScrap(val4, 0, (LevelTypes)(-1)); Item val5 = honorwoodsassets.LoadAsset<Item>("weber"); NetworkPrefabs.RegisterNetworkPrefab(val5.spawnPrefab); Items.RegisterScrap(val5, 0, (LevelTypes)256); Items.RegisterScrap(val5, 20, (LevelTypes)32); Items.RegisterScrap(val5, 0, (LevelTypes)(-1)); Item val6 = honorwoodsassets.LoadAsset<Item>("cookie"); NetworkPrefabs.RegisterNetworkPrefab(val6.spawnPrefab); Items.RegisterScrap(val6, 0, (LevelTypes)256); Items.RegisterScrap(val6, 20, (LevelTypes)4); Items.RegisterScrap(val6, 0, (LevelTypes)(-1)); Item val7 = honorwoodsassets.LoadAsset<Item>("kim"); NetworkPrefabs.RegisterNetworkPrefab(val7.spawnPrefab); Items.RegisterScrap(val7, 0, (LevelTypes)256); Items.RegisterScrap(val7, 20, (LevelTypes)16); Items.RegisterScrap(val7, 0, (LevelTypes)(-1)); Item val8 = honorwoodsassets.LoadAsset<Item>("prime"); NetworkPrefabs.RegisterNetworkPrefab(val8.spawnPrefab); Items.RegisterScrap(val8, 0, (LevelTypes)256); Items.RegisterScrap(val8, 1, (LevelTypes)(-1)); } }