示例#1
0
文件: Base.cs 项目: legodude17/MVCF
 public Base(ModContentPack content) : base(content)
 {
     Harm        = new HarmonyLib.Harmony("legodude17.mvcf");
     SearchLabel = Harm.Id + Rand.Value;
     Prepatcher  = ModLister.HasActiveModWithName("Prepatcher");
     if (Prepatcher)
     {
         Log.Message("[MVCF] Prepatcher installed, switching");
     }
     Trackers.Apparel(Harm);
     Trackers.Equipment(Harm);
     Trackers.Hediffs(Harm);
     LongEventHandler.ExecuteWhenFinished(CollectFeatureData);
     if (ModLister.HasActiveModWithName("Prosthetic Combat Framework"))
     {
         IgnoredFeatures.HediffVerbs = true;
     }
 }