Fix Flamethrower turret damage upgrade modifier

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1599
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Fix Flamethrower turret damage upgrade modifier

Post by jodokus31 »

I'm trying to mod a different flamethrower turret damage upgrade modifier at this place:

Code: Select all

{
    type = "technology",
    name = "refined-flammables-1",
    icon_size = 256, icon_mipmaps = 4,
    icons = util.technology_icon_constant_damage(refined_flammables_icon),
    effects =
    {
      {
        type = "ammo-damage",
        ammo_category = "flamethrower",
        modifier = 0.2 <-- changing this also works for flamethrower turret
      },
      {
        type = "turret-attack",
        turret_id = "flamethrower-turret",
        modifier = 0.4 -- CHANGED
      }
    },
    ...
    
It is shown correctly in bonus UI, but not in Flamethrower-Turret tooltip.
flamers_bonusUI.png
flamers_bonusUI.png (12.37 KiB) Viewed 520 times
flamer_turret_tooltip.png
flamer_turret_tooltip.png (123.28 KiB) Viewed 520 times

If I change the value for flamethrower ammo, it works also for flamethrower turret.
So I'm assuming its a bug

Post Reply

Return to “Modding interface requests”