anchor.diff:      mod_config.Path := ExtractFileNameOnly(ExcludeTrailingBackslash(ExtractFilePath(mod_path)));
       destreamer.JSONStreamToObject(stm, mod_config,'');
       mod_config.MayBeSetDefaultFSConfig;
  +
  +    if AParentModID <> '' then
  +    begin
  +      mod_config.Depends.Add(AParentModID);
  +    end;
  +
       FMods.Add(mod_config);
       FModMap.Add(mod_config.ID,mod_config);
       FConfigMap.Add(mod_config.ID,mod_config);
  
positive.code:       DoScanMods('',mod_roots[i]);
      end;
  
      //<STUB>
  
      for i := 0 to FEnabledModList.Count - 1 do
  
negative.code:   FConfigMap.OnKeyCompare := @ComapreModId;
  
    FEnabledModList := TStringListUTF8.Create;
    FEnabledModList.Sorted := false;
  
    FUnzipBuffer := TMemoryStream.Create;
  end;
  