Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
1K
Size
15KB

Diversity Fix 1.0.0 (unofficial)

Small BepInEx preloader patcher. On game start, before plugins load, it finds Diversity Remastered.dll (Diversity 3.1.0 by IntegrityChaos, https://thunderstore.io/c/lethal-company/p/IntegrityChaos/Diversity/) and, only if needed, rewrites five references to game code that changed in newer Lethal Company versions:

  1. PlayerControllerB.KillPlayer - passes the new setOverrideDropItems argument with the game default (false).
  2. PlayerControllerB.HasLineOfSightToPosition - passes the new layerMask argument with the game default (-1).
  3. new SpawnableEnemyWithRarity() - uses the new (EnemyType, int) constructor.
  4. DropAllHeldItemsServerRpc() (removed) - replaced by DropAllHeldItemsAndSyncNonexact().
  5. DunGen.Door - type moved from Assembly-CSharp to the DunGen assembly.

No gameplay changes. Diversity is licensed CC BY-NC-SA 4.0; this patch is shared non-commercially under the same terms. Check the BepInEx log for lines starting with [DiversityFix].

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.