This commit is contained in:
Brevven 2025-01-01 04:00:01 -08:00
parent bdfaf649e8
commit 28c5fb7af0
2 changed files with 13 additions and 1 deletions

View file

@ -165,6 +165,17 @@ function util.use_fluid_mining_final()
end
end
-- If Hot metals mod is enabled, mark these metals as hot
function util.add_hot_metals(metals)
if HotMetals and HotMetals.items then
for _, metal in pairs(metals) do
if data.raw.item[metal] or (metal.name and data.raw.item[metal.name]) then
table.insert(HotMetals.items, metal)
end
end
end
end
-- se landfill
-- params: ore, icon_size