EntranceTeleportOptimizations is a focused on the performance of the EntranceTeleport system (FireExits & Main).
It improves performance during teleport usage and dungeon generation when using mods like Loadstone.
All EntranceTeleport instances are cached in an internal list upon spawn and removed on destroy.
This replaces expensive GetObjectsByType<EntranceTeleport>() calls with fast, direct list access.
EntranceTeleport searches for its exitPoint on every use, which is costly.RoundManager.SetExitIDs).Some custom interiors use incorrect prefabs for FireExits with already-assigned IDs ( should be ID 1 except main that should have ID 0 ).
This can cause issues like:
This mod forces all interior teleports to use ID 1, so the vanilla game can assign IDs correctly.
The vanilla game sometimes creates an NRE spam when an enemy is destroyed without being removed from the internal SpawnedEnemyList
This mod adds a null check to prevent this exception
[Near activity detected!]If enabled, the mod renames interior EntranceTeleports to match their exterior counterpart, appending (Interior) for clarity.
This mod is intended to be installed using a mod manager such as Gale.
Manual installation is not officially supported.