Factorio Prototype DocsVersion 2.0.26

CreateDecorativesTriggerEffectItem :: struct

Inherits from TriggerEffectItem

Properties

type :: "create-decorative"
decorative :: DecorativeID
spawn_max :: uint16
spawn_min_radius :: float
spawn_max_radius :: float

Must be less than 24.

Must be less than 24.

spawn_min optional :: uint16
radius_curve optional :: float
apply_projection optional :: bool
spread_evenly optional :: bool

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 :: "create-decorative"

decorative :: DecorativeID

spawn_max :: uint16

spawn_min_radius :: float

spawn_max_radius :: float

Must be less than 24.

spawn_min :: uint16 optional

Default: 0

radius_curve :: float optional

Default: 0.5

apply_projection :: bool optional

Default: false

spread_evenly :: bool optional

Default: false

Prototypes

Types

Defines