Fix recipe names
This commit is contained in:
parent
235bb154bc
commit
e8baed6262
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ function createHotVariant(itemName, _spoil_ticks)
|
|||
for _, recipe in pairs(data.raw.recipe) do
|
||||
if ((recipe.category == "smelting" or recipe.category == "metallurgy") and recipe.results[1].name == itemName) then
|
||||
recipe.results[1].name = hotItem.name
|
||||
recipe.localised_name = { "item-name." .. itemName }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue