WeightedCategoryPatch
A lightweight patch for BrutalCompanyMinusExtraReborn that improves event selection when `Use custom weights?` is enabled.
About this mod Author’s original text
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, Remove) 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
- BrutalCompanyMinusExtraReborn → Difficulty_Settings.cfg → [_Event Settings] → Use custom weights? = true
⚠️ Without this option enabled, the patch does nothing.
Compatibility
Only affects event selection logic when Use custom weights? is enabled. All other BrutalCompanyMinusExtraReborn functionality remains unchanged.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: