You are viewing a potentially older version of this package. View all versions.
ButteryStancakes-BarberFixes-1.2.1 icon

BarberFixes

Fixes several issues with Barbers. Now allows restoring spawn behaviors from previous versions of the game.

Date uploaded a day ago
Version 1.2.1
Download link ButteryStancakes-BarberFixes-1.2.1.zip
Downloads 4260
Dependency string ButteryStancakes-BarberFixes-1.2.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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 Barbers not opening doors (and getting stuck moving against closed doors instead)
  • 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:

  • OnlyOneBarber - When disabled, up to 8 Barbers are allowed to spawn in one day, like before v62. In vanilla, Barbers have been spawn-capped at 1, likely to hide the synchronization issues mentioned above.
  • SpawnInPairs - When enabled, Barbers will spawn in groups of 2, like "intended" in the first v55 beta. VentSpawnFix is REQUIRED for this 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)

CHANGELOG

v1.2.1

  • Publicized some code in the assembly to allow compatibility with other Barber mods

v1.2.0

  • Fixed Barbers being unable to open doors

v1.1.0

  • Added an ApplySpawningSettings config option to improve compatibility with other content configuration mods (ex: LethalQuantities)
  • Added an OnlyOneBarber config option. Disabling this will let 8 Barbers spawn per day again.
  • Fixed a bug where the drumroll overlaps the immediate "parade" sound when a Barber spawns.
  • Switched dependency from LethalFixes to VentSpawnFix, as the latter's group spawn fix is no longer included in the former.

v1.0.0

  • Initial release.