catalysis recipe fixes

This commit is contained in:
Brevven 2023-03-18 14:41:25 -07:00
parent dfc1ea7507
commit 6cf3745335

View file

@ -14,6 +14,7 @@ local recipes_to_update = {
local prefix = "catalyzed-" local prefix = "catalyzed-"
for i, recipe_name in pairs(recipes_to_update) do for i, recipe_name in pairs(recipes_to_update) do
if data.raw.recipe[recipe_name] then
-- create a copy of the recipe -- create a copy of the recipe
local r = futil.table.deepcopy(data.raw.recipe[recipe_name]) local r = futil.table.deepcopy(data.raw.recipe[recipe_name])
new_name = prefix..r.name new_name = prefix..r.name
@ -47,3 +48,4 @@ for i, recipe_name in pairs(recipes_to_update) do
end end
end end
end end
end