A range where the minimum is the cave treasure chance at island 0,0 and the maximum is the cave treasure chance at
a distance >= maxDistance
A number representing a distance from island 0,0 where the max amount of cave treasures spawn.
A decimal chance of whether additional treasures should be generated. This chance is rolled for every additional treasure
in the treasures
range
The minimum distance from the edge of the world that a treasure can be at
The minimum distance a treasure can be from the edge of a treasure map
The map's dimensions, x & y, will be radius * 2 + 1
The number of treasure maps an island can have
The number of treasures a map can contain. extraTreasuresChance
determines the chance of subsequent treasures after
all required treasures have been placed, and is rerolled for each subsequent treasure
Generated using TypeDoc
Configuration for how treasure maps should spawn in caves