Fix holmium

This commit is contained in:
Simon Brodtmann 2024-12-02 23:00:02 +01:00
parent e8baed6262
commit 851ced08fb

View file

@ -13,7 +13,7 @@ function createHotVariant(itemName, _spoil_ticks)
-- Change recipes
for _, recipe in pairs(data.raw.recipe) do
if ((recipe.category == "smelting" or recipe.category == "metallurgy") and recipe.results[1].name == itemName) then
if ((recipe.category == "smelting" or recipe.category == "metallurgy" or recipe.category == "crafting-with-fluid-or-metallurgy") and recipe.results[1].name == itemName) then
recipe.results[1].name = hotItem.name
recipe.localised_name = { "item-name." .. itemName }
end