Hello! I like the idea of your mod.
But it has a poorly developed issue of unlocking recipes.
I am currently finalizing my mod My_add_pack_0.0.4. And specifically for flamethrower upgrades like yours, I created a technology:
https://i.postimg.cc/KYdbmxkn/Fire-weapon-upgrades.png
data:extend({
{
type = "technology",
name = "Fire-weapon-upgrades",
icon = "My_add_pack/graphics/dragons-breath-shotgun-pellet/Fire-weapon-upgrades.png",
icon_size = 256,
effects =
{
{
type = "unlock-recipe",
recipe = ""
}
},
prerequisites = {"flamethrower", "advanced-oil-processing", "military-3"},
unit =
{
count = 50,
ingredients =
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1},
{"military-science-pack", 1}
},
time = 15
}
}
})
Unfortunately, I was unable to bind your recipes to this technology via dependency.
I suggest you create this technology in your mod. And then I will bind my recipes to it.
Or this technology will be in my mod, and you will add a conditional dependency with overriding recipes.
Thanks!