Chemical Rockets


Adds a rocket with combined poison and slowdown, and an incendiary rocket that spawns an area of fire.

Content
26 days ago
1.1 - 2.0
2.51K
Combat

i Интеграция с модом All kinds of things (updated)

7 hours ago
(updated 7 hours ago)

Hello! I am interested in your mod! And I want to integrate your missiles into the technology chains for my mod https://mods.factorio.com/mod/My_add_pack_updated

I tried to make adjustments to the unlocking technologies of your missiles in my mod, but failed.

Please, could you add a condition to your code:

if mods["My_add_pack_updated"] then

if data.raw.technology["chemical-weapons"] then

    table.insert(data.raw["technology"]["chemical-weapons"].effects, {type = "unlock-recipe",recipe = "chemical-rocket"})

end

if data.raw.technology["Fire-weapon-upgrades"] then

    table.insert(data.raw["technology"]["Fire-weapon-upgrades"].effects, {type = "unlock-recipe",recipe = "incendiary-rocket"})

end

end

And also remove the line from your data-updates.lua file:

table.insert(technology.effects, {type = "unlock-recipe", recipe = "flamethrower-ammo"})

It is clearly unnecessary...

Thanks!

New response