Fixed knight ghost to sprint when you ain't looking Fixed Gohei to detect enemies
46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using BepInEx;
|
|
using BepInEx.Bootstrap;
|
|
using ScarletMansion.Configs;
|
|
|
|
namespace ScarletMansion.ModPatch {
|
|
public class ModCompability {
|
|
|
|
//public const string advancedCompanyGuid = "com.potatoepet.AdvancedCompany";
|
|
public const string lethalConfigGuid = "ainavt.lc.lethalconfig";
|
|
public const string facilityMeldownGuid = "me.loaforc.facilitymeltdown";
|
|
public const string reserveFlashlightGuid = "FlipMods.ReservedFlashlightSlot";
|
|
public const string reserveKeyGuid = "Rogue.ReservedKeySlot";
|
|
|
|
public static readonly ModPatch[] modPatches = new ModPatch[] {
|
|
//new AdvancedCompanyPatch(advancedCompanyGuid),
|
|
new LethalConfigPatch<ConfigMain>(lethalConfigGuid),
|
|
new LethalConfigPatch<ConfigDungeonFoyer>(lethalConfigGuid),
|
|
new LethalConfigPatch<ConfigDungeonBasement>(lethalConfigGuid),
|
|
|
|
new FacilityMeltdownPatch(facilityMeldownGuid),
|
|
new ReservedFlashlightPatch(reserveFlashlightGuid),
|
|
new ReservedKeyPatch(reserveKeyGuid)
|
|
};
|
|
|
|
|
|
public static void GetActiveMods(){
|
|
foreach(var m in modPatches)
|
|
m.CheckIfActive();
|
|
}
|
|
|
|
public static void ActivateActiveMods(){
|
|
foreach(var m in modPatches)
|
|
m.Activate();
|
|
}
|
|
|
|
public static int GetStartOfRoundScriptLength(){
|
|
return StartOfRound.Instance.allPlayerScripts.Length;
|
|
}
|
|
|
|
}
|
|
}
|