
Equal Interiors
Equal interior chances on every playable moon, with an enable/disable config for every installed interior. Supports future interiors automatically. Compatible with JLL and LethalLevelLoader.Equal Interiors
Every playable moon gets the same interior pool, with equal chances for each enabled interior. Every installed LethalLevelLoader interior has its own enable/disable setting, including interiors with zero original spawn weight. Built against Lethal Company v81 and LethalLevelLoader 1.7.13, with compatibility designed around JLL 1.10.1's existing interior callbacks.
For example, with Generic Interiors 5.2.1 and LiminalPools 1.0.17 installed, these ten interiors each have a 10% chance on every playable moon:
- Facility
- Haunted Mansion
- Mineshaft
- Storehouse
- Bunker
- Drains
- Substation
- Tower
- Liminal Facility (Backrooms)
- Liminal Pools
Installing another interior that registers with LethalLevelLoader automatically adds its config entry and includes it in the shared pool by default. Each enabled interior receives weight 100, so eleven enabled interiors would each have a 1/11 chance. Disable one of those eleven and the remaining ten each have a 10% chance. Repeats are possible.
Installation
The host needs this mod. Everyone still needs compatible versions of the actual interior mods and their dependencies.
Install through Thunderstore Mod Manager or r2modman. For a downloaded ZIP, use your manager's local-mod import, or copy BepInEx/plugins/EqualInteriors/EqualInteriors.dll into that folder inside the host's profile. Restart the game after installation.
Required: BepInEx 5 and LethalLevelLoader 1.7.13 or newer. JLL is supported as an optional dependency; its doors, elevators, components, generation callbacks, and other interior scripts continue through the existing generation pipeline.
To remove the mod, remove its EqualInteriors.dll and restart. Its configuration file can be left in place or deleted.
Configuration
The file is BepInEx/config/sockpoop.equalinteriors.cfg. Launch the game and host or join a lobby once to let LethalLevelLoader finish registering every installed interior. You do not need to land, visit an interior, or unlock a moon. The mod generates switches from the complete installed-interior registry, not from previously encountered interiors or a moon's current spawn list.
Close the game, open this file in your mod manager's config editor or a text editor, and set any unwanted interior to false. For example:
[General]
Enabled = true
ExcludedInteriors =
[Interiors]
# Facility
Level1Flow = true
# Haunted Mansion
Level2Flow = true
# Mineshaft
Level3Flow = true
# Disable Substation on every playable moon
SubstationFlow = false
- General / Enabled: Set to
falseto use LethalLevelLoader's original selection again. - Interiors / each asset name:
trueallows that interior on every playable moon;falseremoves it from every playable moon. Comments in the generated file show the display name. All ordinary interiors default to enabled. - Facility variants:
Level1FlowExtraLargeandLevel1Flow3Exitshave their own switches, defaulting tofalseso Facility gets one ticket. You can explicitly enable them. LethalLevelLoader still adjusts fire exits for the selected moon. - General / ExcludedInteriors: Migration support for version 1.0. Existing exclusions seed a newly created toggle to
false. Once a toggle exists, it takes precedence over this list. Use the individual switches for future changes.
Restart the game after editing settings. The host's settings control the actual roll. When you install more interiors, their entries are added automatically on the next game/lobby load; existing settings are preserved. Mods that are not installed cannot have entries generated yet. LethalLevelLoader's per-interior Enable Content Configuration switches can remain off: this mod replaces the final candidate list in memory.
Keep at least one interior enabled. If all usable interiors are disabled, the mod cancels moon landing and shows the host a message. It does not silently select a disabled Facility as a fallback. You can still land at the Company. Enable at least one interior and restart to resume normal landings.
Checking the result
On the host's ship terminal, enter simulate experimentation, simulate march, or another moon name. The example mod set above with default settings should show ten interiors at 10% each. After disabling Substation, it should show the other nine at approximately 11.11% each on either moon. A client without this mod may display its own original preview; the host still supplies the actual selection table.
The BepInEx log includes an [Equal Interiors] entry listing the final pool. Earlier LethalLevelLoader diagnostic entries can show the original moon-specific weights because this mod runs after that calculation.
Scope and compatibility
The mod patches DungeonManager.GetValidExtendedDungeonFlows with a Harmony postfix. It builds the pool from all valid registered dungeon assets and filters it using the individual toggles, so an interior with zero original weight can appear on every playable moon. It does not rewrite the original matching properties or consume random numbers. LethalLevelLoader continues distributing the host's candidate list and weights, and the game continues choosing the interior and layout from the map seed. A host-side StartOfRound.StartGame prefix cancels landing if the configured pool is empty.
The Company and destinations without dungeon generation retain their normal behavior. This covers moons routed through LethalLevelLoader; a mod that completely replaces that loading/selection pipeline would need its own integration. Other mods that overwrite the same returned candidate list can conflict.
Equalizing eligibility does not guarantee every third-party interior can generate successfully at every moon size. The original dungeon sizing and generation rules still apply. Disable a problematic interior if needed.
Validation
The release is compiled against the installed game, BepInEx, Harmony, and LethalLevelLoader DLLs. Its 26 headless checks exercise the production selection policy, settings, and adapter using names extracted from installed asset bundles: equal pools across all inspected moons, zero-weight interiors, per-interior disabling and re-enabling, legacy migration, all-disabled landing prevention, complete registry enumeration before any landing, future interiors, stable ordering, and terminal/landing consistency. A separate harness checks config persistence using the actual installed BepInEx assembly.
These checks do not substitute for a live Unity generation or multiplayer session. A live game/multiplayer test has not been performed for this release.
Building from source
Install the .NET 10 SDK, then run from the source folder:
.\build.ps1 -GameDir 'C:\Games\Lethal Company' -ProfileDir 'C:\path\to\your\mod\profile'
dotnet run --project .\tests\Tests.csproj -c Release
dotnet run --project .\config-tests\ConfigTests.csproj -c Release '-p:GameDir=C:\Games\Lethal Company' '-p:ProfileDir=C:\path\to\your\mod\profile' -- .\config-test-data
Change those paths for your machine. The build uses the game's managed assemblies and your profile's BepInEx/LLL references; it does not download or redistribute game/library binaries. The resulting DLL is EqualInteriors/bin/Release/netstandard2.1/EqualInteriors.dll.
Upstream packages: LethalLevelLoader, JLL.
This plugin was created using AI-assisted development. The validation scope is described above.