TolgaFlashTR-ItemUnstuck icon

ItemUnstuck

Detects valuables stuck in world geometry and relocates them to safe spawn slots. Includes optional HUD notifications, shows a valuable's initial (undamaged) value on grab, and can keep valuables invulnerable until first grab.

Last updated 4 hours ago
Total downloads 127
Total rating 0 
Categories Mods Valuables Server-side
Dependency string TolgaFlashTR-ItemUnstuck-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2304

README

ItemUnstuck

Detects valuables that spawn stuck inside world geometry and relocates them to a free valuable spawn slot. Also applies a short invincibility window after spawn.

Features

  • Spawn-slot aware relocation: moves stuck valuables to another recorded ValuableVolume slot that isn’t occupied
  • Invincibility window: makes valuables temporarily indestructible right after spawn (configurable)
  • HUD notification (optional): shows a message when valuables were relocated
  • Value diagnostics: logs baseline total value vs. after-scan totals (helps spot value loss)

How it works (high level)

  • Records valuable spawn slots during level setup (before the game destroys ValuableVolume objects).
  • After the level finishes setting up volumes, scans all ValuableObject instances.
  • Uses physics overlap checks to detect valuables embedded in world colliders.
  • Teleports stuck valuables to a free recorded slot (master-client only in multiplayer).

Configuration

Config file:

  • BepInEx\config\Tolga.ItemUnstuck.cfg

Notable settings:

  • Enable
  • EnableRelocation
  • ScanDelaySeconds
  • HudNotifications
  • ShowInitialValueOnGrab
  • InvulnerableUntilGrab
  • FallThroughRecoveryEnabled
  • RestoreValueToInitial

Advanced tuning settings are grouped under sections like:

  • Advanced.Invulnerability
  • Advanced.StuckDetection
  • Advanced.MotionProbe
  • Advanced.FallThrough
  • Advanced.DamageFlow
  • Advanced.Relocation

Installation

Thunderstore (recommended)

Install with Thunderstore Mod Manager and launch the game.

Manual

  1. Install BepInEx 5
  2. Copy the DLL to:
  • R.E.P.O.\BepInEx\plugins\ItemUnstuck\ItemUnstuck.dll

Dependencies

  • BepInEx-BepInExPack-5.4.2304

Multiplayer notes

  • Relocation runs on the master client to avoid desync.

Special thanks

  • teragos — for helping test the mod!