You are viewing a potentially older version of this package. View all versions.
Maflingus-TruckLoot-1.0.3 icon

TruckLoot

Your valuable items persist across levels! Keep items in your truck and find them where you left them when you return. Only the host needs to install this mod for it to work for everyone.

Date uploaded 10 months ago
Version 1.0.3
Download link Maflingus-TruckLoot-1.0.3.zip
Downloads 5018
Dependency string Maflingus-TruckLoot-1.0.3

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
Zehs-REPOLib-1.4.2 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 1.4.2

README

TruckLoot

Description

TruckLoot lets you keep your valuable items between levels by saving them in your truck. Only the host needs to have the mod installed. No more losing your prized possessions when changing locations - items stay exactly where you left them in the truck, making item collection and management more immersive and rewarding!

Features

  • 📦 Persistent Valuables: Items in your truck remain there between level transitions
  • 🔄 Exact Positioning: Items stay in the exact position you left them
  • 💰 Value Preservation: Item values are maintained perfectly between levels
  • 🔍 Auto-Discovery: Items are automatically marked as discovered when they persist
  • 🛡️ Safe Placement: Prevents items from clipping into floors or walls (WIP -- Some items might still disappear!)
  • 🛒 Shop Compatibility: Works with shop levels and standard gameplay levels
  • 🎮 Multiplayer Support: Fully compatible with multiplayer sessions
  • 🧩 Mod Compatibility: Works with REPOLib

Installation

Requirements

  • BepInEx 5.4.x or later
  • REPOLib 1.4.2 or later (recommended, but mod will work without it)

Installation Steps

  1. Make sure BepInEx is installed
  2. Install REPOLib (optional but recommended for full functionality with modded items)
  3. Extract the mod archive into your BepInEx/plugins folder
  4. Launch the game and enjoy persistent items in your truck!

How It Works

  1. Place valuable items inside your truck
  2. When changing levels, TruckLoot will save the state of those items
  3. Upon returning to the truck in a new level, your items will appear exactly as you left them
  4. If items somehow end up in invalid positions, TruckLoot will automatically find safe positions for them

Mod Behavior

  • Items are only saved if they are inside the truck when you leave a level
  • Items are not saved when failing a level or entering an arena/boss level
  • The mod automatically handles multiplayer sessions, ensuring items appear for all players
  • TruckLoot prevents items from spawning inside objects or clipping through floors

Compatibility

This mod should be compatible with most other mods as it only affects the persistence of valuable items. It works in both single-player and multiplayer.

REPOLib Compatibility

TruckLoot has special integration with REPOLib to support modded items.

Known Issues

  • Some items still glitch out of the truck, avoid placing near the truck walls/edges for now.

Credits

  • Created by Maflingus
  • Thanks to the REPOLib team for their valuable item framework
  • Thanks to the BepInEx team for their amazing modding framework

Changelog

v1.0.0

  • Initial release
  • Added item persistence between levels
  • Added safe positioning system
  • Added arena level detection
  • Added REPOLib integration for modded items
  • Added multiplayer support

License

This mod is released under the MIT License. See LICENSE file for details.

Support

If you encounter any issues or have suggestions, please submit bug reports to @Maflingus on Discord.


Enjoy keeping your treasures! 💎