Hello Snouz,
I noticed that this mod (or possibly Panglia, I can’t quite remember) overwrite the item categories that can be crafted in this assembler (old_category_or_thinking_brain). I did something similar in my mod (special assemblers for ammunition and equipment), but recently I noticed an interesting attribute in the documentation:
additional_categories - With this attribute, you can add additional categories without modifying the main one. It works very nice.
Just a quick loop through the recipe list and the job’s done :)
for _, recipe_name in pairs(equipment_recipes) do
local recipe = data.raw.recipe[recipe_name]
if recipe then
recipe.additional_categories = recipe.additional_categories or {}
table.insert(recipe.additional_categories, "equipment-crafting")
end
end