5dims fixes, little tweaks

This commit is contained in:
Brevven 2022-02-10 18:31:59 -08:00
parent 805a87f3c1
commit 351f31581d
4 changed files with 95 additions and 78 deletions

View file

@ -539,6 +539,15 @@ function util.set_icons(recipe_name, icons)
end
end
-- Set recipe icons
function util.set_item_icons(item_name, icons)
if data.raw.recipe[item_name] then
data.raw.recipe[item_name].icons = icons
data.raw.recipe[item_name].icon = nil
data.raw.recipe[item_name].icon_size = nil
end
end
function util.set_to_founding(recipe)
util.set_category(recipe, "founding")
util.set_subgroup(recipe, "foundry-intermediate")