update
This commit is contained in:
parent
6c6a5b25bb
commit
5ebfa8ab12
1 changed files with 9 additions and 0 deletions
|
|
@ -539,6 +539,15 @@ function util.set_icons(recipe_name, icons)
|
||||||
end
|
end
|
||||||
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)
|
function util.set_to_founding(recipe)
|
||||||
util.set_category(recipe, "founding")
|
util.set_category(recipe, "founding")
|
||||||
util.set_subgroup(recipe, "foundry-intermediate")
|
util.set_subgroup(recipe, "foundry-intermediate")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue