Fix recipe names

This commit is contained in:
Simon Brodtmann 2024-12-02 22:56:29 +01:00
parent 235bb154bc
commit e8baed6262

View file

@ -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