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 WilsSpeedyShip v1.1.1
SpeedyDropshipMod.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("SpeedyDropshipMod")] [assembly: AssemblyDescription("You'll never wait for The Company's dropship ever again!")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SpeedyDropshipMod")] [assembly: AssemblyCopyright("Copyright © 2024")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("f5a34be3-1f69-4493-baa6-b5938861ac83")] [assembly: AssemblyFileVersion("1.0.0.1")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.1")] namespace SpeedyDropshipMod; [BepInPlugin("WilsSpeedyShip", "Lethal Company Speedy Dropship Mod", "1.0.1")] public class SpeedyShipModBase : BaseUnityPlugin { private readonly Harmony harmony = new Harmony("WilsSpeedyShip"); internal static ManualLogSource mls = Logger.CreateLogSource("WilsSpeedyShip"); private void Awake() { harmony.PatchAll(); mls.LogInfo((object)"The Speedy Dropship Mod is up and running!"); } } [HarmonyPatch(typeof(ItemDropship))] internal class ItemDropship_Patch { [HarmonyPatch("Update")] [HarmonyPrefix] private static void Update_Patch(ItemDropship __instance, Terminal ___terminalScript, StartOfRound ___playersManager) { if (__instance.playersFirstOrder) { __instance.playersFirstOrder = false; __instance.shipTimer = 30f; } if (!___playersManager.shipHasLanded && !__instance.deliveringOrder && (___terminalScript.orderedItemsFromTerminal.Count > 0 || ___terminalScript.orderedVehicleFromTerminal != -1)) { __instance.shipTimer += Time.deltaTime; } } }