Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Equal Interiors
Equal interior chances, individual interior checkboxes, a loading bar, and configurable loot boosts with a minimum scrap quantity. Supports newly installed interiors. Compatible with JLL and LethalLevelLoader.
By baggers
| Last updated | 24 minutes ago |
| Total downloads | 367 |
| Total rating | 1 |
| Categories | Tools Server-side Interiors AI Generated |
| Dependency string | baggers-Equal_Interiors-1.5.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
AinaVT-LethalConfig
Provides an in-game config menu for players to edit their configs, and an API for other mods to use and customize their entries.
Preferred version: 1.4.6BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305IAmBatby-LethalLevelLoader
A Custom API to support the manual and dynamic integration of all forms of custom content in Lethal Company. (v81 Compatible)
Preferred version: 1.7.13README
Equal Interiors
Every playable moon gets the same interior pool, with equal chances for each enabled interior. Every vanilla and installed modded interior has its own checkbox in LethalConfig, including interiors with zero original spawn weight. A loading bar shows moon-loading stages, elapsed time, and interior-generation retries. A configurable loot boost adds more scrap and can increase the count further for large interiors. 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 to control interior chances and the loot boost. The game's normal network spawning sends the added scrap to everyone. Each player who wants the loading bar installs the mod locally. 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 your profile. Replace an older copy rather than installing two DLLs. Restart the game after installation.
Required: BepInEx 5, LethalLevelLoader 1.7.13 or newer, and LethalConfig 1.4.6 or newer. A mod manager installs these dependencies automatically. 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
Open LethalConfig > Equal Interiors in the game's menu. Under Vanilla interiors, Facility, Mansion, Mineshaft, and the alternate Facility layouts each have their own checkbox. Under Modded interiors, each installed custom interior gets its own checkbox.
Checked = enabled. Unchecked = disabled. Apply your changes while in orbit; they take effect on the next landing without restarting the game. The menu prevents changing the pool during a landing or active round.
Vanilla checkboxes are available immediately. Host or join a lobby once to let LethalLevelLoader finish registering all installed custom interiors, then reopen the config menu if it was already open. You do not need to land, visit an interior, or unlock a moon. The complete installed-interior registry supplies the list, including zero-weight layouts.
Settings are saved in BepInEx/config/sockpoop.equalinteriors.cfg. If editing this file manually, close and restart the game. For example:
[General]
Enabled = true
[Loading Screen]
Show Loading Bar = true
[Loot]
Enable Loot Boost = true
Base Scrap Multiplier = 1.5
Minimum Scrap Items = 20
Scale Loot With Interior Size = true
Area Per Scrap Item = 250
Maximum Scrap Multiplier = 3
Boosted Scrap Limit = 100
[Interiors]
# Facility
Level1Flow = true
# Haunted Mansion
Level2Flow = true
# Mineshaft
Level3Flow = true
# Disable Substation on every playable moon
SubstationFlow = false
- Enable Equal Interiors: Uncheck to use LethalLevelLoader's original selection again.
- Show loading bar: Under Loading Screen. Show or hide the local loading display immediately, including during loading. This setting works independently of Enable Equal Interiors.
- Loot: Host-controlled scrap amount and density settings, described below. Independent of Enable Equal Interiors; disable Enable loot boost to restore the original scrap count.
- Each interior checkbox: Checked allows that interior on every playable moon; unchecked removes it from every playable moon. 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. - Upgrading from older versions: Existing per-interior settings are preserved. Any old exclusion list is migrated into initial checkbox values and removed after lobby setup. The old comma-separated text field is no longer displayed.
The host's settings control the actual roll. When you install more interiors, their checkboxes 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 checked. 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. Check at least one interior and apply your changes to resume normal landings.
More loot for large interiors
The loot boost is enabled by default. Version 1.5.0 adds a configurable minimum quantity, defaulting to 20 normal scrap items. Open LethalConfig > Equal Interiors > Loot. Change these settings as the host while in orbit; they apply on the next landing.
| Setting | Default | Effect |
|---|---|---|
| Enable loot boost | On | Increase normal interior scrap counts. |
| Base scrap multiplier | 1.5 | About 50% more items, rounded up to a whole item. |
| Minimum scrap items | 20 | Request at least this many normal items. Range 0–500; 0 disables the minimum. Takes priority over the multiplier cap, but respects the item limit. |
| Scale loot with interior size | On | Raise the count further when the generated interior is large. |
| Area per scrap item | 250 | Target one item per 250 square metres of estimated room footprint. Lower values mean more loot. |
| Maximum scrap multiplier | 3 | Limit the base boost and size scaling to three times the normal rolled count. The minimum quantity may exceed this multiplier. |
| Boosted scrap limit | 100 | Stop this boost adding normal scrap beyond 100 items. |
For a moon that rolls 8 normal items, the default minimum raises the request to 20 even when the base multiplier or estimated room area would give fewer items. A very large interior can still request 24 through size scaling. A roll of 28 can rise to as many as 84. The minimum is a total quantity, not an extra 20 items added to every roll.
The minimum takes priority over Maximum scrap multiplier: a roll of 1 can still request 20. Boosted scrap limit takes priority over the minimum: setting the minimum to 40 and the limit to 25 requests at most 25 from this boost, unless the original roll was already higher. Set the minimum to 0 to restore the previous multiplier/density behavior. These are requested counts: valid spawn points and the moon's item pool still determine what can actually spawn.
Size scaling sums the horizontal footprints of the generated rooms and corridors. It includes custom interiors and avoids counting empty gaps between rooms. Bounds are an estimate of the room area: irregular shapes, rooms containing multiple floors, and unusual author bounds can make it imperfect. If size data is unavailable, the base multiplier still works. The mod does not guarantee an item in every room or create new loot spawn points.
The host adjusts the already-rolled count, preserving the moon's item pool, normal item-value rules, existing weather/other-mod modifiers, and normal network synchronization. It never permanently changes a moon's min/max scrap values or a shared multiplier, so the boost does not compound between landings. Interior-specific bonus items and items spawned separately by other mods are additional to these limits. If another mod already requests more items than the limit, this mod leaves that higher count intact. The minimum also applies to a roll of zero on a loot-enabled moon with an item pool. The Company, loot-disabled destinations, and empty item pools are left alone. Disabling Enable loot boost also disables the minimum.
The host log prints Loot boost: 8 -> 20 normal scrap items (with the actual counts and estimated area for that landing). More objects can cost performance, so the item limit also caps the minimum. Other loot-boosting mods can combine with this one; adjust their settings or this mod's limits to taste.
Loading bar
A compact bar appears near the bottom of the screen when a moon begins loading. It shows scene loading, building corridors, adding side rooms, placing rooms, finishing the level, and waiting for the crew/host. An elapsed timer stays visible, with an attempt number if the interior generator retries.
The bar advances through loading stages, not a percentage of estimated time remaining. Scene loading uses Unity's reported progress within its stage. Interior generation can backtrack or restart, so the bar can return to the start of the generation stage when a new attempt begins. It fills completely only when the game begins its ship-landing sequence, then hides automatically. Company landings work without an interior-generation stage.
During scene loading, the display can show the crew's scene-ready count. Once interiors are generated, the host can see how many players have finished; other clients see that their own interior is ready while waiting for the host. This display does not add networking or require the rest of the lobby to install it.
Heavy navigation building or synchronous work from other mods can briefly freeze the UI. The bar reports the current stage; it does not speed up loading or repair a failed generation. If DunGen explicitly reports failure, the display shows that instead of marking the level ready. Some game/mod failures do not emit such a status and can leave the last loading stage visible.
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 loading display observes the main dungeon generator's existing events and the game's scene/finalization callbacks. It does not replace loading coroutines, change navigation baking, modify scene activation, or send additional network messages. An error in this optional display disables it without disabling interior selection.
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, LethalLevelLoader, and LethalConfig DLLs. Its headless checks exercise the production selection policy, settings, menu registration, and adapter using names extracted from installed asset bundles: equal pools across all inspected moons, zero-weight interiors, vanilla and custom checkboxes, disabling and re-enabling, migration, all-disabled landing prevention, future interiors, stable ordering, and terminal/landing consistency. Loading-state checks cover retries, delayed events, scene/crew waits, Company landings, completion, failure, cancellation, and consecutive loads. A separate harness checks config persistence and removal of the retired list using the actual installed BepInEx assembly.
A metadata harness also checks the private Harmony target names/arguments, generator events, and scrap-count instruction sequence against the installed assemblies. Loot checks cover size-based counts, minimum quantities, conflicting limits, zero rolls, malformed bounds, existing higher counts, repeated landings, and menu permissions. The real BepInEx config harness also checks minimum-quantity persistence, range limits, and upgrades without losing previous settings. A separate harness executes the rewritten count instructions using the installed Harmony assembly and checks safe fallback behavior. These checks do not substitute for a live Unity generation, visual check, 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
dotnet run --project .\hook-checks\HookChecks.csproj -c Release '-p:ProfileDir=C:\path\to\your\mod\profile' -- .\EqualInteriors\bin\Release\netstandard2.1\EqualInteriors.dll 'C:\Games\Lethal Company' 'C:\path\to\your\mod\profile'
dotnet run --project .\loot-patch-checks\LootPatchChecks.csproj -c Release '-p:ProfileDir=C:\path\to\your\mod\profile'
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.