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 Frisbee v1.0.5
Frizzbee dependencies.dll
Decompiled 10 months 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.Configuration; 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("Frizzbee dependencies")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Frizzbee dependencies")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("b4bd11df-1c87-4390-9600-40b8e5dc00c2")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace Frizzbee_dependencies; [BepInPlugin("TreyFrizzBee", "FrizzBee", "1.0.4")] public class Plugin : BaseUnityPlugin { private const string GUID = "TreyFrizzBee"; private const string NAME = "FrizzBee"; private const string VERSION = "1.0.4"; public static Plugin instance; private void Awake() { instance = this; string text = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "itemmod0"); AssetBundle val = AssetBundle.LoadFromFile(text); ConfigEntry<int> val2 = ((BaseUnityPlugin)this).Config.Bind<int>("General", "Rarity", 69, "Higher means more common."); ConfigEntry<int> val3 = ((BaseUnityPlugin)this).Config.Bind<int>("General", "MaxValue", 100, "Determines the Max value of the Scrap. (Note: The max number does not mean the max amount of credits, it's a little skewed. So 100 would be around 50.)"); ConfigEntry<int> val4 = ((BaseUnityPlugin)this).Config.Bind<int>("General", "MinValue", 80, "Determines the Min value of the Scrap. (Note: The min number does not mean the min amount of credits, it's a little skewed. So 80 would be around 30.)"); Item val5 = val.LoadAsset<Item>("Assets/ModelsTrey/FrizzBee/FrizzBeeScript.asset"); NetworkPrefabs.RegisterNetworkPrefab(val5.spawnPrefab); Utilities.FixMixerGroups(val5.spawnPrefab); Items.RegisterScrap(val5, val2.Value, (LevelTypes)(-1)); val5.minValue = val4.Value; val5.maxValue = val3.Value; ConfigEntry<int> val6 = ((BaseUnityPlugin)this).Config.Bind<int>("General", "Friscoin Rarity", 35, "Higher means more common."); ConfigEntry<int> val7 = ((BaseUnityPlugin)this).Config.Bind<int>("General", "Friscoin MinValue", 150, "Determines the Min value of the Scrap. (Note: The min number does not mean the min amount of credits, it's a little skewed. So 150 would be around 60.)"); ConfigEntry<int> val8 = ((BaseUnityPlugin)this).Config.Bind<int>("General", "Friscoin MaxValue", 210, "Determines the Max value of the Scrap. (Note: The max number does not mean the max amount of credits, it's a little skewed. So 210 would be around idk.. 90?.)"); Item val9 = val.LoadAsset<Item>("Assets/ModelsTrey/FrizzBee/Friscoin Item/FriscoinScrpt.asset"); NetworkPrefabs.RegisterNetworkPrefab(val9.spawnPrefab); Utilities.FixMixerGroups(val9.spawnPrefab); Items.RegisterScrap(val9, val6.Value, (LevelTypes)(-1)); val9.minValue = val7.Value; val9.maxValue = val8.Value; ((BaseUnityPlugin)this).Logger.LogInfo((object)"Frisbee and Friscoin Loaded!"); } } internal class keyframe { private int v1; private int v2; public keyframe(int v1, int v2) { this.v1 = v1; this.v2 = v2; } }