Attempting to investigate further, I tried to isolate the behavior and ended up creating a demo mod to make it easier to reproduce.
Something worth noting is that when I was using the chemical rocket mod, sometimes the worms would spit fire multiple times in a row without me actively shooting at them, but when there was still fire on the ground.
I have no idea why this is happening, perhaps because the fire streams are being created from the worm as target, but here's the code of the demo mod and a couple videos demonstrating the effect.
Code: Select all
local ammo = table.deepcopy(data.raw.ammo["firearm-magazine"])
ammo.name = "fire-ammo"
ammo.ammo_type.action[1] = {
type = "area",
target_entities = false,
trigger_from_target = true,
repeat_count = 1,
radius = 0,
action_delivery = {
type = "stream",
stream = "flamethrower-fire-stream",
}
}
data:extend{ammo}
Game speed = 0.5:
Setting radius to the rocket mod's value of 9 and game speed = 0.1 for a closer look:
I didn't show in the videos, but you can see regular acid on the ground; When I wasn't shooting the worm, they would spit normally.
To reproduce, install the mod, grab some of the fire ammo from the editor, fire it at some worms while they shoot and watch them become professional rappers in no time.