Prototype/FireFlame: Difference between revisions
(Created page with "== Basics == Extends Prototype/Entity. == Mandatory properties == This prototype inherits all the properties from Prototype/Entity. === spawn_entity === '''Type''':...") |
(Added prototype type to page) |
||
Line 1: | Line 1: | ||
== Basics == | == Basics == | ||
Prototype type: '''fire''' | |||
Extends [[Prototype/Entity]]. | Extends [[Prototype/Entity]]. | ||
Revision as of 16:27, 21 January 2019
Basics
Prototype type: fire
Extends Prototype/Entity.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
spawn_entity
Type: Types/string
The name of an 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: "smoke"
small_tree_fire_pictures
Type: Types/AnimationVariations
pictures
Type: Types/AnimationVariations
smoke_source_pictures
Type: Types/AnimationVariations
burnt_patch_pictures
Type: Types/SpriteVariations
smoke
Type: Array of Types/SmokeSource
initial_flame_count
Type: Types/uint8
Default: 0
maximum_spread_count
Type: Types/uint16
Default: 200
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
damage_multiplier_increase_per_added_fuel
Type: Types/float
Default: 0
maximum_damage_multiplier
Type: Types/float
Default: 1
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
light
Type: Types/LightDefinition
flame_alpha_deviation
Type: Types/float
Default: 0
burnt_patch_lifetime
Type: Types/uint32
Default: 1800
burnt_patch_alpha_default
Type: Types/float
Default: 1
burnt_patch_alpha_variations
Type: Types/table
Array of tables with the below mandatory members:
tile
Type: Types/string
Name of a tile.
alpha
Type: Types/float