mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
26 lines
745 B
Plaintext
26 lines
745 B
Plaintext
/// Distribution of different dungeon levels.
|
|
///
|
|
/// first number is dungeon level, integer
|
|
/// second number is weight, any normal positive float (not a NaN, for example)
|
|
///
|
|
/// Values are relative to each other,
|
|
/// lesser weight means there will be less dungeons of that tier.
|
|
///
|
|
/// General rules:
|
|
/// 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
|
|
///
|
|
/// 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
|
|
([
|
|
(0, 0.3),
|
|
(1, 0.2),
|
|
(2, 0.05),
|
|
(3, 0.05),
|
|
(4, 0.1),
|
|
(5, 0.3),
|
|
])
|