From f5265ecacaa4b89b0eff879aca4ce163e96afa03 Mon Sep 17 00:00:00 2001 From: andev0 Date: Sat, 17 Aug 2024 18:58:37 +0200 Subject: [PATCH] Improved recipes sorting --- src/Tools/SatisfactoryRecipeExporter/Exporter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Tools/SatisfactoryRecipeExporter/Exporter.ts b/src/Tools/SatisfactoryRecipeExporter/Exporter.ts index 90d316a..4fb9a60 100644 --- a/src/Tools/SatisfactoryRecipeExporter/Exporter.ts +++ b/src/Tools/SatisfactoryRecipeExporter/Exporter.ts @@ -170,6 +170,9 @@ let recipes: Recipe[] = satisfactory productsComplexity = Math.max(productsComplexity, resource?.resourceSinkPoints ?? 0); } + // Products which can't be sinked are usually very late-game ones or just should be together. + productsComplexity = productsComplexity == 0 ? 99999 : productsComplexity; + return { id: docsRecipe.ClassName, displayName: docsRecipe.mDisplayName,