mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Todo: * BTR trader services requires implementation server-side * Send items to player stash (2x4) * Provide covering fire * Taxi to a specific location on Streets * Fix turret aiming at player from raid start * Make turret shoot at enemies (including player) Co-authored-by: Nympfonic <arys.steam@gmail.com> Reviewed-on: SPT-AKI/Modules#52 Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com> Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
using System;
|
|
using Aki.Common;
|
|
using Aki.Debugging.BTR.Patches;
|
|
using Aki.Debugging.Patches;
|
|
using BepInEx;
|
|
|
|
namespace Aki.Debugging
|
|
{
|
|
[BepInPlugin("com.spt-aki.debugging", "AKI.Debugging", AkiPluginInfo.PLUGIN_VERSION)]
|
|
public class AkiDebuggingPlugin : BaseUnityPlugin
|
|
{
|
|
public void Awake()
|
|
{
|
|
Logger.LogInfo("Loading: Aki.Debugging");
|
|
|
|
try
|
|
{
|
|
new EndRaidDebug().Enable();
|
|
// new CoordinatesPatch().Enable();
|
|
// new StaticLootDumper().Enable();
|
|
new BTRPathLoadPatch().Enable();
|
|
new BTRActivateTraderDialogPatch().Enable();
|
|
new BTRInteractionPatch().Enable();
|
|
new BTRExtractPassengersPatch().Enable();
|
|
new BTRBotAttachPatch().Enable();
|
|
new BTRBotInitPatch().Enable();
|
|
new BTRIsDoorsClosedPath().Enable();
|
|
new BTRPatch().Enable();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Logger.LogError($"{GetType().Name}: {ex}");
|
|
throw;
|
|
}
|
|
|
|
Logger.LogInfo("Completed: Aki.Debugging");
|
|
}
|
|
}
|
|
}
|