ChestLootOverride
A BepInEx mod that allows you to override chest loot based on chest number.
By Rofliex
| Last updated | 3 weeks ago |
| Total downloads | 1415 |
| Total rating | 1 |
| Categories | Mods |
| Dependency string | Rofliex-ChestLootOverride-1.0.2 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.738README
ChestLootOverride
A BepInEx mod that allows you to override chest loot based on chest number.
Features
- Override loot for any chest by its number (1st, 2nd, 3rd, etc.)
- Unlimited chest configurations
- Simple configuration file
Installation
- Make sure BepInEx is installed
- Download the latest release
- Copy
dlltoBepInEx\plugins - Launch the game once to generate the config file
- Close the game and edit the config
Configuration
After the first launch, you'll find the config at:
BepInEx\config\com.Rofliex.ChestLootOverride.cfg
Example Configuration
[General]
EnableMod = true
[ChestOverrides]
Chest1Item = CreditCardGreen
Chest2Item = SuckyMagnet
Chest3Item = Anvil
Chest4Item = SoulHarvester
Chest10Item = Kevin
Note: These are the default values. You can change them or add more chest entries.
How It Works
- The mod counts chests as you open them (1st, 2nd, 3rd, etc.)
- When you open a chest that's configured, the specified item is added to your inventory
- You can configure any chest number - they don't need to be sequential
- Use
Noneto skip a chest or simply don't add an entry for it
Available Items
Use exact item names from the EItem enum, such as:
CreditCardGreenSuckyMagnetAnvilSoulHarvester- etc.
Note: If you use an incorrect item name, the mod will log a warning and skip that chest.
Building From Source
Requirements
- .NET 6.0 SDK
- BepInEx installed in your game directory
- Set
BEPINEX_DIRenvironment variable to your game folder
Build Steps
You should change the path for where you have BepInEx installed in Directory.Build.props
# Build the project
dotnet build
# DLL will be automatically copied to BepInEx\plugins