


A lightweight patch for BrutalCompanyMinusExtraReborn that improves event selection when Use custom weights? is enabled.
By default, enabling Use custom weights? removes category separation entirely - all events are merged into one large pool and selected purely by their individual weights, ignoring type distribution.
This patch adds category-aware weighted selection: when choosing an event, the mod first picks an event category (Insane, VeryBad, Bad, Neutral, Good, VeryGood, Rare) according to the configured type weights - just like it works with Use custom weights? disabled - and then picks a random event within that category taking its individual weight into account. This makes the type weight configuration actually meaningful.
Use custom weights?= true in BrutalCompanyMinusExtraReborn config (otherwise this patch does nothing)Only affects event selection logic when Use custom weights? is enabled. All other BrutalCompanyMinusExtraReborn functionality remains unchanged.