Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
WeightedCategoryPatch
A lightweight patch for **BrutalCompanyMinusExtraReborn** that improves event selection when `Use custom weights?` is enabled.
| Date uploaded | 2 weeks ago |
| Version | 1.0.2 |
| Download link | PikaTeam-WeightedCategoryPatch-1.0.2.zip |
| Downloads | 11 |
| Dependency string | PikaTeam-WeightedCategoryPatch-1.0.2 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305SoftDiamond-BrutalCompanyMinusExtraReborn
V80+ Continued Fork of BrutalCompanyMinusExtra. More Events, Mod Integrations, and Chaos!
Preferred version: 1.50.6README
WeightedCategoryPatch
A lightweight patch for BrutalCompanyMinusExtraReborn that improves event selection when Use custom weights? is enabled.
What it does
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.
Requirements
- BrutalCompanyMinusExtraReborn
Use custom weights?= truein BrutalCompanyMinusExtraReborn config (otherwise this patch does nothing)
Compatibility
Only affects event selection logic when Use custom weights? is enabled. All other BrutalCompanyMinusExtraReborn functionality remains unchanged.