Prototype/TrivialSmoke: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Note 255 instance limit)
(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/TrivialSmokePrototype.html https://lua-api.factorio.com/latest/prototypes/TrivialSmokePrototype.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|PrototypeBase}}
{{Prototype parent|PrototypeBase}}
Smoke, but it's not an entity for optimization purposes. Only 255 instances of this prototype may be defined.
Smoke, but it's not an entity for optimization purposes. Only 255 instances of this prototype may be defined.

Revision as of 17:53, 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/TrivialSmokePrototype.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 Smoke, but it's not an entity for optimization purposes. Only 255 instances of this prototype may be defined.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from PrototypeBase.

Template:Prototype property

Template:Prototype property Can't be 0 - the smoke will never render.

Optional properties

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property Value between 0 and 1, with 1 being no slowdown and 0 being no movement.

Template:Prototype property

Template:Prototype property fade_in_duration + fade_away_duration must be <= duration.

Template:Prototype property fade_in_duration + fade_away_duration must be <= duration.

Template:Prototype property

Template:Prototype property

Template:Prototype property Smoke always moves randomly unless movement_slow_down_factor is 0. If affected_by_wind is true, the smoke will also be moved by wind.

Template:Prototype property

Template:Prototype property