From dd2746e77422f107ff4bef4b7b16a11b9ff0607d Mon Sep 17 00:00:00 2001 From: Dale McCoy <21223975+DaleStan@users.noreply.github.com> Date: Thu, 26 Jan 2023 17:34:35 -0500 Subject: [PATCH] Auto-assign beacons to recipes before modules. This way, effectivity modules will fill to the limit or to the point of counteracting the beacons' effects, rather than stopping at 80% of the 0-beacon consumption. --- YAFCmodel/Model/ModuleFillerParameters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YAFCmodel/Model/ModuleFillerParameters.cs b/YAFCmodel/Model/ModuleFillerParameters.cs index c57c337c..d3def506 100644 --- a/YAFCmodel/Model/ModuleFillerParameters.cs +++ b/YAFCmodel/Model/ModuleFillerParameters.cs @@ -80,8 +80,8 @@ public void AutoFillModules(RecipeParameters recipeParams, Recipe recipe, Entity public void GetModulesInfo(RecipeParameters recipeParams, Recipe recipe, EntityCrafter entity, Goods fuel, ref ModuleEffects effects, ref RecipeParameters.UsedModule used) { - AutoFillModules(recipeParams, recipe, entity, fuel, ref effects, ref used); AutoFillBeacons(recipeParams, recipe, entity, fuel, ref effects, ref used); + AutoFillModules(recipeParams, recipe, entity, fuel, ref effects, ref used); } private void AddModuleSimple(Item module, ref ModuleEffects effects, EntityCrafter entity, ref RecipeParameters.UsedModule used)