Merge branch 'zesterer/worldgen-tweaks' into 'master'

Reduced frequency of bee hives

See merge request veloren/veloren!1936
This commit is contained in:
Marcel 2021-03-18 08:27:32 +00:00
commit 8afaea9af7

View File

@ -240,7 +240,7 @@ pub fn apply_trees_to(canvas: &mut Canvas, dynamic_rng: &mut impl Rng) {
last_block = block;
})
.unwrap_or_else(|| {
if last_block.kind() == BlockKind::Wood && dynamic_rng.gen_range(0..512) == 0 {
if last_block.kind() == BlockKind::Wood && dynamic_rng.gen_range(0..2048) == 0 {
canvas.set(wpos, Block::air(SpriteKind::Beehive));
}