diff --git a/changelog.txt b/changelog.txt index 1f3094d..5b5eca0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,11 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.3.3 +Date: 2020-11-15 + + Recipes: + - Smelting recipes will now force-set a main_result value for + compatibility with SE. + --------------------------------------------------------------------------------------------------- Version: 0.3.2 Date: 2020-11-15 diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 4c4b3ba..5ba1baf 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -239,6 +239,7 @@ local flux_name = "adamo-chemical-calcite" local clinker_name = "adamo-chemical-clinker" local fluxxing_category = "adamo-chemical-firing" local fluxxing_subgroup = fluxxing_category + local calcinate_recipe = function(recipe,mult) local recipe = recipe_or_bust(recipe) if not recipe then return nil end @@ -247,6 +248,7 @@ local calcinate_recipe = function(recipe,mult) local flux_recipe = util.table.deepcopy(recipe) flux_recipe.name = flux_recipe.name.."-calcined" mult_recipe_energy(flux_recipe,time_mult/ore_mult*mult) + set_main_product(flux_recipe,get_main_result(flux_recipe)) mult_in_recipe(flux_recipe,mult) flux_recipe.category = fluxxing_category flux_recipe.subgroup = fluxxing_subgroup