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

# Factorio Prototype Docs Version 2.0.77

# TrivialSmokePrototype - Prototype Docs

## TrivialSmokePrototype 'trivial-smoke'

Smoke, but it's not an entity for optimization purposes.

Prototype limited to 255 total instances.

Inherits from Prototype « PrototypeBase

## Properties

- default
- sorted

animation | :: Animation |
duration | :: uint32 | Can't be 0 - the smoke will never render.
Can't be 0 - the smoke will never render.
glow_animation optional | :: Animation |
color optional | :: Color |
start_scale optional | :: float |
end_scale optional | :: float |
movement_slow_down_factor optional | :: double | Value between 0 and 1, with 1 being no slowdown and 0 being no movement.
Value between 0 and 1, with 1 being no slowdown and 0 being no movement.
spread_duration optional | :: uint32 |
fade_away_duration optional | :: uint32 | `fade_in_duration` + `fade_away_duration` must be <= `duration`.
`fade_in_duration` + `fade_away_duration` must be <= `duration`.
fade_in_duration optional | :: uint32 | `fade_in_duration` + `fade_away_duration` must be <= `duration`.
`fade_in_duration` + `fade_away_duration` must be <= `duration`.
glow_fade_away_duration optional | :: uint32 |
cyclic optional | :: boolean |
affected_by_wind optional | :: boolean | Smoke always moves randomly unless `movement_slow_down_factor` is 0. [...]
Smoke always moves randomly unless `movement_slow_down_factor` is 0. [...]
show_when_smoke_off optional | :: boolean |
render_layer optional | :: RenderLayer |

Inherited from Prototype

factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...]
The ID type corresponding to the prototype that inherits from this. [...]
custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia.
Allows to add extra description items to the tooltip and Factoriopedia.

Inherited from PrototypeBase

type | :: string | Specifies the kind of prototype this is. [...]
Specifies the kind of prototype this is. [...]
name | :: string | Unique textual identification of the prototype. [...]
Unique textual identification of the prototype. [...]
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...]
Used to order prototypes in inventory, recipes and GUIs. [...]
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...]
Overwrites the name set in the locale file. [...]
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...]
Overwrites the description set in the locale file. [...]
factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.
hidden optional | :: boolean |
hidden_in_factoriopedia optional | :: boolean |
parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI.
The simulation shown when looking at this prototype in the Factoriopedia GUI.

animation | :: Animation |
duration | :: uint32 | Can't be 0 - the smoke will never render.
Can't be 0 - the smoke will never render.
affected_by_wind optional | :: boolean | Smoke always moves randomly unless `movement_slow_down_factor` is 0. [...]
Smoke always moves randomly unless `movement_slow_down_factor` is 0. [...]
color optional | :: Color |
cyclic optional | :: boolean |
end_scale optional | :: float |
fade_away_duration optional | :: uint32 | `fade_in_duration` + `fade_away_duration` must be <= `duration`.
`fade_in_duration` + `fade_away_duration` must be <= `duration`.
fade_in_duration optional | :: uint32 | `fade_in_duration` + `fade_away_duration` must be <= `duration`.
`fade_in_duration` + `fade_away_duration` must be <= `duration`.
glow_animation optional | :: Animation |
glow_fade_away_duration optional | :: uint32 |
movement_slow_down_factor optional | :: double | Value between 0 and 1, with 1 being no slowdown and 0 being no movement.
Value between 0 and 1, with 1 being no slowdown and 0 being no movement.
render_layer optional | :: RenderLayer |
show_when_smoke_off optional | :: boolean |
spread_duration optional | :: uint32 |
start_scale optional | :: float |

Inherited from Prototype

custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia.
Allows to add extra description items to the tooltip and Factoriopedia.
factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...]
The ID type corresponding to the prototype that inherits from this. [...]

Inherited from PrototypeBase

name | :: string | Unique textual identification of the prototype. [...]
Unique textual identification of the prototype. [...]
type | :: string | Specifies the kind of prototype this is. [...]
Specifies the kind of prototype this is. [...]
factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI.
The simulation shown when looking at this prototype in the Factoriopedia GUI.
hidden optional | :: boolean |
hidden_in_factoriopedia optional | :: boolean |
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...]
Overwrites the description set in the locale file. [...]
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...]
Overwrites the name set in the locale file. [...]
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...]
Used to order prototypes in inventory, recipes and GUIs. [...]
parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.

## Properties

### animation :: Animation

### duration :: uint32

Can't be 0 - the smoke will never render.

### glow_animation :: Animation optional

### color :: Color optional

Default: `{r=0.375, g=0.375, b=0.375, a=0.375}`

### start_scale :: float optional

Default: `1.0`

### end_scale :: float optional

Default: `1.0`

### movement_slow_down_factor :: double optional

Default: `0.995`

Value between 0 and 1, with 1 being no slowdown and 0 being no movement.

### spread_duration :: uint32 optional

Default: `0`

### fade_away_duration :: uint32 optional

Default: `0`

`fade_in_duration` + `fade_away_duration` must be <= `duration`.

### fade_in_duration :: uint32 optional

Default: `0`

`fade_in_duration` + `fade_away_duration` must be <= `duration`.

### glow_fade_away_duration :: uint32 optional

Default: Value of `fade_away_duration`

### cyclic :: boolean optional

Default: `false`

### affected_by_wind :: boolean optional

Default: `true`

Smoke always moves randomly unless `movement_slow_down_factor` is 0. If `affected_by_wind` is true, the smoke will also be moved by wind.

### show_when_smoke_off :: boolean optional

Default: `false`

### render_layer :: RenderLayer optional

Default: `"smoke"`