Prototype/FireFlame
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/FireFlamePrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/FireFlame
A fire.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
damage_per_tick
Type: DamagePrototype
spread_delay
Type: uint32
spread_delay_deviation
Type: uint32
Optional properties
render_layer
Type: RenderLayer
Default: "object"
initial_render_layer
Type: RenderLayer
Default: "object"
secondary_render_layer
Type: RenderLayer
Default: "object"
small_tree_fire_pictures
Type: AnimationVariations
pictures
Type: AnimationVariations
smoke_source_pictures
Type: AnimationVariations
secondary_pictures
Type: AnimationVariations
burnt_patch_pictures
Type: SpriteVariations
secondary_picture_fade_out_start
Type: uint32
Default: 0
secondary_picture_fade_out_duration
Type: uint32
Default: 30
spawn_entity
Type: string
The name of an entity.
smoke
Type: Array of SmokeSource
maximum_spread_count
Type: uint16
Default: 200
initial_flame_count
Type: uint8
Default: 0
Spawns initial_flame_count
secondary_pictures
around the entity when it first spawns. It waits delay_between_initial_flames
between each spawned secondary_pictures
. This can be used to make fires look less repetitive.
Ex: Spitters use this to make several smaller splashes around the main one.
uses_alternative_behavior
Type: bool
Default: false
If false, then all animations loop. If true, they run once and stay on the final frame. Also changes the behavior of several other fire properties as mentioned in their descriptions.
Ex: Spitters use alternate behavior, flamethrower flames don't.
limit_overlapping_particles
Type: bool
Default: false
tree_dying_factor
Type: float
Default: 0
fade_in_duration
Type: uint32
Default: 30
fade_out_duration
Type: uint32
Default: 30
initial_lifetime
Type: uint32
Default: 300
damage_multiplier_decrease_per_tick
Type: float
Default: 0.0
damage_multiplier_increase_per_added_fuel
Type: float
Default: 0.0
maximum_damage_multiplier
Type: float
Default: 1.0
lifetime_increase_by
Type: uint32
Default: 20
lifetime_increase_cooldown
Type: uint32
Default: 10
maximum_lifetime
Type: uint32
Default: Max uint32
add_fuel_cooldown
Type: uint32
Default: 10
delay_between_initial_flames
Type: uint32
Default: 10
smoke_fade_in_duration
Type: uint32
Default: 30
smoke_fade_out_duration
Type: uint32
Default: 30
on_fuel_added_action
Type: Trigger
on_damage_tick_effect
Type: Trigger
light
Type: LightDefinition
particle_alpha_blend_duration
Type: uint16
Default: 0
burnt_patch_lifetime
Type: uint32
Default: 1800
burnt_patch_alpha_default
Type: float
Default: 1
particle_alpha
Type: float
Default: 1
Only loaded if uses_alternative_behavior
is true.
particle_alpha_deviation
Type: float
Default: 0
Only loaded if uses_alternative_behavior
is true.
flame_alpha
Type: float
Default: 1
Only loaded if uses_alternative_behavior
is false.
flame_alpha_deviation
Type: float
Default: 0
Only loaded if uses_alternative_behavior
is false.
burnt_patch_alpha_variations
Type: table
Array of tables with the following mandatory members: