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

# Factorio Prototype Docs Version 2.0.77

# CreateTrivialSmokeEffectItem - Prototype Docs

## CreateTrivialSmokeEffectItem :: struct

Inherits from TriggerEffectItem

## Properties

- default
- sorted

type | :: `"create-trivial-smoke"` |
smoke_name | :: TrivialSmokeID |
offset_deviation optional | :: BoundingBox |
offsets optional | :: array[Vector] |
initial_height optional | :: float |
max_radius optional | :: float |
speed optional | :: Vector |
speed_multiplier optional | :: float |
speed_multiplier_deviation optional | :: float |
starting_frame optional | :: float |
starting_frame_deviation optional | :: float |
speed_from_center optional | :: float |
speed_from_center_deviation optional | :: float |
only_when_visible 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. [...]

smoke_name | :: TrivialSmokeID |
type | :: `"create-trivial-smoke"` |
initial_height optional | :: float |
max_radius optional | :: float |
offset_deviation optional | :: BoundingBox |
offsets optional | :: array[Vector] |
only_when_visible optional | :: boolean |
speed optional | :: Vector |
speed_from_center optional | :: float |
speed_from_center_deviation optional | :: float |
speed_multiplier optional | :: float |
speed_multiplier_deviation optional | :: float |
starting_frame optional | :: float |
starting_frame_deviation optional | :: float |

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-trivial-smoke"`

### smoke_name :: TrivialSmokeID

### offset_deviation :: BoundingBox optional

### offsets :: array[Vector] optional

### initial_height :: float optional

Default: `0`

### max_radius :: float optional

Default: `0`

### speed :: Vector optional

### speed_multiplier :: float optional

Default: `0`

### speed_multiplier_deviation :: float optional

Default: `0`

### starting_frame :: float optional

Default: `0`

### starting_frame_deviation :: float optional

Default: `0`

### speed_from_center :: float optional

Default: `0`

### speed_from_center_deviation :: float optional

Default: `0`

### only_when_visible :: boolean optional

Default: `false`

Type used in

- EntityPrototype::created_smoke
- TriggerEffect