Factorio Prototype DocsVersion 1.1.107

DestroyDecorativesTriggerEffectItem :: struct

Inherits from TriggerEffectItem

Properties

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

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

Prototypes

Types