Prototype/TileEffect: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.18.10)
 
(Removed old prototype docs)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent}}
<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/TileEffectDefinition.html https://lua-api.factorio.com/latest/prototypes/TileEffectDefinition.html]
Used to define the parameters for the water shader.


{{Prototype TOC|tile-effect}}
</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 ==
 
{{Prototype property|type|[[Types/string|string]]}}
Must be "tile-effect".
 
{{Prototype property|name|[[Types/string|string]]}}
Name of the tile-effect. Must be "water" since only one instances of this prototype can be defined.
 
{{Prototype property|specular_lightness|[[Types/Color|Color]]}}
 
{{Prototype property|foam_color|[[Types/Color|Color]]}}
 
{{Prototype property|foam_color_multiplier|[[Types/float|float]]}}
 
{{Prototype property|tick_scale|[[Types/float|float]]}}
 
{{Prototype property|animation_speed|[[Types/float|float]]}}
 
{{Prototype property|animation_scale|[[Types/table|array]] of one or two [[Types/float|float]]}}
 
{{Prototype property|dark_threshold|[[Types/table|array]] of one or two [[Types/float|float]]}}
 
{{Prototype property|reflection_threshold|[[Types/table|array]] of one or two [[Types/float|float]]}}
 
{{Prototype property|specular_threshold|[[Types/table|array]] of one or two [[Types/float|float]]}}
 
{{Prototype property|texture|[[Types/Sprite|Sprite]]}}
Sprite size must be 512x512.
 
== Optional properties ==
 
{{Prototype property|near_zoom|[[Types/float|float]]|2.0}}
 
{{Prototype property|near_zoom|[[Types/float|float]]|0.5}}

Latest revision as of 14:33, 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/TileEffectDefinition.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.