| Inherits from BaseModifier |
| type | :: "turret-attack" | |
| infer_icon optional | :: bool | If set to |
If set to | ||
| use_icon_overlay_constant optional | :: bool | If |
If | ||
| turret_id | :: EntityID | Name of the EntityPrototype that is affected. |
Name of the EntityPrototype that is affected. | ||
| modifier | :: double | Modification value, which will be added to the current turret attack modifier upon researching. |
Modification value, which will be added to the current turret attack modifier upon researching. | ||
| icons optional | :: array[IconData] | Can't be an empty array. |
Can't be an empty array. | ||
| icon optional | :: FileName | Path to the icon file. |
Path to the icon file. | ||
| icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels, e.g. |
The size of the square icon, in pixels, e.g. | ||
| icon_mipmaps optional | :: IconMipMapType | Icons of reduced size will be used at decreased scale. |
Icons of reduced size will be used at decreased scale. | ||
| modifier | :: double | Modification value, which will be added to the current turret attack modifier upon researching. |
Modification value, which will be added to the current turret attack modifier upon researching. | ||
| turret_id | :: EntityID | Name of the EntityPrototype that is affected. |
Name of the EntityPrototype that is affected. | ||
| type | :: "turret-attack" | |
| infer_icon optional | :: bool | If set to |
If set to | ||
| use_icon_overlay_constant optional | :: bool | If |
If | ||
| icon optional | :: FileName | Path to the icon file. |
Path to the icon file. | ||
| icon_mipmaps optional | :: IconMipMapType | Icons of reduced size will be used at decreased scale. |
Icons of reduced size will be used at decreased scale. | ||
| icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels, e.g. |
The size of the square icon, in pixels, e.g. | ||
| icons optional | :: array[IconData] | Can't be an empty array. |
Can't be an empty array. | ||

Default: true
If set to false, use the icon from UtilitySprites for this technology effect icon.

Default: true
If false, do not draw the small "constant" icon over the technology effect icon.

Name of the EntityPrototype that is affected. This also works for non-turrets such as tanks, however, the bonus does not appear in the entity's tooltips.

Modification value, which will be added to the current turret attack modifier upon researching.

Prototypes
Types