From 2b9a517a445ee72592aa947717f150b041f63a5a Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 31 Jan 2022 02:26:37 -0800 Subject: [PATCH] fix amounts --- changelog.txt | 1 + refractory-updates.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 80ffb59..41b3a2d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Date: 2022-01-31 WARNING: If you use these recipes, update your refractory recipes setting before saving your game. - Fix some refractory recipes when used without certain mods + - Fix some refractory recipe product amounts --------------------------------------------------------------------------------------------------- Version: 0.0.9 Date: 2022-01-25 diff --git a/refractory-updates.lua b/refractory-updates.lua index 39a2c87..ef0cf23 100644 --- a/refractory-updates.lua +++ b/refractory-updates.lua @@ -19,7 +19,7 @@ function check_name(name) end function make_recipe(recipe) - log("checking "..recipe.name) + log("Checking "..recipe.name) local found_result = false local has_normal = false local has_exp = false @@ -60,7 +60,7 @@ function make_recipe(recipe) if recipe.normal.result and check_name(recipe.normal.result) then found_result = recipe.normal.result - new_normal_results = {{recipe.normal.result, recipe.result_count or 1}} + new_normal_results = {{recipe.normal.result, recipe.normal.result_count or 1}} end end