public Module(ModContentPack content) : base(content) { var harmony = new HarmonyLib.Harmony("FrontierDevelopments.Shields1.2"); harmony.PatchAll(Assembly.GetExecutingAssembly()); Harmony_Verb.BlacklistType(typeof(Verb_Bombardment)); // support for Cargo Pod transport Harmony_Skyfaller.WhitelistDef("HelicopterIncoming"); Harmony_Skyfaller.WhitelistDef("HelicopterLeaving"); }
public Mod(ModContentPack content) : base(content) { Settings = GetSettings <Settings>(); ModName = content.Name; var harmony = HarmonyInstance.Create("frontierdevelopment.shields"); harmony.PatchAll(Assembly.GetExecutingAssembly()); Harmony_Verb.BlacklistType(typeof(Verb_Bombardment)); // support for Cargo Pod transport Harmony_Skyfaller.WhitelistDef("HelicopterIncoming"); Harmony_Skyfaller.WhitelistDef("HelicopterLeaving"); LoadOneTemperatureMod(harmony); new CombatExtendedIntegration().TryEnable(harmony); }