Prototype/FireFlame: Difference between revisions
(Added description of initial_flame_count and uses_alternative_behavior) |
(Migrated prototype doc to separate website) |
||
Line 1: | Line 1: | ||
'''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] | |||
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]. | |||
{{Prototype parent|Prototype/Entity}} | {{Prototype parent|Prototype/Entity}} | ||
A fire. | A fire. |
Revision as of 17:52, 16 August 2023
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.
Template:Prototype parent A fire.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
Optional properties
Template:Prototype property The name of an entity.
Template:Prototype property
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.
Template:Prototype property 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.
Template:Prototype property
Only loaded if uses_alternative_behavior
is true.
Template:Prototype property
Only loaded if uses_alternative_behavior
is true.
Template:Prototype property
Only loaded if uses_alternative_behavior
is false.
Template:Prototype property
Only loaded if uses_alternative_behavior
is false.
Template:Prototype property Array of tables with the following mandatory members: