Prototype/FireFlame: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
(Removed old prototype docs)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''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 https://lua-api.factorio.com/latest/prototypes/FireFlamePrototype.html]
Prototype type: '''fire'''


Extends [[Prototype/Entity]].
</p><p>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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== 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 <code>uses_alternative_behavior</code> is true.
 
=== particle_alpha_deviation ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
Only loaded if <code>uses_alternative_behavior</code> is true.
 
=== flame_alpha ===
'''Type''': [[Types/float]]
 
'''Default''': 1
 
 
Only loaded if <code>uses_alternative_behavior</code> is false.
 
=== flame_alpha_deviation ===
'''Type''': [[Types/float]]
 
'''Default''': 0
 
Only loaded if <code>uses_alternative_behavior</code> is false.
 
=== burnt_patch_alpha_variations ===
'''Type''': [[Types/table]]
 
Array of tables with the following mandatory members:
* tile - [[Types/string]] - Name of a tile.
* alpha - [[Types/float]]

Latest revision as of 14:32, 25 October 2024

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.