Add distant large biter caves to Diggy #1041
Open
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.
Description: This pull request is related to Diggy feedback/todo collection thread #926 and specifically, Diggy Scenario Idea - Biter caves: #244.
The implementation below creates two different noise patterns. One compound noise pattern is used near the spawn area and creates small openings near the spawn similar in size to current Diggy implementation. A second compound noise pattern is used when over a certain distance (set in config) from the origin which has the potential to generate cave-like openings that can be approximately 2-10 times as large in size. Effort was made to use the same seeded_noise function in scattered_resources.lua to move closer towards another wishlist item "Replace room and terrain generation by the same system that generates ores".
Additional small change in this PR: Allow for the use of the new landfill tile introduced in 0.17.10 which looks great in Diggy. (it used to be grass-1 and Diggy overwrote it with random dirt tiles).
Would like to open to beta test play and gather some feedback prior to merging.