Prototype/NamedNoiseExpression: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Replace 0.16 info with stuff about overriding via MapGenSettings)
(Removed old prototype docs)
Tag: Replaced
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basics ==
<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/NamedNoiseExpression.html https://lua-api.factorio.com/latest/prototypes/NamedNoiseExpression.html]
Prototype type: '''noise-expression'''


 
</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>
A [[Types/NoiseExpression]] together with a name.
 
Named noise expressions are used to specify functions for elevation, temperature, moisture, aux, and cliffiness.
 
e.g. the "elevation" expression is used to calculate elevation for every point on a map.
 
[http://lua-api.factorio.com/latest/Concepts.html#MapGenSettings MapGenSettings]
can override which named expression is used to calculate a given property by having an entry in
<code>property_expression_names</code>.  e.g. <code>elevation = "0.16-elevation"</code>
 
 
== Mandatory properties ==
Inherits all properties from [[Prototype]].
 
=== expression ===
'''Type''': [[Types/NoiseExpression]]
 
The expression itself.

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