yan-Second_Exterior_Ship_Ladder_Fix icon

Second Exterior Ship Ladder Fix

Fixes the second-floor exterior ship ladder failing to climb when 2 sToRy ShIp v2.2.14 and Wider Ship Mod v1.4.3 are installed together. The [E] prompt appears, but pressing E won't start climbing.

By yan
Last updated 5 hours ago
Total downloads 16
Total rating 0 
Categories Bug Fixes Tweaks & Quality Of Life AI Generated
Dependency string yan-Second_Exterior_Ship_Ladder_Fix-0.4.5
Dependants 0 other packages depend on this package

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

Second Exterior Ship Ladder Fix

A small BepInEx plugin for Lethal Company that fixes a specific ladder interaction failure when 2 sToRy ShIp v2.2.14 and Wider Ship Mod v1.4.3 are installed together.

What this fixes

In the tested 2 sToRy ShIp v2.2.14 + Wider Ship Mod v1.4.3 combination, the second-floor exterior ladder's [E] prompt appears, but pressing E does not start climbing. The primary/reference exterior ladder remains usable. The observed cause was the player's PlayerControllerB.isInHangarShipRoom flag causing vanilla InteractTrigger.Interact to return before the normal ladder-start path. This package is specifically for that combined ship-mod setup, not a general fix for every ladder or ship layout.

For the exact ladder hierarchy Environment/HangarShip/OutsideShipRoom0/Ladder/LadderTrigger, this plugin temporarily bypasses that room-check gate during the synchronous vanilla interaction call, then restores the player's original flag immediately afterward, including through an exception finalizer safeguard.

Vanilla still performs the obstruction check and starts the climbing coroutine. The plugin does not force climbing flags, move the player, or edit the ship prefab.

Requirements

  • Lethal Company
  • BepInEx 5 (BepInExPack is declared as a package dependency)
  • The affected ship-ladder hierarchy must be present; on other ship layouts, the targeted room-gate bypass is not applied.

Tested setup and compatibility status

The fix has passed repeated upper-ladder climb tests and a user-reported game restart in this setup:

  • 2 sToRy ShIp v2.2.14
  • Wider Ship Mod v1.4.3

The upper-ladder interaction was also tested with ReXuvination, CodeRebirth, and BasedDecorPlacement enabled together in the test profile; the upper ladder was successfully climbed during those checks. This is a focused interaction test, not a guarantee of compatibility with every version, configuration, or feature of those mods. If the ladder fails in another setup, please report the game version, relevant ship mods, and BepInEx/LogOutput.log.

Logs

The plugin writes concise messages for the targeted room-gate bypass and interaction result. It does not enable the earlier verbose transform/collider dump by default.

Scope

This is a focused compatibility fix for the specific duplicated upper exterior ship ladder. It does not alter moon/interior ladders or bundle the ship mods themselves.

AI assistance disclosure

ChatGPT (OpenAI) was used as a development assistant to investigate this interaction issue and generate or modify portions of the plugin's C# code. The resulting build was tested in-game with the ship-mod setup and compatibility mods listed above. This disclosure describes AI assistance during development; it does not imply compatibility beyond the tests documented here.