Does bullet-damage-1 technology affect gun turret damage?

Place to get help with not working mods / modding interface.
User avatar
Versepelles
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat May 28, 2016 1:42 pm
Contact:

Does bullet-damage-1 technology affect gun turret damage?

Post by Versepelles »

Does bullet-damage-1 technology affect gun turret damage? If so, is additively or multiplicatively- that is, if I wanted to increase bullet damage from guns but keep bullet damage from turrets constant, would this work in the effects part of a new tech:

Code: Select all

      {
        type = "ammo-damage",
        ammo_category = "bullet",
        modifier = "0.1"
      },

      {
        type = "turret-attack",
        turret_id = "gun-turret",
        modifier = "-0.1"
      }
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Does bullet-damage-1 technology affect gun turret damage?

Post by Klonan »

The bullet damage increases the damage of the bullets, and the gun turret fires bullets, so it increases the damage.

You can check the bonuses menu for an overview:
Image
User avatar
Versepelles
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat May 28, 2016 1:42 pm
Contact:

Re: Does bullet-damage-1 technology affect gun turret damage?

Post by Versepelles »

Klonan wrote:The bullet damage increases the damage of the bullets, and the gun turret fires bullets, so it increases the damage.

You can check the bonuses menu for an overview:
Okay, thanks.
Post Reply

Return to “Modding help”