[0.18.24] artillery-flare does not have shot_category set
Posted: Mon May 18, 2020 3:28 pm
When having a mod with distincts artillery ammo category, you can use the vanilla artillery remote to fire any of them.
To reproduce:
but it seems to me that the vanilla game should have it set so that not all mods have to do it. It is also quite error prone for modders.
Anyway, I will report this to MIRV also.
Oh, and thanks: you're top 1 in my beloved games list
To reproduce:
- Install MIRV mod
- Do the research and launch a MIRV from a rocket silo
- You may use the MIRV remote to launch a nuclear projectile, but...
- You may also use the regular artillery remote and point it outside of the reach of your artillery turrets: point and click here and an MIRV nuclear projectile is sent (because MIRV has a huge range)
- In fact, each times you use the artillery remote, you don't know which projectile will be sent
Code: Select all
local artillery_flare = data.raw["artillery-flare"]["artillery-flare"]
if artillery_flare then
artillery_flare.shot_category = "artillery-shell"
end
Anyway, I will report this to MIRV also.
Oh, and thanks: you're top 1 in my beloved games list
