Prototype/TrivialSmoke: Difference between revisions
(Migrated prototype doc to separate website) |
m (Protected "Prototype/TrivialSmoke": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
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.
Mandatory properties
This prototype inherits all the properties from PrototypeBase.
Template:Prototype property Can't be 0 - the smoke will never render.
Optional properties
Template:Prototype property Value between 0 and 1, with 1 being no slowdown and 0 being no movement.
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
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.