From 34a23e0b3185ec802b690dc08b73542a8b2c9534 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. --- Yafc.Model/Model/ModuleFillerParameters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yafc.Model/Model/ModuleFillerParameters.cs b/Yafc.Model/Model/ModuleFillerParameters.cs index d4af24ed..9c3a182d 100644 --- a/Yafc.Model/Model/ModuleFillerParameters.cs +++ b/Yafc.Model/Model/ModuleFillerParameters.cs @@ -69,8 +69,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) {