2021-06-19 20:19:43 +00:00
|
|
|
/// Distribution of different dungeon levels.
|
|
|
|
///
|
|
|
|
/// first number is dungeon level, integer
|
2021-06-19 21:14:54 +00:00
|
|
|
/// second number is weight, any normal positive float (not a NaN, for example)
|
2021-06-19 20:19:43 +00:00
|
|
|
///
|
|
|
|
/// Values are relative to each other,
|
2021-06-19 21:14:54 +00:00
|
|
|
/// lesser weight means there will be less dungeons of that tier.
|
2021-06-19 20:19:43 +00:00
|
|
|
///
|
|
|
|
/// General rules:
|
2021-06-19 21:14:54 +00:00
|
|
|
/// 1) Weight should not be less then zero
|
|
|
|
/// 2) At least some of weights shouldn't be a zero
|
|
|
|
/// 3) Keep it synced with number of dungeon levels
|
|
|
|
/// 4) Keep these pairs sorted from lowest to highest tier
|
2021-06-19 20:32:12 +00:00
|
|
|
///
|
|
|
|
/// Tips:
|
|
|
|
/// 1) Set every probability to 0.0 and left one with any other number
|
|
|
|
/// and you will have map full of dungeons of same level
|
2021-06-19 20:19:43 +00:00
|
|
|
([
|
2021-12-27 18:11:59 +00:00
|
|
|
(2, 0.20),
|
|
|
|
(4, 0.10),
|
|
|
|
(5, 0.10),
|
2021-06-19 20:19:43 +00:00
|
|
|
])
|