byproduct setting, tech tweaks
This commit is contained in:
parent
8a5c65fe27
commit
f71f7db31c
9 changed files with 38 additions and 9 deletions
|
|
@ -566,6 +566,14 @@ function util.set_subgroup(recipe_name, subgroup)
|
|||
end
|
||||
end
|
||||
|
||||
-- Set item subgroup
|
||||
function util.set_item_subgroup(item, subgroup)
|
||||
if me.bypass[item] then return end
|
||||
if data.raw.item[item] and data.raw["item-subgroup"][subgroup] then
|
||||
data.raw.item[item].subgroup = subgroup
|
||||
end
|
||||
end
|
||||
|
||||
-- Set recipe icons
|
||||
function util.set_icons(recipe_name, icons)
|
||||
if me.bypass[recipe_name] then return end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue