Prototype/FireFlame: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent|Prototype/Entity}}
== Basics ==
== Basics ==
Prototype type: '''fire'''
Prototype type: '''fire'''

Revision as of 15:19, 24 July 2019

Template:Prototype parent

Basics

Prototype type: fire

Extends Prototype/Entity.

Mandatory properties

This prototype inherits all the properties from Prototype/Entity.

damage_per_tick

Type: Types/DamagePrototype

spread_delay

Type: Types/uint32

spread_delay_deviation

Type: Types/uint32

Optional properties

render_layer

Type: Types/RenderLayer

Default: "object"

initial_render_layer

Type: Types/RenderLayer

Default: "object"

secondary_render_layer

Type: Types/RenderLayer

Default: "object"

small_tree_fire_pictures

Type: Types/AnimationVariations

pictures

Type: Types/AnimationVariations

smoke_source_pictures

Type: Types/AnimationVariations

secondary_pictures

Type: Types/AnimationVariations

burnt_patch_pictures

Type: Types/SpriteVariations

secondary_picture_fade_out_start

Type: Types/uint32

Default: 0

secondary_picture_fade_out_duration

Type: Types/uint32

Default: 30

spawn_entity

Type: Types/string

The name of an entity.

smoke

Type: Array of Types/SmokeSource

maximum_spread_count

Type: Types/uint16

Default: 200

initial_flame_count

Type: Types/uint8

Default: 0

uses_alternative_behavior

Type: Types/bool

Default: false

limit_overlapping_particles

Type: Types/bool

Default: false

tree_dying_factor

Type: Types/float

Default: 0

fade_in_duration

Type: Types/uint32

Default: 30

fade_out_duration

Type: Types/uint32

Default: 30

initial_lifetime

Type: Types/uint32

Default: 300

damage_multiplier_decrease_per_tick

Type: Types/float

Default: 0.0

damage_multiplier_increase_per_added_fuel

Type: Types/float

Default: 0.0

maximum_damage_multiplier

Type: Types/float

Default: 1.0

lifetime_increase_by

Type: Types/uint32

Default: 20

lifetime_increase_cooldown

Type: Types/uint32

Default: 10

maximum_lifetime

Type: Types/uint32

Default: Max uint32

add_fuel_cooldown

Type: Types/uint32

Default: 10

delay_between_initial_flames

Type: Types/uint32

Default: 10

smoke_fade_in_duration

Type: Types/uint32

Default: 30

smoke_fade_out_duration

Type: Types/uint32

Default: 30

on_fuel_added_action

Type: Types/Trigger

on_damage_tick_effect

Type: Types/Trigger

light

Type: Types/LightDefinition

particle_alpha_blend_duration

Type: Types/uint16

Default: 0

burnt_patch_lifetime

Type: Types/uint32

Default: 1800

burnt_patch_alpha_default

Type: Types/float

Default: 1

particle_alpha

Type: Types/float

Default: 1

Only loaded if uses_alternative_behavior is true.

particle_alpha_deviation

Type: Types/float

Default: 0

Only loaded if uses_alternative_behavior is true.

flame_alpha

Type: Types/float

Default: 1


Only loaded if uses_alternative_behavior is false.

flame_alpha_deviation

Type: Types/float

Default: 0

Only loaded if uses_alternative_behavior is false.

burnt_patch_alpha_variations

Type: Types/table

Array of tables with the following mandatory members: