public static void InstalledCompatability(BackCompatibilityDef def)
        {
            string modID = def.ModID;

            var compatibilityList = compatibilityEntries.FirstOrDefault(t => t.ModID == modID);

            if (compatibilityList == null)
            {
                compatibilityList = new BackCompatibilityEntry(modID);
                compatibilityEntries.Add(compatibilityList);
            }

            compatibilityList.CompatsInstalled.Add(def.defName);
        }
 public static void RegisterBackCompatibilityDef(BackCompatibilityDef def)
 {
     defDatabase.Add(def);
 }