You are viewing a potentially older version of this package. View all versions.
Squirticulous-GuaranteeApparatus-1.0.0 icon

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-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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, or UnknownCustom.
  • 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

  • Enabled
  • VerboseLogging
  • RespectCustomApparatus
  • RespectUnknownCustomApparatus
  • SpawnFallbackWhenUnknownCustomHasNoDetectedApparatus
  • GenerateScanNodesForDetectedCustomApparatus
  • ForceVanillaFallbackOnKnownCustomInteriors
  • EnableVanillaSetpieceFallback
  • MinimumEntranceDistance
  • FactoryFlowPatterns

Compatibility Notes

  • Target game version: v73
  • Compatible with LethalLevelLoader 1.5.x-style runtime environments
  • Fallback uses the real vanilla LungProp/Apparatus prefab so normal pickup hooks such as Facility Meltdown listeners still see a vanilla apparatus object
  • EnableVanillaSetpieceFallback is 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.