Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# CreateDecorativesTriggerEffectItem - Prototype Docs

## CreateDecorativesTriggerEffectItem :: struct

Inherits from TriggerEffectItem

## Properties

- default
- sorted

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 | :: boolean |
spread_evenly optional | :: boolean |

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 | :: boolean |
show_in_tooltip optional | :: boolean |
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. [...]

decorative | :: DecorativeID |
spawn_max | :: uint16 |
spawn_max_radius | :: float | Must be less than 24.
Must be less than 24.
spawn_min_radius | :: float |
type | :: `"create-decorative"` |
apply_projection optional | :: boolean |
radius_curve optional | :: float |
spawn_min optional | :: uint16 |
spread_evenly optional | :: boolean |

Inherited from TriggerEffectItem

affects_target optional | :: boolean |
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 | :: boolean |

## 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 :: boolean optional

Default: `false`

### spread_evenly :: boolean optional

Default: `false`

Type used in

- EnemySpawnerPrototype::spawn_decoration
- TriggerEffect
- TurretPrototype::spawn_decoration