Prototype/TrivialSmoke: Difference between revisions
m (Protected "Prototype/TrivialSmoke": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Updated styling of prototype doc migration note) |
||
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] | <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/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]. | </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> | ||
Revision as of 10:43, 21 September 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.