BarberFixes
Fixes several issues with Barbers. Now allows restoring spawn behaviors from previous versions of the game.
About this mod Author’s original text
Barber Fixes
**All players need to have this mod installed.**
Fixes bugs with the Barber:
- Fixed the Barber AI so it actually functions when multiple Barbers spawn.
- In vanilla, only the first Barber spawned would work as expected. Any future Barbers would slide around with no sound or animations and then eventually get stuck in place.
- Fixed some unsafe code in the Barber AI, causing them to freeze in place and generate errors in the console.
- This doesn't happen in vanilla because the code responsible doesn't run at all (due to the first bug)
- Fixed all Barbers (sometimes) freezing in place indefinitely when the first Barber kills someone that isn't the host.
- Fixed drumroll sometimes being desynced from the first jump that happens after a player is killed.
- Fixed the drumroll playing (and overlapping the immediate "parade" sound) when a Barber first spawns.
Also adds some config settings to re-enable certain behaviors:
- MaxCount - Lets you set the number of Barbers allowed to spawn during a single day. From v55-v61, this was set to 8. This was set to 1 in v62, likely to hide the synchronization issues mentioned above.
- SpawnInGroupsOf - Lets you set how many additional Barbers will try to spawn if a Barber is assigned to a vent. In v55, this was set to 2. This was set to 1 in v56, since vanilla never supported grouped indoor monsters.
- Spawn Cycle Fixes is REQUIRED for values greater than 1 to function!
- DrumrollFromAll - When enabled, all Barbers will do a drumroll before they "jump." In vanilla, only the original Barber plays the drumroll. It's unclear whether this is intended or an oversight (the code is inconclusive)
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.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPack