i want to have a system where if player gets away from the spawn, the terrain has a more chance to be a rare one, but how can i achieve it with multiple rarity levels, also the “terrain” is big flat cubic surfaces, not rendered in small sizes or circular, so .magnitude wouldnt get the job done. more than one-two rarity is also another problem because if you decrease one and incerease other, the one in the middle stays same, if you increase 2 and decrease one, after getting to far away, the rare and epic ones will have a close chance and since there is a very small chance to get the common one it wont change much, we have to start decreasing rare after a base amount too. how to calculate these, how can i know which grid are they in, the generation is cubic and very big sized (around 1200x1200 studs for every biome)
heres some photos to make it more understandable;
i have the terrain generation, but i need a system to create those big surfaces and tell them which biome are they before generating terrain on them.