mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'zesterer/worldgen-tweaks' into 'master'
Reduced frequency of bee hives See merge request veloren/veloren!1936
This commit is contained in:
commit
8afaea9af7
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user