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.
GuaranteeApparatus
Guarantees apparatus coverage in Lethal Company v73 dungeons with safe post-generation validation and deterministic vanilla fallback.
| Date uploaded | 3 months ago |
| Version | 1.0.0 |
| Download link | Squirticulous-GuaranteeApparatus-1.0.0.zip |
| Downloads | 36 |
| Dependency string | Squirticulous-GuaranteeApparatus-1.0.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
GuaranteeApparatus
GuaranteeApparatus is a BepInEx plugin for Lethal Company v73 that guarantees apparatus coverage without mutating the dungeon graph.
What It Does
- Runs host-only after dungeon generation.
- Classifies interiors as
Vanilla,KnownCustom, orUnknownCustom. - Detects known custom apparatus systems before accepting any vanilla
LungProp. - Starts with explicit support for
LC_Office. - Attempts a pre-generation vanilla apparatus-room tile injection on vanilla interiors using a tile discovered from the vanilla factory flows.
- Spawns at most one real vanilla fallback Apparatus when the config allows it and no valid apparatus path already exists.
- Avoids tile injection, doorway rewiring, and other DunGen mutation.
Config
Config file: BepInEx/config/squirt.guaranteeapparatus.cfg
EnabledVerboseLoggingRespectCustomApparatusRespectUnknownCustomApparatusSpawnFallbackWhenUnknownCustomHasNoDetectedApparatusGenerateScanNodesForDetectedCustomApparatusForceVanillaFallbackOnKnownCustomInteriorsEnableVanillaSetpieceFallbackMinimumEntranceDistanceFactoryFlowPatterns
Compatibility Notes
- Target game version:
v73 - Compatible with
LethalLevelLoader1.5.x-style runtime environments - Fallback uses the real vanilla
LungProp/Apparatusprefab so normal pickup hooks such as Facility Meltdown listeners still see a vanilla apparatus object EnableVanillaSetpieceFallbackis disabled by default because runtime prefab discovery can select modded interior asset bundles instead of a true vanilla apparatus machine- The pre-generation apparatus-room injection currently runs only for non-custom interiors. Custom interiors still use the post-generation custom detection and fallback pipeline
Packaging
Run this from the project folder to stage the package contents for r2modman import:
powershell -ExecutionPolicy Bypass -File .\stage-package.ps1
That script rebuilds the plugin and copies GuaranteeApparatus.dll into package/BepInEx/plugins/GuaranteeApparatus/.
CHANGELOG
Changelog
1.0.1
Mod garuntee aparatus. Mod also play nice with modded interrior that have own aparatus.