Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## DestroyDecorativesTriggerEffectItem :: struct

Inherits from TriggerEffectItem

## Properties

- default
- sorted

type | :: `"destroy-decoratives"` |
radius | :: float |
from_render_layer optional | :: RenderLayer |
to_render_layer optional | :: RenderLayer |
include_soft_decoratives optional | :: bool | Soft decoratives are those where DecorativePrototype::grows_through_rail_path is `true`.
Soft decoratives are those where DecorativePrototype::grows_through_rail_path is `true`.
include_decals optional | :: bool |
invoke_decorative_trigger optional | :: bool |
decoratives_with_trigger_only optional | :: bool | If `true`, only decoratives with a DecorativePrototype::trigger_effect will be destroyed.
If `true`, only decoratives with a DecorativePrototype::trigger_effect will be destroyed.

Inherited from TriggerEffectItem

repeat_count optional | :: uint16 |
repeat_count_deviation optional | :: uint16 |
probability optional | :: float | Must be greater than `0` and less than or equal to `1`.
Must be greater than `0` and less than or equal to `1`.
affects_target optional | :: bool |
show_in_tooltip optional | :: bool |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]

radius | :: float |
type | :: `"destroy-decoratives"` |
decoratives_with_trigger_only optional | :: bool | If `true`, only decoratives with a DecorativePrototype::trigger_effect will be destroyed.
If `true`, only decoratives with a DecorativePrototype::trigger_effect will be destroyed.
from_render_layer optional | :: RenderLayer |
include_decals optional | :: bool |
include_soft_decoratives optional | :: bool | Soft decoratives are those where DecorativePrototype::grows_through_rail_path is `true`.
Soft decoratives are those where DecorativePrototype::grows_through_rail_path is `true`.
invoke_decorative_trigger optional | :: bool |
to_render_layer optional | :: RenderLayer |

Inherited from TriggerEffectItem

affects_target optional | :: bool |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...]
probability optional | :: float | Must be greater than `0` and less than or equal to `1`.
Must be greater than `0` and less than or equal to `1`.
repeat_count optional | :: uint16 |
repeat_count_deviation optional | :: uint16 |
show_in_tooltip optional | :: bool |

## Properties

### type :: `"destroy-decoratives"`

### radius :: float

### from_render_layer :: RenderLayer optional

Default: first layer

### to_render_layer :: RenderLayer optional

Default: last layer

### include_soft_decoratives :: bool optional

Default: `false`

Soft decoratives are those where DecorativePrototype::grows_through_rail_path is `true`.

### include_decals :: bool optional

Default: `false`

### invoke_decorative_trigger :: bool optional

Default: `true`

### decoratives_with_trigger_only :: bool optional

Default: `false`

If `true`, only decoratives with a DecorativePrototype::trigger_effect will be destroyed.

Type used in

- TriggerEffect