From 1d5d9116ae266d054d8b950bed442d6b0314dead Mon Sep 17 00:00:00 2001 From: louis-e <44675238+louis-e@users.noreply.github.com> Date: Sat, 14 Feb 2026 18:51:50 +0100 Subject: [PATCH] Increase chances for building feature generation --- src/element_processing/buildings.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/element_processing/buildings.rs b/src/element_processing/buildings.rs index 9dbcfa5..9f8e3df 100644 --- a/src/element_processing/buildings.rs +++ b/src/element_processing/buildings.rs @@ -1855,7 +1855,7 @@ fn generate_residential_window_decorations( let centre_sum = if mod6 == 3 { bx + bz - 2 } else { bx + bz + 2 }; let shutter_roll = coord_rng(centre_sum, centre_sum, element.id).random_range(0u32..100); - if shutter_roll < 12 { + if shutter_roll < 25 { for h in (config.start_y_offset + 1) ..=(config.start_y_offset + config.building_height) { @@ -1904,7 +1904,7 @@ fn generate_residential_window_decorations( let abs_y = h + config.abs_terrain_offset; - if decoration_roll < 6 { + if decoration_roll < 15 { // ── Window sill ── let lx = bx + out_nx; let lz = bz + out_nz; @@ -1937,7 +1937,7 @@ fn generate_residential_window_decorations( None, ); } - } else if decoration_roll < 10 && mod6 == 1 { + } else if decoration_roll < 23 && mod6 == 1 { // ── Balcony (placed once from centre col) ── // A small 3-wide × 2-deep platform with // open-trapdoor railing around the outer