fix amounts
This commit is contained in:
parent
a354411b4b
commit
2b9a517a44
2 changed files with 3 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ Date: 2022-01-31
|
||||||
WARNING: If you use these recipes, update your refractory recipes setting before
|
WARNING: If you use these recipes, update your refractory recipes setting before
|
||||||
saving your game.
|
saving your game.
|
||||||
- Fix some refractory recipes when used without certain mods
|
- Fix some refractory recipes when used without certain mods
|
||||||
|
- Fix some refractory recipe product amounts
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.0.9
|
Version: 0.0.9
|
||||||
Date: 2022-01-25
|
Date: 2022-01-25
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ function check_name(name)
|
||||||
end
|
end
|
||||||
|
|
||||||
function make_recipe(recipe)
|
function make_recipe(recipe)
|
||||||
log("checking "..recipe.name)
|
log("Checking "..recipe.name)
|
||||||
local found_result = false
|
local found_result = false
|
||||||
local has_normal = false
|
local has_normal = false
|
||||||
local has_exp = false
|
local has_exp = false
|
||||||
|
|
@ -60,7 +60,7 @@ function make_recipe(recipe)
|
||||||
|
|
||||||
if recipe.normal.result and check_name(recipe.normal.result) then
|
if recipe.normal.result and check_name(recipe.normal.result) then
|
||||||
found_result = recipe.normal.result
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue