Hi Zerraforn,
It's possible to do. Basically, I add a huge if statement in the code, like:
if mods["ModName"] then
local recipe = data.raw.recipe["your-recipe-name"]
if recipe then
-- Modify the ingredients, results, etc.
ingredients = {
{ type = "item", name = "electronic-circuit", amount = 1 },
{ type = "item", name = "copper-cable", amount = 4 },
{ type = "item", name = "iron-plate", amount = 6 },
}
end
end
However, if AAI changes its version number or something, it won't work anymore, and I would need to update the mod. If you add support for just one mod, that’s fine, but imagine if all mods needed to be supported.
unless there is a way to do this for all mods or not at once i wont do it. even tough i want to