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 CapybaraScrapLL v1.0.2
BepInEx/plugins/CapybaraModLL/CapybaraModLL.dll
Decompiled 2 years agousing 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 LethalLib.Modules; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("CapybaraModLL")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyDescription("Adds the friendly creatures to the game, now using LethalLib!")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("CapybaraModLL")] [assembly: AssemblyTitle("CapybaraModLL")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] namespace CapybaraModLL; [BepInPlugin("CapybaraModLL", "CapybaraModLL", "1.0.0")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class Plugin : BaseUnityPlugin { private void Awake() { AssetBundle obj = AssetBundle.LoadFromFile(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "capybaramod")); int num = 40; int num2 = 25; Item obj2 = obj.LoadAsset<Item>("Assets/CapybaraMod/Scrap/Capybara/capybara.asset"); Utilities.FixMixerGroups(obj2.spawnPrefab); NetworkPrefabs.RegisterNetworkPrefab(obj2.spawnPrefab); Items.RegisterScrap(obj2, num, (LevelTypes)(-1)); Item obj3 = obj.LoadAsset<Item>("Assets/CapybaraMod/Scrap/Kiwi/kiwi.asset"); Utilities.FixMixerGroups(obj3.spawnPrefab); NetworkPrefabs.RegisterNetworkPrefab(obj3.spawnPrefab); Items.RegisterScrap(obj3, num2, (LevelTypes)(-1)); ((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin CapybaraModLL is loaded!"); } } public static class PluginInfo { public const string PLUGIN_GUID = "CapybaraModLL"; public const string PLUGIN_NAME = "CapybaraModLL"; public const string PLUGIN_VERSION = "1.0.0"; }