PikaTeam-WeightedCategoryPatch icon

WeightedCategoryPatch

A lightweight patch for BrutalCompanyMinusExtraReborn that improves event selection when `Use custom weights?` is enabled.

Last updated 2 days ago
Total downloads 42
Total rating 0 
Categories Mods Misc Bug Fixes Tweaks & Quality Of Life
Dependency string PikaTeam-WeightedCategoryPatch-1.0.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
SoftDiamond-BrutalCompanyMinusExtraReborn-1.50.6 icon
SoftDiamond-BrutalCompanyMinusExtraReborn

V80+ Continued Fork of BrutalCompanyMinusExtra. More Events, Mod Integrations, and Chaos!

Preferred version: 1.50.6

README

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.