Stratum ore: Allow use with no noise for simple strata #6480
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If either of the 2 noise parameters are omitted the ore will occur from y_min
to y_max in a simple horizontal stratum. As this does not compute noise
performance improves, and is ideal for placing many layers.
Clean up some nearby ore documentation.
/////////////
^ Ore density defined by 'clust_scarcity' is still usable without noise
Tested.
Allows using this ore type with no 2D noises for higher performance, the result is simple horizontal strata with top and base set to ore y limits. These will be useful for various, sometimes unusual, uses.
Stratum ore normally uses 2 2D noises, if either noise parameter is not present in the ore registration no noises are used and the ore occurs between y_min and y_max.
I was inspired by seeing a screenshot of Mineclone2 which had multiple horizontal strata, why insist on 2D noises and compute them when they are not needed?