This commit is contained in:
2026-06-08 15:14:28 +09:00
parent 0ea5ef528d
commit 361ab5e428
+3 -5
View File
@@ -447,11 +447,9 @@ for _, v in pairs(data.raw.recipe) do
v.auto_recycle = false v.auto_recycle = false
if items['recipe_reform'][v.name] then if items['recipe_reform'][v.name] then
v.category = (items['recipe_reform'][v.name].category and items['recipe_reform'][v.name].category) or v.category for k, _ in pairs(items['recipe_reform'][v.name]) do
v.ingredients = (items['recipe_reform'][v.name].ingredients and items['recipe_reform'][v.name].ingredients) or v.ingredients v[k] = (items['recipe_reform'][v.name][k] and items['recipe_reform'][v.name][k]) or v[k]
v.results = (items['recipe_reform'][v.name].results and items['recipe_reform'][v.name].results) or v.results end
v.allow_productivity = (items['recipe_reform'][v.name].allow_productivity and items['recipe_reform'][v.name].allow_productivity) or v.allow_productivity
v.energy_required = (items['recipe_reform'][v.name].energy_required and items['recipe_reform'][v.name].energy_required) or v.energy_required
elseif items['recipe'][v.name] then elseif items['recipe'][v.name] then
v.hidden = true v.hidden = true